* add: Stats view to the prices
* add: Stats view to the prices
* feat: Add stats view to prices with refactored structure and full localization support
* feat: Add stats view to prices with refactored structure and full localization support
* feat: Add stats view to prices with simplified structure
* feat: Add stats view to prices with simplified structure
* feat: resolve code comment issue
* feat: resolve code comment issue
* feat: 6289 - bulk proof upload page
New files:
* `proof_bulk_add_page.dart`: Single page that displays all the elements of bulk proof adding.
* `proof_type_extensions.dart`: Extensions on ProofType.
Impacted files
* `app_en.arb`: added a label for "bulk proof upload" and "send proof"
* `price_model.dart`: new method `clearProof`
* `price_proof_card.dart`: refactoring about the flexibility needed for new fields `ProofType? forcedProofType` and `bool includeMyProofs`
* `proof_crop_helper.dart`: minor refactoring
* `user_preferences_dev_mode.dart`: added a "bulk proof upload" feature flag (false/hidden by default)
* `user_preferences_prices.dart`: optionally display a button to the new "bulk proof upload" page
* refactored around price/proof add pages
New file:
* `price_add_helper.dart`: Helper around price/proof adding pages.
Impacted files
* `product_price_add_page.dart`: refactored with new class `PriceAddHelper`
* `proof_bulk_add_page.dart`: refactored with new class `PriceAddHelper`
* feat: 5455 - new "data quality" link in "contribute" page
* minor label fix - and I noticed the problem even before Gemini whined about it ;)
* minor icon change
* feat: added the help improve OFF in your country tile on the contribute page
* Update packages/smooth_app/lib/l10n/app_en.arb
* fix: fixing comma
* feat: added country wiki class and a check to show the listtile
* Update packages/smooth_app/lib/pages/preferences/user_preferences_contribute.dart
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
* feat: satisfying pr requests
* feat: refactored userPreferences.countyCode to be a part of UserPreferenceContribute
* feat: adding map to country wiki links
* feat: adding country wiki link to user prefs
* feat: quick fix of adding the icon to the help improve country tile
* feat: format
* fix: organizing imports
* feat: make the help country links conditional
* fix: formatted code
* fix: deleting unused ports
* chore: formatted and added golden test
* chore: added setCountry to dialogs_test.dart
* chore: formatted code
---------
Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
* Add translations for new social media links
- Updated .arb files to include translations for Mastodon, TikTok, and Bluesky
* Add assets for Mastodon, TikTok, and Bluesky logos
- Added logo assets for Mastodon, TikTok, and Bluesky to the project
* Update 'Contact Us' page with new social media contacts
- Added Mastodon, TikTok, and Bluesky links to the 'Contact Us' page
* Revert "Add translations for new social media links"
This reverts commit a8c5dfe3e26ff99c1a722c961cf7411c9c216460.
* Add translations for new social media links
* Fix code formatting and indentation issues
* feat: 5988 - new "top price products" page
New file:
* `prices_products_page.dart`: Page that displays the top prices products.
Impacted files:
* `app_en.arb`: added 1 label for top product counts
* `price_product_widget.dart`: minor refactoring
* `product_prices_list.dart`: minor refactoring
* `pubspec.lock`: wtf
* `pubspec.yaml`: upgraded `openfoodfacts` to `3.19.0`
* `user_preferences_prices.dart`: link to new page `PricesProductsPage`
* Add new localization strings for product prices
---------
Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
* Open the correct variant of the website
* Update packages/smooth_app/lib/pages/preferences/user_preferences_faq.dart
Co-authored-by: Pierre Slamich <pierre.slamich@gmail.com>
* Fix style
---------
Co-authored-by: Pierre Slamich <pierre.slamich@gmail.com>
Impacted files:
* `price_add_product_card.dart`: now calling the scan card with the bool multi product scan mode parameter, and manages a _list_ of scanned barcodes
* `price_scan_page.dart`: now manages a multi product scan mode, with floating action button and snackbar
* `user_preferences_dev_mode.dart`: new flag for "multi product scan in price receipt"
New files:
* `price_location_widget.dart`: Price Location display (no price data here).
* `prices_locations_page.dart`: Page that displays the top prices locations.
Impacted files:
* `app_en.arb`: added labels for locations pages; added tooltips for tiny prices count buttons (proofs, prices, products, users)
* `get_prices_model.dart`: minor refactoring
* `labeler.yml`: wtf
* `price_button.dart`: minor refactoring
* `price_count_widget.dart`: refactored with "onPressed" as this button is now used somewhere else
* `price_data_widget.dart`: now links to new page "PricesLocationsPage"; refactored because of new class "PriceLocationWidget"
* `price_location_card.dart`: minor refactoring
* `price_product_widget.dart`: refactored according to "PriceCountWidget" evolutions
* `price_user_button.dart`: minor refactoring
* `prices_users_page.dart`: minor refactoring
* `product_prices_list.dart`: now displays the location once and on top, if relevant (e.g. "prices in that location")
* `user_preferences_prices.dart`: now links to new page "PricesLocationsPage"; minor refactoring
Impacted files:
* `folksonomy_provider.dart`: used a specific folksonomy server instead of systematically the prod server
* `product_query.dart`: specific folksonomy server
* `user_preferences_dev_mode.dart`: settings for the specific folksonomy server