Skip to content

Commit

Permalink
Correction URL (#91)
Browse files Browse the repository at this point in the history
* Show simulation in table

* Change message no token

* Update DataCarbon

* WIP: check all servers

* Revert "WIP: check all servers"

This reverts commit 286654c.

* Integrate optional Call ApiCo2Signal (#82)

* Show simulation in table (#77)

* Change message token Co2Signal (#78)

* Show simulation in table

* Change message no token

* Integrate optional Call ApiCo2Signal

* Add cache for intensity and location

* Feature #80 results per servers localisation (#83)

* Data reception and sorting ok

* WIP insert new card

* WIP insert new card

* WIP insert new card

* WIP insert new card

* Style

* Messages

* #80 : review html markup, only show resources names

* Change bottom message for show/hide urls

* Move buttom

---------

Co-authored-by: OlivierCamon <[email protected]>

* Css Change

* nitpick : removed duplicated code (#84)

* Feature #79 compute average carbon intensity of server requests by location (#85)

* Change model of calcul

* Change model of calcul

* #86 new cards summarize data (#87)

* Update next version

* Reorganisation .svelte

* Add summary cards

* Clean old code

Co-authored-by: OlivierCamon <[email protected]>

* Clean old code

Co-authored-by: OlivierCamon <[email protected]>

---------

Co-authored-by: OlivierCamon <[email protected]>

* Change summary title

* Add runner idea

* Refresh icon received action

* Correction for site without www

* Update version

* Update change style

---------

Co-authored-by: boukhalfa.zahout <[email protected]>
Co-authored-by: OlivierCamon <[email protected]>
Co-authored-by: OlivierCamon <[email protected]>
  • Loading branch information
4 people authored Jul 15, 2024
1 parent d02c03b commit 930621b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/Parcours.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@
};
const onActionSave = async (component?: string) => {
document.getElementsByClassName("received")[0].style = '';
const receive = document.querySelector<HTMLElement>('.received');
if (receive){
receive.style.display = '';
}
logDebug('Save ' + component);
await measureAcquisition.getNetworkMeasure(false);
const measure = await measureAcquisition.getGESMeasure(serverSearch, userSearch);
Expand All @@ -66,7 +69,9 @@
if (measure) {
results = [...results, measure];
}
document.getElementsByClassName("received")[0].style = 'display: block';
if (receive){
receive.style.display = 'block';
}
measureAcquisition.applyLatest();
};
Expand Down

0 comments on commit 930621b

Please sign in to comment.