-
-
Notifications
You must be signed in to change notification settings - Fork 285
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: Remove individual product from the scan carousel #1662
Conversation
@bhattabhi013 Please use recent method from /// Adds or removes a barcode within a product list (depending on [include])
///
/// Returns true if there was a change in the list.
Future<bool> set(
final ProductList productList,
final String barcode,
final bool include,
) |
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.
Looks good @bhattabhi013!
Minor comments.
The main thing is to get rid of your pop
method in DaoProductList
, that is now redundant with a recent method (that probably didn't exist when you started).
|
|
Codecov Report
@@ Coverage Diff @@
## develop #1662 +/- ##
==========================================
- Coverage 8.86% 8.31% -0.55%
==========================================
Files 161 165 +4
Lines 6623 7116 +493
==========================================
+ Hits 587 592 +5
- Misses 6036 6524 +488
Continue to review full report at Codecov.
|
@bhattabhi013 i was tired, cross on the right, see the original bug with mockup for reference |
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.
Thank you @bhattabhi013!
I haven't understood where the cross icon is finally supposed to be, but as far as I'm concerned it's good!
Hi everyone, |
We can harmonize the fontsize of weight perhaps, but LGTM 👍 |
merged, thanks @bhattabhi013 |
What
Added a clear button to remove an individual product from the list of scanned products.
Video
1295.mp4
Fixes bug(s)
Part of