-
Notifications
You must be signed in to change notification settings - Fork 136
[Woo POS] Small updates to checkout screen per M2 Design #11892
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
[Woo POS] Small updates to checkout screen per M2 Design #11892
Conversation
Generated by 🚫 Danger |
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
|
@kidinov I think it's pretty close to the design now (although not quite). Should I try to make further changes in this PR or ticket out the remaining modifications? |
Ah, that screenshot is from the design, not the app. So that's why it's 100% correct. You're right, about the margins. I didn't realize the M2 designs were so different. Let me check and potentially close this PR then. |
|
Final decision on this pending Slack discussion: |
|
Looks good! I just noticed the margins may be a bit too big on the cart. And the margin between products and the cart a bit too small. Also, maybe changes from that PR can be used to avoid merge conflicts and reuse the method that adapts margins for smaller screens. It should be merged to the trunk soon)
|
…nd-totals-as-per-design # Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/WooPosHomeScreen.kt # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/cart/WooPosCartScreen.kt
7ed6ec7 to
ec526b3
Compare
…nd-totals-as-per-design # Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/WooPosHomeScreen.kt # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/cart/WooPosCartScreen.kt
|
Thanks for the additional review @kidinov It should be closer to the design now:
|
…nd-totals-as-per-design
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## trunk #11892 +/- ##
============================================
- Coverage 40.01% 40.01% -0.01%
Complexity 5432 5432
============================================
Files 1184 1184
Lines 67012 67012
Branches 9335 9335
============================================
- Hits 26815 26814 -1
- Misses 37707 37708 +1
Partials 2490 2490 ☔ View full report in Codecov by Sentry. |
…nd-totals-as-per-design
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.









Closes:
#11861
Description
Adds a compose card underneath both totals and cart screens in the POS feature. Currently, totals and cart are shown as two separate cards when in the checkout state. This enhancement ensures a unified card appearance that adheres to the Figma design.Changes include modifications to
WooPosHomeScreento integrate the compose card that envelops both the totals and cart sections.New Design:
Old Design:
Steps to reproduce
To test the changes made in this PR, follow the steps outlined below:
Testing information
Release Notes
RELEASE-NOTES.txtif necessary. Use the "[Internal]" label for non-user-facing changes.