-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add the new payment method logos to the connect page #8977
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: +897 B (0%) Total Size: 1.28 MB
ℹ️ View Unchanged
|
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.
Left a few requests for changes.
Also, the diff in size is a little high "+49.5 kB (+17%)", probably due to SVGs being components now...
This was shared in a comment in this p2: pe4Hk0-1d6-p2, I think it's worth double-checking to see if we can do better here.
…t-method-logo' into add/8808-woo-payment-method-logo
…t-method-logo' into add/8808-woo-payment-method-logo
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 for working on this, Dan!
I have manually tested the component with different breakpoints and it works perfectly. Your approach of adjusting visible elements based on breakpoint width is a great idea.
Furthermore, I’ve provided some suggestions for naming and CSS enhancements.
…t-method-logo' into add/8808-woo-payment-method-logo
…t-method-logo' into add/8808-woo-payment-method-logo
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.
The code looks good after the changes.
Manual tests are successful for both mobile an desktop.
hey @dpaun1985 There may be some extra CSS creating an additional outline on the icons. 👀 Here's what I'm seeing. Ideally we can match the implementation of the icon row in @mordeth 's PR to create a unified experience pre and post install. |
fixed. There were some last changes that made that outline appear. it should be like in the other PR right now |
Thanks @dpaun1985, LGTM! |
already reviewed by Cvetan and Elizabeth
Co-authored-by: Dan Paun <[email protected]> Co-authored-by: oaratovskyi <[email protected]> Co-authored-by: Cvetan Cvetanov <[email protected]>
Fixes #8808
Changes proposed in this Pull Request
Create a new component that can be reused, to display the new payment method logos.
Design: https://www.figma.com/design/VLWDmeuIXQ7XAK4flyqTFO/Payments-Adoption-%26-Activation?node-id=2196-11373&t=7gXadrjGDmPqgpUP-0
Testing instructions
Force the WCPay plugin to act as disconnected from the WCPay Server
option and save the settingsnpm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge