Skip to content
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] UI changes in POS Success screen #12591

Merged
merged 7 commits into from
Sep 16, 2024

Conversation

AnirudhBhat
Copy link
Contributor

@AnirudhBhat AnirudhBhat commented Sep 12, 2024

Closes: #12577

Description

Screenshot 2024-09-11 at 11 38 32 AM

This PR introduces UI updates to the POS payment success screen based on design recommendations and resolves an issue on the checkout cart screen where cart items were overlapping with the floating toolbar.

Changes:

Replaced the outlined button with a standard Compose-filled button.
Removed the "return home" icon from the button.
Updated the button text according to the design suggestion.
Fixed a bug causing the cart list items to overlap with the floating toolbar on the checkout cart screen.

Question to reviewer

The design comment states that the "payment success screen background is too saturated." Joe mentioned that the green background appears more intense than in the design. However, I confirmed that we are using the exact hex code specified in the design, and on my emulator, the success background matches the design without appearing saturated. Could you please check how it looks on your device?

payment_success_screen

Testing information

Tested this on my my tablet emulator on both dark and light mode.

Ensured cart list items are not overlapping with floating toolbar anymore.

Images/gif

cart_items_overlap_fix.mp4
  • I have considered if this change warrants release notes and have added them to RELEASE-NOTES.txt if necessary. Use the "[Internal]" label for non-user-facing changes.

Reviewer (or Author, in the case of optional code reviews):

Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement:

  • The PR is small and has a clear, single focus, or a valid explanation is provided in the description. If needed, please request to split it into smaller PRs.
  • Ensure Adequate Unit Test Coverage: The changes are reasonably covered by unit tests or an explanation is provided in the PR description.
  • Manual Testing: The author listed all the tests they ran, including smoke tests when needed (e.g., for refactorings). The reviewer confirmed that the PR works as expected on big (tablet) and small (phone) in case of UI changes, and no regressions are added.

@AnirudhBhat AnirudhBhat added type: bug A confirmed bug. feature: point of sale POS project labels Sep 12, 2024
@AnirudhBhat AnirudhBhat added this to the 20.5 milestone Sep 12, 2024
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Sep 12, 2024

📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App Name WooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commit5f74749
Direct Downloadwoocommerce-wear-prototype-build-pr12591-5f74749.apk

@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Sep 12, 2024

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App Name WooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commit5f74749
Direct Downloadwoocommerce-prototype-build-pr12591-5f74749.apk

@samiuelson samiuelson self-assigned this Sep 13, 2024
Copy link
Collaborator

@samiuelson samiuelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good overall, @AnirudhBhat. There is however a small glitch on the Cart items list after transitioning from isCheckoutButtonVisible=true to isCheckoutButtonVisible=false:

Screen_recording_20240913_193217.webm

When it comes to the success background color it looks good to me. I'm not sure why it was looking brighter on the physical device.

@AnirudhBhat
Copy link
Contributor Author

There is however a small glitch on the Cart items list after transitioning from isCheckoutButtonVisible=true to isCheckoutButtonVisible=false:

Thanks for catching it @samiuelson! I've animated it and it should look fine now: cbfefd2

@kidinov
Copy link
Contributor

kidinov commented Sep 16, 2024

@AnirudhBhat I used the color picker, and it looks like that in the design,. It's ABEF86. Having said that it's practically the same color as we use now

Copy link
Collaborator

@samiuelson samiuelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :shipit:

@samiuelson samiuelson merged commit 9310ff5 into trunk Sep 16, 2024
14 checks passed
@samiuelson samiuelson deleted the issue/12577-ui-changes-success-screen branch September 16, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: point of sale POS project type: bug A confirmed bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[WOO POS] UI changes in POS Success screen
4 participants