-
-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add explanation with category in the Nutri-Score and Eco-Score …
…knowledge panels when not applicable (#6844) * not-applicable ecoscore and nutriscore attributes and panels #6092 #6774 * not-applicable ecoscore and nutriscore attributes and panels #6092 #6774 * not-applicable ecoscore and nutriscore attributes and panels #6092 #6774 * Update lib/ProductOpener/Lang.pm Co-authored-by: Alex Garel <[email protected]> * add test for category exempted from ecoscore Co-authored-by: Alex Garel <[email protected]>
- Loading branch information
1 parent
111e0af
commit 1c95c8a
Showing
13 changed files
with
298 additions
and
25 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
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
21 changes: 21 additions & 0 deletions
21
t/expected_test_results/ecoscore/exempted-category-sodas.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"categories_tags" : [ | ||
"en:sodas" | ||
], | ||
"ecoscore_data" : { | ||
"adjustments" : {}, | ||
"ecoscore_not_applicable_for_category" : "en:sodas", | ||
"status" : "unknown" | ||
}, | ||
"ecoscore_grade" : "not-applicable", | ||
"ecoscore_tags" : [ | ||
"not-applicable" | ||
], | ||
"lc" : "en", | ||
"misc_tags" : [ | ||
"en:ecoscore-extended-data-not-computed", | ||
"en:ecoscore-not-applicable", | ||
"en:ecoscore-not-computed" | ||
], | ||
"packagings" : [] | ||
} |
Oops, something went wrong.