-
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
Reporting: Add preset date selector to the Payment activity widget #8927
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: +917 B (0%) Total Size: 1.25 MB
ℹ️ View Unchanged
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Thanks for clarifying, that makes sense @jessy-p ! That's great info to put in the issue: |
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.
This tests well! 🙌 🌟
I've tested with a long-standing single-currency store as well as a multi-currency store locally.
The date preset options are correctly adhering to different account creation dates. The values rendered are correct as per the subsequent "View report" screen summaries.
I have some thoughts for code improvement as mentioned as comments, but none are blocking merge. I'm excited about getting this in the hands of our merchants. 🚀
Fixes #8734
Changes proposed in this Pull Request
Not included in this PR
wcpaySettings.accountStatus
appears to be a good contender - Reporting: AddAll time
date selector option for the payment activity widget #8929Last 7 days: June 3 - June 9, 2024
#8928 - The Inline select item used requires a change in the button label format to make it match with the design.Testing instructions
_wcpay_feature_payment_overview_widget
is enabledPayment > Overview
and see that the date selector renders in the top right corner with default option ofLast 7 days
Additional
InlineLabelSelect
component. 🙌 - @Jinksi .npm 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