Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 5326 - add prices to proof from gallery (and thumbnails) (#5670)
* feat: 5326 - add prices to proof from gallery (and thumbnails) New files: * `background_task_add_other_price.dart`: Background task about adding prices to an existing proof. * `background_task_price.dart`: Abstract background task about adding prices. Impacted files: * `background_task_add_price.dart`: refactored using new class `BackgroundTaskPrice` * `get_prices_model.dart`: new web app root address * `operation_type.dart`: added the new background task * `osm_location.dart`: minor refactoring * `price_currency_selector.dart`: additional case - proof instead of input; refactored using model * `price_date_card.dart`: additional case - proof instead of input * `price_location_card.dart`: additional case - proof instead of input * `price_model.dart`: added specific constructor and background task for the "existing proof" case * `price_product_widget.dart`: minor refactoring * `price_proof_card.dart`: additional case - proof instead of input * `price_proof_page.dart`: added a FAB to add price from an existing proof; now displaying the thumbnail and then the full proof * `price_user_button.dart`: new web app root address * `prices_proofs_page.dart`: proof thumnails; new web app root address * `prices_users_page.dart`: new web app root address * `product_price_add_page.dart`: now accepting a model as parameter, in order to deal with both old proofs and new prices * `pubspec.lock`: wtf * `pubspec.yaml`: upgraded to `openfoodfacts` `3.16.0`, for proof thumbnails * `user_preferences_account.dart`: new web app root address * More flexibility with potentially null data Impacted files: * `osm_location.dart`: more flexibility with potentially null data * `price_model.dart`: more flexibility with potentially null data; better display of thumbnail image * `price_proof_page.dart`: more flexibility with potentially null data
- Loading branch information