Open stephanegigandet opened 3 years 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
The scoring and ranking of search products according to user preferences is currently done in 2 functions in https://github.com/openfoodfacts/openfoodfacts-server/blob/master/html/js/product-search.js
In order to make it easier for other apps and sites (e.g. the OFF browser extensions) to personalize search ranking, we could publish those 2 functions in a separate JS library that we could then publish on NPM.