-
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 deposit schedule help tooltip to deposits list screen so it's consistent with Payments Overview #8263
Add deposit schedule help tooltip to deposits list screen so it's consistent with Payments Overview #8263
Conversation
…consistently displayed
- short term fix - this hack & component will be replaced soon (InlineNotice, #8260)
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: +71 B (0%) Total Size: 1.26 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.
Changes look good and now I see help tooltip just like on Payments Overview page.
I have some feedbacks which I went ahead and made the change myself for faster iteration (I hope you don't mind).
- Need changelog. I already add one a38dcd0. Feel free to modify.
- There was a failed unit test which expects an empty element when deposit schedule is
manual
. I fixed it with 15d8774.
The other day when I set my deposit schedule to manual
via Stripe dashboard, I saw a lonely tooltip like this on Payments Overview page:
On deposits list page, it looked like this:
Now, it's fixed.
… only rendered when there is a valid schedule
Thanks @shendy-a8c ! I refactored this a little since we can null out higher-level components if there is no schedule:
Thanks also for fixing the changelog & unit test 🙌🏻 I'm going to merge soon/today (assuming no problems, I have tested with schedule & manual). If you have any feedback or see issues let me know, we can handle in a follow up issue. |
…sistent with Payments Overview (#8263) Co-authored-by: Rua Haszard <[email protected]> Co-authored-by: Shendy <[email protected]>
Fixes #8026
Changes proposed in this Pull Request
This PR:
DepositSchedule
.But why?
Testing instructions
Payments > Deposits
.Payments > Overview
Bonus points: check with a range of schedules, and store in new-account waiting period, deposits blocked etc.
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