diff --git a/.vscode/settings.json b/.vscode/settings.json index 7e1de1af..5bc8d200 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,10 +2,5 @@ "typescript.tsdk": "node_modules\\typescript\\lib", "editor.tabSize": 2, "files.eol": "\n", - "cSpell.words": [ - "apexcharts", - "ncstate", - "popover", - "treemap" - ] + "cSpell.words": ["apexcharts", "treemap"] } diff --git a/docs/components.md b/docs/components.md index a9478684..20cf781b 100644 --- a/docs/components.md +++ b/docs/components.md @@ -13,8 +13,6 @@ flowchart TB carbon-estimation`"] Assumptions["`AssumptionsAndLimitationComponent assumptions-and-limitation`"] - HelperInfo["`HelperInfoComponent - helper-info`"] Note["`NoteComponent note`"] ExpansionPanel["`ExpansionPanelComponent @@ -30,7 +28,7 @@ flowchart TB CarbonEstimator --> CarbonEstimatorForm & CarbonEstimation & Assumptions CarbonEstimatorForm ---> FormatCostRangePipe - CarbonEstimatorForm --> HelperInfo & Note + CarbonEstimatorForm --> Note CarbonEstimator & CarbonEstimatorForm ---> CarbonEstimationService CarbonEstimatorForm & CarbonEstimation --> ExpansionPanel CarbonEstimationService & Assumptions --> CarbonIntensityService @@ -57,10 +55,6 @@ Visualises the Carbon Estimation result. Provides information on the Assumptions and Limitations of the estimation. Uses the [CarbonIntensityService](services.md#carbonintensityservice) to get the latest carbon intensity figures to display. -## HelperInfoComponent - -Displays a help button which can be clicked to show extra details on how the form inputs are used. - ## NoteComponent Highlights assumptions that will be made when certain options are selected. diff --git a/package-lock.json b/package-lock.json index 5554f88d..21ec3499 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,6 @@ "@angular/platform-browser": "^17.2.0", "@angular/platform-browser-dynamic": "^17.2.0", "@angular/router": "^17.2.0", - "@ncstate/sat-popover": "^11.0.0", "@tgwf/co2": "^0.14.3", "lodash-es": "^4.17.21", "ng-apexcharts": "^1.9.0", @@ -3325,14 +3324,6 @@ "node": ">= 0.4" } }, - "node_modules/@ncstate/sat-popover": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/@ncstate/sat-popover/-/sat-popover-11.0.0.tgz", - "integrity": "sha512-xgdyopR3ehganWvlJ+gIepXRxhzc+d/4i3E/0nCq32IgUGTC5Sdyu7rGren5htoGS6C6Ux49fmGdQIoUdB9noQ==", - "dependencies": { - "tslib": "^2.3.0" - } - }, "node_modules/@ngtools/webpack": { "version": "17.3.6", "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-17.3.6.tgz", diff --git a/package.json b/package.json index 7e950873..41c70373 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ "@angular/platform-browser": "^17.2.0", "@angular/platform-browser-dynamic": "^17.2.0", "@angular/router": "^17.2.0", - "@ncstate/sat-popover": "^11.0.0", "@tgwf/co2": "^0.14.3", "lodash-es": "^4.17.21", "ng-apexcharts": "^1.9.0", diff --git a/src/app/carbon-estimator-form/carbon-estimator-form.component.html b/src/app/carbon-estimator-form/carbon-estimator-form.component.html index 0ea14939..5690c236 100644 --- a/src/app/carbon-estimator-form/carbon-estimator-form.component.html +++ b/src/app/carbon-estimator-form/carbon-estimator-form.component.html @@ -155,21 +155,22 @@ @if (!noDownstream) {
-
- - + +
+
+ +
+
+

The purpose of your digital services is used to determine the typical amount of time a user might spend - on them and the amount of data that may be transferred. + on them and the amount of data that may be transferred. This can affect the amount of energy used by end + user devices and how much energy from network traffic is attributable to your organisation

-

- This can affect the amount of energy used by end user devices and how much energy from network traffic - is attributable to your organisation -

- -
+
+
-
- - @if (helperText) { - -

- This will affect the average - Carbon Intensity - of the energy used by your {{ helperText }}. -

-
- } -
+ +
+
+ +
+
+
+

+ This will affect the average + Carbon Intensity + of the energy used by your {{ helperText }}. +

+
+