openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
http://openfoodfacts.github.io/openfoodfacts-server/
GNU Affero General Public License v3.0
653 stars 381 forks source link

NEW DESIGN - Robotoff questions looks out of place #7513

Open teolemon opened 2 years ago

teolemon commented 2 years ago

What

Screenshot

image

Code pointers

Part of

Sakshamgupta90 commented 1 year ago

Hi, can I work on this issue?

Sakshamgupta90 commented 1 year ago

Hi, I want to know how to see the robot off question on the website. I couldn't able to see it.

alexgarel commented 1 year ago

@Sakshamgupta90 go to https://robotoff.openfoodfacts.org/api/v1/questions/unanswered and pick some product barcode, then go on this product page.

You have the same for .net (staging) environment https://robotoff.openfoodfacts.net/api/v1/questions/unanswered (then look at https://world.openfoodfacts.net/)

Sakshamgupta90 commented 1 year ago

@alexgarel, in the localhost I couldn't able to see the robotoff banner but I can see it in the original website for the same product. What to do now?

alexgarel commented 1 year ago

@Sakshamgupta90 as this is mostly CSS, you can tweak rules in firefox. If that looks ok, propose a PR :-)

To reproduce it locally, change ROBOTOFF_URL= to https://robotoff.openfoodfacts.org in your .env (or .envrc if you are using direnv)

github-actions[bot] commented 9 months ago

This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description… Thank you very much for your contribution to 🍊 Open Food Facts

abbyrhart commented 6 months ago

If this hasn't been finished, can I work on it?

hangy commented 6 months ago

If this hasn't been finished, can I work on it?

It's up for grabs! The style is defined a bit differently than the rest of the website: It's all contained in a custom web component: https://github.com/openfoodfacts/openfoodfacts-server/blob/34a46b891c1a7195a5d424cc991d309c8f269b31/html/js/display-product.js#L38