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
841 stars 281 forks source link

Allow jumping into product edit from receipt addition #5522

Open teolemon opened 3 months ago

teolemon commented 3 months ago

Problem

Proposed solution

monsieurtanuki commented 2 months ago

Allow clicking on the photo or placeholder of the product to jump into a product mode that allows either editing the product or if it does not exist select a target project, and then proceed to product addition.

For the record the prices are added only when the user clicks on the "send the prices" button. Therefore we would need very smart users - or at least with a good memory - to add product data and then not to forget to add the receipt prices. A more general solution would be to maintain a local list of "to-be-created-or-edited" products.