openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
811 stars 275 forks source link

We should not show the nudge for nutrition on cosmetics #5665

Open teolemon opened 2 days ago

teolemon commented 2 days ago

What

We should not show the nudge for nutrition on cosmetics Screenshot_20241004-134108.png

monsieurtanuki commented 2 days ago

@teolemon Not sure if we invent that nudge. I think KP send it. Of course we can deactivate it just on our side too.

teolemon commented 2 days ago

I thought some of it was hard coded, I will file server side then Cc @stephanegigandet

monsieurtanuki commented 2 days ago

I have to double-check. I think what is hard-coded in Smoothie is "when you see 'action_nutrition', display a button like this". We may consider too that the server shouldn't send the 'action_nutrition' message.

monsieurtanuki commented 2 days ago

@teolemon @stephanegigandet There are 2 cases in Smoothie where we display that "add nutrition facts" button: