* 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>
* fix: 5693 - able to run tasks without minimum duration wait
Impacted files:
* `background_task_manager.dart`: made it possible to force an immediate run if possible
* `offline_tasks_page.dart`: force an immediate run if possible when clicking on the refresh button
* Added a call to BackgroundTaskManager.run related to prices
* Minor fix
* Wtf tests
* Ugly fix for mocking hive
* feat: 4510 - new "enroll in the beta" contribute item
Impacted files:
* `app_en.arb`: added an "enroll in the beta" label.
* `app_store.dart`: new `getEnrollInBetaURL` method
* `apple_app_store.dart`: implements new `getEnrollInBetaURL` method
* `google_play.dart`: implements new `getEnrollInBetaURL` method
* `user_preferences_contribute.dart`: added an "enroll in the beta" button
* Fixes after tests failing
* feat: 4510 - new labels + dialog
* Update packages/smooth_app/lib/l10n/app_en.arb
Co-authored-by: Pierre Slamich <pierre.slamich@gmail.com>
* Update packages/smooth_app/lib/pages/preferences/user_preferences_contribute.dart
---------
Co-authored-by: Pierre Slamich <pierre.slamich@gmail.com>
* App review in the "scan card"
* Add a keep alive to prevent many requests
* Add a missing call to super (for the KeepAlive mixin)
* Don't really understand what happened with this file 🤨
* ignored some generated files
* init amoled mode
* color scheme
* test updated for amoled
* added accent color picker
* localized accent color picker
* added color provider
* Dark Mode changed to Theme mode
* Map key iteration only
* Update packages/smooth_app/lib/l10n/app_en.arb
Co-authored-by: Aman Raj <57723319+AshAman999@users.noreply.github.com>
* removed external dep
* updated golden test
* added comments
* using shade fun
* color scheme localization
* color scheme localization
* added textContrast
* color contrast app settings
* merged upstream
* typo fix
* added color to DropDownMenuItems
* SnackBar text, contrast level
* text contrast change to pass WCAG2.1
* snackBar Color Change
---------
Co-authored-by: Aman Raj <57723319+AshAman999@users.noreply.github.com>
Impacted files:
* `paged_to_be_completed_product_query.dart`: renamed `State` as `ProductState`
* `paged_user_product_query.dart`: created local `UserSearchType` instead of deprecated off-dart `UserProductSearchType`; used `ProductSearchQueryConfiguration` instead of deprecated `UserProductSearchQueryConfiguration`
* `product_query.dart`: now that we use fully v3, we don't need the temporary field list for user-related queries with v2
* `pubspec.lock`: wtf
* `pubspec.yaml`: upgrade to off-dart 2.0.0
* `user_preferences_account.dart`: now using new local class `UserSearchType`
* and reduced all off-dart imports to a single `import 'package:openfoodfacts/openfoodfacts.dart';`