Comments (10)
Example with E301
http://world.openfoodfacts.org/additive/e301-sodium-ascorbate.json
http://world.openfoodfacts.org/additive/e301-sodium-ascorbate.xml
from openfoodfacts-androidapp.
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.
@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.
This depends on #66
from openfoodfacts-androidapp.
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.
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.
Also, we can imaging letting the user combine criteria just like on the web, but it's not a priority.
from openfoodfacts-androidapp.
ok i get it. i will working on #66
from openfoodfacts-androidapp.
#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.
I am going to close this as you have split it into individual issues
from openfoodfacts-androidapp.
Related Issues (20)
- Add suitable icons in `Preferences` HOT 5
- ProductSearch recycler view do not show data HOT 3
- addProductToCompare_shouldTrackRightAnalytics_whenProductsAddedToCompare() FAILED HOT 1
- Missing placeholder in the additives section. HOT 1
- Scaling Issue HOT 1
- Some query is failing when I try to access the History HOT 2
- The app is crashing at startup
- IllegalArgumentException: CreationExtras must have a value by `SAVED_STATE_REGISTRY_OWNER_KEY` HOT 1
- NullPointerException
- Hello to all that donated their time and knowledge for open source projects! You make us proud and humble to your work. HOT 2
- All nutrition levels shown as "fat" HOT 2
- Ensure that we don't report flavors as one app in Matomo
- When imageNames is called > it should return image names sorted by uploaded time() FAILED
- Upload refreshed versions with the new logos to the Amazon App Store
- Layouts in compose HOT 2
- We need to switch from ubuntu-18.04 environment to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead
- Red/Orange/Green comparative colors unusable if colorblind HOT 1
- Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option HOT 1
- Per Serving drop down doesn't calculate and adjust nutrition value from set quantity to the per serving
- Update your target API level by August 31, 2024 to release updates to your app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfoodfacts-androidapp.