-
-
Notifications
You must be signed in to change notification settings - Fork 280
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: improved price product selection #5564
feat: improved price product selection #5564
Conversation
Deleted files: * `price_product_search_page.dart` New file: * `price_add_product_card.dart`: Card where the user can input a price product: type the barcode or scan. Impacted files: * `price_amount_card.dart`: removed the "no product" option; refactored Provider and Controllers * `price_amount_model.dart`: minor refactoring * `price_meta_product.dart`: removed the "no product" option; async load of data (local+server) * `price_model.dart`: minor refactoring * `product_price_add_page.dart`: refactored Provider; now using new widget `PriceAddProductCard` * `user_preferences_account.dart`: minor refactoring
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5564 +/- ##
==========================================
- Coverage 9.54% 6.95% -2.60%
==========================================
Files 325 400 +75
Lines 16411 21169 +4758
==========================================
- Hits 1567 1473 -94
- Misses 14844 19696 +4852 ☔ View full report in Codecov by Sentry. |
@teolemon @raphael0202 Only some tests to be performed live, and we're good! |
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.
Thanks, let's keep iterating on prices 👍
I'm obsessed with Open Products Facts at the moment.
Thank you @teolemon for your review! |
Impacted files: * `app_en.arb`: minor changes * `app_fr.arb`: minor changes * `price_add_product_card.dart`: checked duplicate barcodes * `pubspec.lock`: wtf * `pubspec.yaml`: new off-dart version - 3.14
Impacted files: * `price_add_product_card.dart`: populated the previously scanned barcode * `price_scan_page.dart`: checked if barcode was just previously scanned; added back button
What
Provider
for those pages, which was not superfluous.Screenshot
Files
Deleted file:
price_product_search_page.dart
New file:
price_add_product_card.dart
: Card where the user can input a price product: type the barcode or scan.Impacted files:
price_amount_card.dart
: removed the "no product" option; refactored Provider and Controllersprice_amount_model.dart
: minor refactoringprice_meta_product.dart
: removed the "no product" option; async load of data (local+server)price_model.dart
: minor refactoringproduct_price_add_page.dart
: refactored Provider; now using new widgetPriceAddProductCard
user_preferences_account.dart
: minor refactoring