-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
feat: #2337 - additional "power user" product edit page #2617
feat: #2337 - additional "power user" product edit page #2617
Conversation
New file: * `simple_input_widget.dart`: Simple input widget: we have a list of terms, we add, we remove. Impacted files * `edit_product_page.dart`: added an item that includes 6 simple items; * `simple_input_page.dart`: now manages multiple items; now using new widget `SimpleInputWidget * `simple_input_page_helpers.dart`: refactored for a better "multiple changes" management
@monsieurtanuki Do the classic edit view get the icon as a result ? |
@teolemon If you mean "does the edit store page display a card with 'Stores' as a title and the icon as a leading icon?", that's correct. Of course in the "single edit" pages, we could get rid of:
Would that look better to you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM great for the power users
Just one quick ui change
padding: i == 0 | ||
? EdgeInsets.zero | ||
: const EdgeInsets.only(top: LARGE_SPACE), | ||
child: Card( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SmoothCard for UI consistency
…nsistency Impacted file: * `simple_input_page.dart`: now uses `SmoothCard` instead of `Card` for consistency
Codecov Report
@@ Coverage Diff @@
## develop #2617 +/- ##
==========================================
- Coverage 8.86% 7.43% -1.43%
==========================================
Files 161 213 +52
Lines 6623 10278 +3655
==========================================
+ Hits 587 764 +177
- Misses 6036 9514 +3478
Help us with your feedback. Take ten seconds to tell us how you rate us. |
Thank you @M123-dev for the review, I've changed the |
New file:
simple_input_widget.dart
: Simple input widget: we have a list of terms, we add, we remove.Impacted files
edit_product_page.dart
: added an item that includes 6 simple items;simple_input_page.dart
: now manages multiple items; now using new widget `SimpleInputWidgetsimple_input_page_helpers.dart
: refactored for a better "multiple changes" managementWhat
Screenshot
Fixes bug(s)