Skip to content

Commit 4d51575

Browse files
authored
Changed wording for network infrastructure box (#608)
* Changed wording for network infrastructure box * Changed wordings to Energy for consistency
1 parent 8da580c commit 4d51575

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

frontend/js/helpers/config.js.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ METRIC_MAPPINGS = {
6262
'explanation': 'Machine CO2 calculated by formula via XGBoost estimation',
6363
},
6464
'network_energy_formula_global': {
65-
'clean_name': 'Network Energy',
65+
'clean_name': 'Network Transmission',
6666
'source': 'Formula',
67-
'explanation': 'Network Energy calculated by formula',
67+
'explanation': 'Estimated external energy cost for network infrastructure.',
6868
},
6969
'network_co2_formula_global': {
70-
'clean_name': 'Network CO2',
70+
'clean_name': 'Network Transmission CO2',
7171
'source': 'Formula',
72-
'explanation': 'Network CO2 calculated by formula',
72+
'explanation': 'Estimated external CO2 cost for network infrastructure.',
7373
},
7474
'lm_sensors_temperature_component': {
7575
'clean_name': 'CPU Temperature',

frontend/js/helpers/metric-boxes.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ class PhaseMetrics extends HTMLElement {
6565
</div>
6666
<div class="ui card network-energy">
6767
<div class="ui content">
68-
<div class="ui top blue attached label overflow-ellipsis">Network Energy <span class="si-unit"></span></div>
68+
<div class="ui top blue attached label overflow-ellipsis">Network Transmission Energy<span class="si-unit"></span></div>
6969
<div class="description">
7070
<div class="ui fluid mini statistic">
7171
<div class="value">
7272
<i class="battery three quarters icon"></i> <span>N/A</span>
7373
</div>
7474
</div>
75-
<div class="ui bottom right attached label icon" data-position="bottom right" data-inverted="" data-tooltip="Transfer cost of data through routers, data-centers and transmission networks.">
75+
<div class="ui bottom right attached label icon" data-position="bottom right" data-inverted="" data-tooltip="Estimated external energy cost for network infrastructure. See details under formula.">
7676
<u><a href="https://www.green-coding.berlin/co2-formulas/">via Formula</a></u>
7777
<i class="question circle icon"></i>
7878
</div>
@@ -103,14 +103,14 @@ class PhaseMetrics extends HTMLElement {
103103
</div>
104104
<div class="ui card network-co2">
105105
<div class="ui content">
106-
<div class="ui top black attached label overflow-ellipsis">Network CO2 <span class="si-unit"></span></div>
106+
<div class="ui top black attached label overflow-ellipsis">Network Transmission CO2 <span class="si-unit"></span></div>
107107
<div class="description">
108108
<div class="ui fluid mini statistic">
109109
<div class="value">
110110
<i class="burn icon"></i> <span>N/A</span>
111111
</div>
112112
</div>
113-
<div class="ui bottom right attached label icon" data-position="bottom right" data-inverted="" data-tooltip="Transfer cost of data through routers, data-centers and transmission networks.">
113+
<div class="ui bottom right attached label icon" data-position="bottom right" data-inverted="" data-tooltip="Estimated external CO2 cost for network infrastructure. See details under formula.">
114114
<u><a href="https://www.green-coding.berlin/co2-formulas/">via Formula</a></u>
115115
<i class="question circle icon"></i>
116116
</div>

0 commit comments

Comments
 (0)