-
-
Notifications
You must be signed in to change notification settings - Fork 447
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
adds prompt for missing info related to Eco-Score (solves issue 3624) #3644
Conversation
@stephanegigandet we'd need an |
@kartikaysharma01 can you add a quick screenshot ? |
...penfoodfacts/github/scrachx/openfood/features/product/view/summary/SummaryProductFragment.kt
Outdated
Show resolved
Hide resolved
and for the others, text rather than buttons, below the "Take additional photos" button ? |
I agree, @kartikaysharma01 do you want to proceed? Any comment? |
@kartikaysharma01 needs rebase |
98d9bcb
to
624975f
Compare
Description Related issues Screenshots
On clicking the mail text:- |
@VaiTon Please review this. |
...penfoodfacts/github/scrachx/openfood/features/product/view/summary/SummaryProductFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/openfoodfacts/github/scrachx/openfood/features/shared/views/TipBox.kt
Show resolved
Hide resolved
app/src/main/java/openfoodfacts/github/scrachx/openfood/features/shared/views/TipBox.kt
Show resolved
Hide resolved
@kartikaysharma01 push new changes and we can merge! 🎉 |
2f7a27b
to
10c27be
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@VaiTon pushed the changes. |
@VaiTon Is there any other change to be made?? |
Description
adds prompt for missing info related to Eco-Score.
I have additionally added the following condition, feel free to remove it if required.
if (nutrition-facts-to-be-completed && categories-completed in states) && ecoscore == null
"Eco-Score could not be computed for this product. Add nutrition facts to compute the Nutri-Score"
Related issues
Fixes #3624
Fixes #3710
Related PRs
Screenshots