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

Allow to share product lists by URLs #2631

Closed
Tracked by #2627
monsieurtanuki opened this issue Jul 19, 2022 · 7 comments · Fixed by #3757
Closed
Tracked by #2627

Allow to share product lists by URLs #2631

monsieurtanuki opened this issue Jul 19, 2022 · 7 comments · Fixed by #3757
Assignees

Comments

@monsieurtanuki
Copy link
Contributor

monsieurtanuki commented Jul 19, 2022

Allow to share lists with friends by using URLs like:

https://world.openfoodfacts.org/products/8024884500403,3263855093192,3045320001570,3021762383344,4008400402222,3330720237255,3608580823513,3700278403936,3302747010029,3608580823490,3250391660995,3760020506605,8722700202387,3330720237330,3535800940005,20000691,3270190127512

Potential issues:

  • the URL has a limited length - there will be a limited number of products
  • potential localization issue - should we add the language, the country?
  • possible (but not systematic) combo with "Allow users to open shared lists"
@monsieurtanuki monsieurtanuki changed the title Allow to share lists with friends by using https://world.openfoodfacts.org/products/8024884500403,3263855093192,3045320001570,3021762383344,4008400402222,3330720237255,3608580823513,3700278403936,3302747010029,3608580823490,3250391660995,3760020506605,8722700202387,3330720237330,3535800940005,20000691,3270190127512 Allow to send product lists to friends using https GET queries Jul 19, 2022
@monsieurtanuki
Copy link
Contributor Author

Potential issues:

  • the URL has a limited length - there will be a limited number of products
  • potential localization issue - should we add the language, the country?
  • possible (but not systematic) combo with "Allow users to open shared lists"

@teolemon
Copy link
Member

teolemon commented Aug 16, 2022

@VaiTon VaiTon changed the title Allow to send product lists to friends using https GET queries Allow to share product lists by URLs Aug 16, 2022
@teolemon teolemon added the good first issue Good for newcomers label Sep 8, 2022
@mbaimuratov
Copy link

Hello! Let me try this one :)

@monsieurtanuki
Copy link
Contributor Author

@mbaimuratov Sure, you can start to work on it!
But before you actually code anything, how do you plan to deal with the potential problems I've mentioned?

@Sudhanva-Nadiger
Copy link
Contributor

@AshAman999 how about we share with the user unique id + list id, so while we show on the web we can search the list items in the user's specific database on that particular list and render the list items on the web?

@M123-dev
Copy link
Member

There isn't a feature like this on the server. The lists are only stored locally and not synced to the server
#3373

@Sudhanva-Nadiger
Copy link
Contributor

if that's the scenario we have to add feature like downloading the url of all list items in a CSV file or xl sheet since there is limit on the length of the URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

6 participants