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
658 stars 388 forks source link

Increase the number of tags displayed to 5 or 6 #5688

Open CharlesNepote opened 3 years ago

CharlesNepote commented 3 years ago

What

I often work on Nutri-Score labels: add them, fix them, etc. Unfortunately, the last tags proposed are only 3: when working on Nutri-Score or Eco-Score labels I have only 3 chances to have the label I want out of 6. image

Proposed solution

Increase the number of tags displayed to 5 or 6. Or at least 4.

Potential alternatives

Implementation

It's very easy to change: this number is defined by Javascript constant maximumRecentEntriesPerTag: https://github.com/openfoodfacts/openfoodfacts-server/blob/main/html/js/product-multilingual.js#L524

Part of

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 90 days with no activity.