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

Publish personal search product ranking code as separate external JS library #5028

Open
Tracked by #5513
stephanegigandet opened this issue Mar 22, 2021 · 1 comment
Labels
✨ Feature Features or enhancements to Open Food Facts server JavaScript personal search https://wiki.openfoodfacts.org/Project:Personalized_Search ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.

Comments

@stephanegigandet
Copy link
Contributor

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.

@stephanegigandet stephanegigandet added ✨ Feature Features or enhancements to Open Food Facts server JavaScript personal search https://wiki.openfoodfacts.org/Project:Personalized_Search labels Mar 22, 2021
@github-actions github-actions bot added the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Jun 21, 2021
@teolemon teolemon removed the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Jul 19, 2021
Copy link
Contributor

github-actions bot commented Feb 1, 2024

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

@github-actions github-actions bot added the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature Features or enhancements to Open Food Facts server JavaScript personal search https://wiki.openfoodfacts.org/Project:Personalized_Search ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.
Projects
Status: To discuss and validate
Development

No branches or pull requests

2 participants