feat(ui): use subscript 2 in "CO₂" in user interface text#687
feat(ui): use subscript 2 in "CO₂" in user interface text#687
Conversation
Expected version change and release notes:1.9.0-dev.7 (v1.9.0-dev.6...use-subscript-2-ui ) (2025-12-19T17:44 UTC)Features
|
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://proud-glacier-0f640931e-687.westus2.2.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
This PR updates user-interface text to use the proper Unicode subscript character (₂) in "CO₂" throughout the codebase for better visual presentation. The changes affect tooltip descriptions, metric definitions, and schema documentation comments.
Key Changes:
- Updated tooltip text in tooltipUtils.ts to display CO₂ with subscript formatting
- Modified metric definitions in timeseriesTaxonomy.ts to use subscript notation
- Enhanced schema documentation comments in JSON schema files with proper subscript characters
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/utils/tooltipUtils.ts | Updated emissions scope tooltip keys and descriptions to use CO₂ subscript notation |
| src/utils/timeseriesTaxonomy.ts | Modified absolute emissions definition text to use CO₂ subscript |
| src/schema/pathwayTimeseries.v1.json | Updated schema description and comment fields to use CO₂ subscript for better documentation |
| src/schema/pathwayMetadata.v1.json | Enhanced carbon budget description with CO₂ subscript notation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://proud-glacier-0f640931e-687.westus2.2.azurestaticapps.net |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://proud-glacier-0f640931e-687.westus2.2.azurestaticapps.net |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://proud-glacier-0f640931e-687.westus2.2.azurestaticapps.net |
CO2vsCO₂) #560