-
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
Use 'Withdrawal' and 'Deducted' labels when referring to withdrawal deposits, to more accurately communicate the type of transaction that has occurred #9500
base: develop
Are you sure you want to change the base?
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: +188 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
…atch changes to withdrawal status label
Ready for review – note I'll be adding some additional integration tests to ensure the new withdrawal labels are rendered correctly, as mentioned in the PR description TODO. |
placeholder="" | ||
role="combobox" | ||
type="text" | ||
value="" | ||
/> | ||
<span | ||
class="screen-reader-text" | ||
id="search-inline-input-15" | ||
id="search-inline-input-16" |
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.
These snapshot changes to the rendered HTML id
numbers can be ignored – this occurs because I've added a new test case being rendered, bumping many of these ids by +1.
PHP/e2e GH actions failing due to error when downloading from |
Manual testThe changes test well on a manual test 🥇
|
Fixes #7802
Changes proposed in this Pull Request
When viewing a 'withdrawal' deposit, the following labels are used:
Deducted
instead ofPaid
Withdrawal
instead ofDeposit
This applies to the following screens and components:
TODO
Deposit details screen:
Deposit list screen:
Deposit list screen advanced filters:
The option for
paid
now showsPaid / Deducted
. Note that we don't support filtering byDeducted
, since it is a display/label only and not a status recognised by the WooPayments Server.Payments overview recent deposits list:
Testing instructions
npm run build
4000000000000259
trunk
withdrawal deposits will appear as typeDeposit
with aPaid
statusWithdrawal
with aDeducted
status (see screenshot above)Status. The
Paidoption has been re-labelled to
Paid / Deducted. Note that we don't support filtering by
Deducted`, since it is a display/label only and not a status recognised by the WooPayments Server.Deducted
status appears next to withdrawals on the Payments → Overview recent deposits list.Withdrawal date
,Deducted
andWithdrawal transactions
(see screenshot above)Deposit date
,Paid
andDeposit transactions
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