13 Commits

Author SHA1 Message Date
6fb09e5ec2 use adaptive progress Indicator (#2831) 2022-08-23 11:18:59 +02:00
d698ffbf68 Ensure the initial loading dialog auto-closes on timeout (#2240) 2022-06-10 08:00:56 +02:00
5c0fc06923 feat: #2049 - added error picture (#2050)
New file:
* `error.svg`

Impacted file:
* `loading_dialog.svg`: added error picture
2022-05-28 18:33:13 +02:00
818cd13979 feat: Harmonize app dialogs (#1978)
* Harmonize app dialogs

* Flat/text button for negative & neutral states
+ fix a missing image

* Remove unused SmoothActionButton implementation

* Fix build issues
2022-05-25 12:43:12 +02:00
c3b44aced2 fix: Flutter 3.0 fixes (#1814)
* fix: Flutter 3.0 fixes

* Workflows

* Update gradle

* Automated fixes

* Manual async gap fixes

* Fix merge conflict reverts

* Format

* qr_code_scanner fixes
2022-05-12 16:07:22 +02:00
20a9da0d1c fix: #1697 - checking hasError instead of hasData in FutureBuilder (#1705)
Impacted file:
* `loading_dialog.dart`: checking hasError instead of hasData - hasData is not reliable as data can be void or null.
2022-04-29 15:47:22 +02:00
c203f3a5ec fix: #1472 Stop on boarding next button to get spammed (#1611)
* make dismissible dialogs

* make the onboarding dialog not dismissble
2022-04-22 19:20:26 +02:00
f67180785d fix: #1352 - robotoff insight card shows permanently (#1574)
* fix: #1395 - show newly added product in carousel

* fix: #1395 - refactoring unused import

* fix: #1395 - refactoring make variable private

* fix: #1352 - robotoff card shows permanently

* fix: #1352 - codereview refactoring

* fix: #1352 - check fix

* fix: #1352 - pretest check fix

* fix: #1352 - codereview fix

Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
2022-04-21 10:58:52 +02:00
1199c79b67 fix: #1518 - normal size for most alert dialogs (#1519)
Deleted file:
* `product_list_dialog_helper.dart`

Impacted files:
* `basic_test.dart`: refactored
* `loading_dialog.dart`: refactored
* `product_dialog_helper.dart`: refactored
* `smooth_alert_dialog.dart`: now constructors for simple and advanced effects
* `user_contribution_view.dart`: now explicitly using the "advanced" dialog
* `user_preferences_profile.dart`: refactored
* `user_preferences_settings.dart`: now explicitly using the "advanced" dialog
2022-04-08 17:53:09 +02:00
852ae7be02 fix: Translate hardcoded sentences (#1473)
* Translate hardcoded sentences

* Extract all AppLocalizations.of(context) into variables
2022-04-03 18:28:11 +02:00
b275e8e499 Revert "fix: Pop loading dialog before build is finished (#1182)" (#1432)
This reverts commit d7b36bd7ea899cabbe87c0f3f1da7f96f2e93fec.
2022-03-31 21:13:03 +02:00
d7b36bd7ea fix: Pop loading dialog before build is finished (#1182)
* fix: Pop loading dialog before build is finished

* Update image_crop_page.dart
2022-03-04 18:22:18 +01:00
0d61134375 General radius throughout the app (#1179)
* Added design const

* ROUNDED_RADIUS

* General radius throughout the app

* Update smooth_main_button.dart

* .all instead of .circular
2022-03-03 21:25:46 +01:00