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

Information related to Nutri-score and Nova should be available offline #2238

Open
CharlesNepote opened this issue Feb 19, 2019 · 7 comments

Comments

@CharlesNepote
Copy link
Member

Summary:

It is annoying to have to go online to see Nutri-Score or Nova information page. It doesn't work in offline mode and may takes many seconds depending on network quality.

Expected behavior:

This pages could be part of the app. They should be shorter than the website ones.

@subhanjansaha
Copy link
Contributor

I would like to work on this.

@teolemon
Copy link
Member

@CharlesNepote @stephanegigandet Those should be updatable over the air (cached on the device, and updatable on the fly)

@teolemon
Copy link
Member

image

@VaiTon
Copy link
Member

VaiTon commented Aug 24, 2019

image

Love it! <3

@huzaifaiftikhar
Copy link
Member

Is the content on the dialog static? Learn more button would redirect to the same URL that we are redirecting to currently?

@teolemon
Copy link
Member

teolemon commented Oct 7, 2019

I was thinking we could return a JSON file with some HTML into it. That way we can update the file and its translations on the fly

Here's an example on another topic (the nutrition table)
https://world.openfoodfacts.org/api/v0/product/3302749508029.json?fields=nutrition_table_html

@teolemon
Copy link
Member

teolemon commented Oct 7, 2019

I've opened a server side issue with a sample:
openfoodfacts/openfoodfacts-server#2408

@teolemon teolemon added P2 and removed hacktoberfest labels Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants