-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
The default product in the onboarding is currently a bad one (Nutella ?) with not all panels available #1003
Comments
@teolemon Find a better product and give us its barcode. |
Isn't this an issue on the backend ? We just request a product with |
Yes, probably. I would have expected it to return the perfect product. I wasn't completely sure the client was doing the right thing already. |
Actually we don't need off's @teolemon Would you like to play with barcodes: in demo mode, being able to set the onboarding barcode? |
It's better to delegate this responsibility to BE, right now if we just
query 1 barcode it might be a good product for Europe but not for America
or Asia.
The deal with Stephane was that BE will find the best fitting product and return that.
…On Mon, 24 Jan 2022 at 11:45, monsieurtanuki ***@***.***> wrote:
Actually we don't need off's example to be perfect. Neither to use it.
All we need is a decent product, and its barcode.
@teolemon <https://github.com/teolemon> Would you like to play with
barcodes: in demo mode, being able to set the onboarding barcode?
—
Reply to this email directly, view it on GitHub
<#1003 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZRHYQGJSCH5IV4SJCUTNLUXUUU7ANCNFSM5MTOF63A>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Cheers,
Jasmeet Singh
|
@jasmeet0817 That cannot indeed be the best fitting product for all the planet, and there's no country parameter for the example. We would need barcodes like |
don't we pass country as a |
For the fallback product, completely agreed that we can configure whatever product details that are best suited. But that we can fake. Actually, the BE could also fake product details when |
Right, the product you get back will depend on the country passed to the API. |
|
Corresponding PR server side: openfoodfacts/openfoodfacts-server#6337 Only one product right now, but we can indeed have several if we want to change the production place. That will be done server side. |
That's correct. For the fallback product, please use this one: https://world.openfoodfacts.org/product/093270067481501/a-good-product-for-you-open-food-facts |
I wouldn't say
@teolemon what do you think about the fallback product, let us know if we should change that (or some aspects of that product) |
…7481501 Impacted files: * `onboarding_data_knowledge_panels.dart`: refreshed the url in the comment * `onboarding_data_product.dart`: refreshed the url in the comment * `sample_knowledge_panels.json`: refreshed the whole file from the new url * `sample_product.json`: refreshed the whole file from the new url
Impacted files: * `onboarding_data_knowledge_panels.dart`: refreshed the url in the comment * `onboarding_data_product.dart`: refreshed the url in the comment * `sample_knowledge_panels.json`: refreshed the whole file from the new url * `sample_product.json`: refreshed the whole file from the new url
What
Part of
The text was updated successfully, but these errors were encountered: