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

Display the product barcode number, at least for the brand question game #550

Open
fabi003 opened this issue Feb 23, 2023 · 1 comment
Open
Labels
✨ Enhancement New feature or request good first issue Good for newcomers

Comments

@fabi003
Copy link

fabi003 commented Feb 23, 2023

Problem

If the brand is probably not known to robotoff, in the brand questions game, it would be helpful, to not having first to open the product page in another tab to see it. The reason it should be added to the displayed data fields, is that I have https://hunger.openfoodfacts.org/logos/search open in another tab and search for only the barcode number to see what robotoff knows and annotate the unknown logo.

Proposed solution

Just display the barcode number, at least for the brand question game.

@alexfauquette
Copy link
Member

Hi @fabi003

Sorry for the answer delay, I just discovered your issue while looking for another one 🫣

That's interesting. If someone want to add the feature, it's here , and the barcode is accessible in question?.barcode

https://github.com/openfoodfacts/hunger-games/blob/master/src/pages/questions/ProductInformation.jsx/#L88-L118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Enhancement New feature or request good first issue Good for newcomers
Projects
Status: To Discuss & Validate
Development

No branches or pull requests

3 participants