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

Add support for Search-A-Licious #180

Open
VaiTon opened this issue Mar 1, 2025 · 6 comments
Open

Add support for Search-A-Licious #180

VaiTon opened this issue Mar 1, 2025 · 6 comments
Assignees
Labels

Comments

@VaiTon
Copy link
Member

VaiTon commented Mar 1, 2025

What

Add support for Search-A-Licious (https://github.com/openfoodfacts/search-a-licious)

How

We have more than one alternative. Either we use the web-components the search-a-licious project provides or we write our custom implementation.

The best way would be reusing the component, but I'm not sure we can do it in a clean way.

So we can:

  1. Try to integrate the web-components
  2. If it's too difficult / not clean enough we can write a custom Svelte component
@SyedImtiyaz-1
Copy link
Contributor

Hi @VaiTon ,
I want to work on this issue, please assign.
Also is there any npm cmd to install Seach-A-Licious ?

@SyedImtiyaz-1
Copy link
Contributor

I'll integrate Search-A-Licious into the Open Food Facts Explorer as per the requirements. Let me know if there are any specific guidelines to follow. Thanks!

@VaiTon
Copy link
Member Author

VaiTon commented Mar 2, 2025

We could start with creating another page to search products using search-a-licious, and then merge its usage into the main navbar

@SyedImtiyaz-1
Copy link
Contributor

@VaiTon Okay 👍🏻

@teolemon
Copy link
Member

teolemon commented Mar 4, 2025

@VaiTon @SyedImtiyaz-1 @alexgarel we have a webcomponent in the Search-A-Licious repository.
We must use it instead of reimplementing the wheel.

@VaiTon
Copy link
Member Author

VaiTon commented Mar 4, 2025

Okay. I should then research how to integrate that with svelte components, as search should still point to the product page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Status: Backlog (ready for dev)
Development

No branches or pull requests

3 participants