Code Monkey home page Code Monkey logo

Comments (10)

teolemon avatar teolemon commented on September 13, 2024

Example with E301

http://world.openfoodfacts.org/additive/e301-sodium-ascorbate.json
http://world.openfoodfacts.org/additive/e301-sodium-ascorbate.xml

from openfoodfacts-androidapp.

teolemon avatar teolemon commented on September 13, 2024

The idea is more than having popups. It would be moving to a whole new view, much like we do on the web.

from openfoodfacts-androidapp.

herau avatar herau commented on September 13, 2024

@teolemon can you have a more detail specification ?
If i select a field from a product, then we should display only a list view with all associated products ? or a more complicated view, like in openfoodfacts website, with sometimes a nutritional summary of all products

from openfoodfacts-androidapp.

teolemon avatar teolemon commented on September 13, 2024

This depends on #66

from openfoodfacts-androidapp.

teolemon avatar teolemon commented on September 13, 2024

in a first iteration, just all products with the criteria, and then we could add the averages…
It's a view reading the associated JSON.
So say the product has E301, on clicking it would display a new view with a list of product from http://world.openfoodfacts.org/additive/e301-sodium-ascorbate.json

from openfoodfacts-androidapp.

teolemon avatar teolemon commented on September 13, 2024

Having more complex view for some criteria present challenges like location (perhaps adding a map), categories (adding a table with the averages, which should be present in the JSON)…

from openfoodfacts-androidapp.

teolemon avatar teolemon commented on September 13, 2024

Also, we can imaging letting the user combine criteria just like on the web, but it's not a priority.

from openfoodfacts-androidapp.

herau avatar herau commented on September 13, 2024

ok i get it. i will working on #66

from openfoodfacts-androidapp.

teolemon avatar teolemon commented on September 13, 2024

#66 closed.
The simple way would be to reuse the view created for search, using the various jsons.
http://world.openfoodfacts.org/additives.json
http://world.openfoodfacts.org/additive/e301-sodium-ascorbate.json

from openfoodfacts-androidapp.

Karljoones avatar Karljoones commented on September 13, 2024

I am going to close this as you have split it into individual issues

from openfoodfacts-androidapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.