-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: display score without durability (#815)
## 🔧 Problem Summing the scores of each step doesn't match the score displayed in the sidebar. Ineed, the main score displayed in the sidebar takes into account the durability (=totalImpacts score/durability) but the scores displayed for each step doesn't take into account the durability. This is confusing. [Notion card ](https://www.notion.so/Ajouter-le-score-hors-durabilit-ebd0fec910fa408491fec616923edca3) ## 🍰 Solution Display, below the actual score, the score without the durability taken into account. ## 🏝️ How to test - Go on the textile tab - Choose "T-shirt coton (150g) - Majorant par défaut" - Check that 2 scores are displayed in the sidebar, "1 854 Pts" and "1 242 Pts hors durabilité" ![Screenshot 2024-10-28 at 11-33-50 Simulateur Ecobalyse](https://github.com/user-attachments/assets/7adf7668-087e-43bb-adee-2f619d8ec525) - Check that 1242 is the sum of all the impacts scores of each step: 486+1.96+48.40+3.25+43.64+1.63+396+1.63+38.10+65.07+1.18+114+41.73=1242.59 ![Screenshot 2024-10-28 at 11-34-01 Simulateur Ecobalyse](https://github.com/user-attachments/assets/1266e1f3-db54-41e7-b4ca-4f284bbbb723)
- Loading branch information
Showing
8 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters