Comments (4)
I guess in first approach we could add a "More..." button next to the ecoscore attribute, that would simply display https://world-fr.openfoodfacts.org/api/v0/product/0634065322366.json?fields=environment_infocard,ecoscore_grade with a flutter html renderer like flutter_html: ^2.1.0
(or a more limited package like html: ^0.15.0
)
from smooth-app.
@stephanegigandet Apparently there's no eco data received from our keyword and category query from smoothie.
from smooth-app.
The current display on the website is not always user friendly (eg: Jar Ratio 1 - Glass Score 0,85).
- We could theoretically bind it from the API, but I feel it's a lot of complication for little value.
- A very easy solution we use in the classic apps is the environment html field I described in https://docs.google.com/document/d/1_5AeofpXbaKY9Rd3eeWmHIrhJE8GiPQ-Mfx1SCvpzME/edit?usp=sharing
- https://world-fr.openfoodfacts.org/api/v0/product/0634065322366.json?fields=environment_infocard,ecoscore_grade
HTML explanation. You can get the localized version by changing world-fr into world-de
from smooth-app.
Done by #423.
@stephanegigandet Feel free to create a new issue if you want a more refined display.
from smooth-app.
Related Issues (20)
- Reported bug HOT 1
- Tag V3 KO in some bright/dark configuration
- Misleading currency icon?
- Shouldn't we update the first page of the onboarding?
- Home page "nutriscore v2" link goes to "page error" HOT 4
- Remove irrelevant page on the onboarding? HOT 1
- (Easily dismissed) Grey screen in some cases for receipt scanning HOT 2
- Automatic warning when adding an old receipt with today's date
- Handle cases where the product is not found (for price addition)
- Integrate Nutri-Patrol at various relevant places in the app (tracker) HOT 2
- [Bug ?] When there is no photo, the button ask me for "another" photo HOT 4
- Locked products HOT 4
- Add an option to spellcheck and grammarcheck the OCR fields and product name using OS level systems HOT 2
- Allow starring stores
- Add custom fields to the nutrition input form based on the category (eg for waters, chocolate, alcohol)
- Attempt getting Robotoff predictions during product addition HOT 1
- Price-adding improvements
- [Enhancement] Improving background tasks HOT 1
- Upgrade macOS deployment target to 10.13
- Offer the possibility to search price location by node/way/relation ID
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 smooth-app.