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
GNU Affero General Public License v3.0
622 stars 363 forks source link

Add an entry in product navigation to jump to product improvements #10357

Closed alexgarel closed 2 weeks ago

alexgarel commented 2 months ago

Problem

We display product improvement opportunity in the producer platform to help producers have better products. The corresponding knowledge panel is displayed in the middle of the page and not easy to reach

Proposed solution

Add a "improvement" entry in the navbar that scrolls to the improvements knowledge panel

Code pointers

It should be easy to do, it's about adding the entry if the knowledge panel exists and have the right id on the panel for navigation to work.

Mockups

image

subi9 commented 2 months ago

@alexgarel Can you please suggest some products or links where improvement knowledge panel is present.

alexgarel commented 2 months ago

@subi9 it's also on producer platform. So you will really have to set it up locally ! See https://openfoodfacts.github.io/openfoodfacts-server/dev/how-to-develop-producer-platform/