Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add LCA icon in Eco-Score panel #8585

Merged
merged 3 commits into from
Jun 27, 2023
Merged

fix: add LCA icon in Eco-Score panel #8585

merged 3 commits into from
Jun 27, 2023

Conversation

stephanegigandet
Copy link
Contributor

Add an icon in the Eco-Score subpanel for LCA.

Note that the LCA icon is always grey, as we currently have a mechanism only to change the color according to a good/average/bad evaluation, but not to a A to E grade color.

Fixes #8563

image

@stephanegigandet stephanegigandet requested a review from a team as a code owner June 19, 2023 13:45
@github-actions github-actions bot added Agribalyse French LCA database used in Eco-Score computations 🌱 Green-Score https://world.openfoodfacts.org/eco-score-the-environmental-impact-of-food-products 📖 Knowledge Panels https://wiki.openfoodfacts.org/Knowledge_panels Template::Toolkit The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes. labels Jun 19, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jun 19, 2023

Codecov Report

Merging #8585 (5c252fd) into main (4f899b5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #8585   +/-   ##
=======================================
  Coverage   48.79%   48.79%           
=======================================
  Files         114      114           
  Lines       21475    21475           
  Branches     4804     4804           
=======================================
  Hits        10478    10478           
  Misses       9705     9705           
  Partials     1292     1292           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions github-actions bot added API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 🧪 integration tests 🧪 tests 💥 Merge Conflicts 💥 Merge Conflicts labels Jun 19, 2023
@stephanegigandet
Copy link
Contributor Author

@teolemon can we merge this? it's likely to generate more merge conflicts if we wait

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions github-actions bot removed the 💥 Merge Conflicts 💥 Merge Conflicts label Jun 27, 2023
@teolemon teolemon merged commit 52498c5 into main Jun 27, 2023
@teolemon teolemon deleted the ecoscore-lca-icon branch June 27, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agribalyse French LCA database used in Eco-Score computations API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 🌱 Green-Score https://world.openfoodfacts.org/eco-score-the-environmental-impact-of-food-products 🧪 integration tests 📖 Knowledge Panels https://wiki.openfoodfacts.org/Knowledge_panels Template::Toolkit The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes. 🧪 tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The LCA icon seems to have disappeared
3 participants