smooth-app
smooth-app copied to clipboard
Allow to share product lists by URLs
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"
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"
- related to #2627
Hello! Let me try this one :)
@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?
@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?
There isn't a feature like this on the server. The lists are only stored locally and not synced to the server https://github.com/openfoodfacts/smooth-app/issues/3373
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