-
-
Notifications
You must be signed in to change notification settings - Fork 368
feat: 5553 - add prices for category products #6552
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
base: develop
Are you sure you want to change the base?
Conversation
New files: * `price_category_input_page.dart`: Page that lets the user type in and select a single category for prices. * `price_per_extension.dart`: Extension for PricePer. Impacted files: * `app_en.arb`: added 4 labels related to category and prices * `app_fr.arb`: added 4 labels related to category and prices * `background_task_add_other_price.dart`: added parameters related to category prices * `background_task_add_price.dart`: added parameters related to category prices * `background_task_price.dart`: added parameters related to category prices * `price_add_product_card.dart`: added an "add category product" button * `price_amount_card.dart`: added a DropDownButton for "price per" for category product * `price_amount_model.dart`: taken category prices into consideration * `price_existing_amount_card.dart`: unrelated localization * `price_meta_product.dart`: added a new meta product, related to category * `price_model.dart`: added parameters related to category prices * `smooth_autocomplete_text_field.dart`: added an "onSelected" optional parameter, in order to be able to select immediately a suggestion * `smooth_dropdown.dart`: added an "isExpanded" optional parameter, in order to match the screen width
Impacted files: * `app_en.arb`: additional translations for "price per" * `app_fr.arb`: additional translations for "price per" * `price_existing_amount_field.dart`: localization * `price_meta_product.dart`: minor refactoring * `price_per_extension.dart`: additional translations for "price per"
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6552 +/- ##
==========================================
- Coverage 9.54% 5.83% -3.72%
==========================================
Files 325 501 +176
Lines 16411 29909 +13498
==========================================
+ Hits 1567 1745 +178
- Misses 14844 28164 +13320 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Very cool, some thoughts:
|
Thank you @TTalex for your feedback!
I can do that.
I'm not sure I'm going to do that right now, UX-wise.
I'm sure they sell "home-made muesli" so it wouldn't be a good idea to limit to fruits and vegetables. |
What
Screenshots
Fixes bug(s)
Files
New files:
price_category_input_page.dart
: Page that lets the user type in and select a single category for prices.price_per_extension.dart
: Extension for PricePer.Impacted files:
app_en.arb
: added 4 labels related to category and pricesapp_fr.arb
: added 4 labels related to category and pricesbackground_task_add_other_price.dart
: added parameters related to category pricesbackground_task_add_price.dart
: added parameters related to category pricesbackground_task_price.dart
: added parameters related to category pricesprice_add_product_card.dart
: added an "add category product" buttonprice_amount_card.dart
: added a DropDownButton for "price per" for category productprice_amount_model.dart
: taken category prices into considerationprice_existing_amount_card.dart
: unrelated localizationprice_meta_product.dart
: added a new meta product, related to categoryprice_model.dart
: added parameters related to category pricessmooth_autocomplete_text_field.dart
: added an "onSelected" optional parameter, in order to be able to select immediately a suggestionsmooth_dropdown.dart
: added an "isExpanded" optional parameter, in order to match the screen width