-
-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: 4925 - consistency for "edit product" app bars #4931
Conversation
Impacted files: * `add_basic_details_page.dart`: now using new method `buildEditProductAppBar` * `add_other_details_page.dart`: now using new method `buildEditProductAppBar`; removed an irrelevant barcode display * `edit_new_packagings.dart`: now using new method `buildEditProductAppBar` * `edit_ocr_page.dart`: now using new method `buildEditProductAppBar` * `edit_product_page.dart`: removed inconsistent `fullScreenDialog:true` parameters * `nutrition_page_loaded.dart`: now using new method `buildEditProductAppBar`; removed inconsistent `fullScreenDialog:true` parameters * `product_cards_helper.dart`: new method `buildEditProductAppBar` instead of `buildProductTitle` * `product_field_editor.dart`: removed inconsistent `fullScreenDialog:true` parameters * `product_image_gallery_view.dart`: now using new method `buildEditProductAppBar` * `product_image_other_page.dart`: now using new method `buildEditProductAppBar` * `simple_input_page.dart`: now using new method `buildEditProductAppBar` * `simple_input_widget.dart`: now we don't display the widget title on a single widget page - in order to avoid title redundancy
The full screen thing is not related to reusability of edition screens in various places, right ? |
@teolemon It looks like it was rather connected to a "swipe back" gesture side effect on iOS (cf. #2796). |
+1 for the removal of the full screen. |
For the record there are only 4 remaining This PR was only about making the edit pages consistent. That said:
|
Thank you @M123-dev for your review! |
What
fullScreenDialog: true
)Screenshots
Fixes bug(s)
Impacted files
add_basic_details_page.dart
: now using new methodbuildEditProductAppBar
add_other_details_page.dart
: now using new methodbuildEditProductAppBar
; removed an irrelevant barcode displayedit_new_packagings.dart
: now using new methodbuildEditProductAppBar
edit_ocr_page.dart
: now using new methodbuildEditProductAppBar
edit_product_page.dart
: removed inconsistentfullScreenDialog:true
parametersnutrition_page_loaded.dart
: now using new methodbuildEditProductAppBar
; removed inconsistentfullScreenDialog:true
parametersproduct_cards_helper.dart
: new methodbuildEditProductAppBar
instead ofbuildProductTitle
product_field_editor.dart
: removed inconsistentfullScreenDialog:true
parametersproduct_image_gallery_view.dart
: now using new methodbuildEditProductAppBar
product_image_other_page.dart
: now using new methodbuildEditProductAppBar
simple_input_page.dart
: now using new methodbuildEditProductAppBar
simple_input_widget.dart
: now we don't display the widget title on a single widget page - in order to avoid title redundancy