-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2024-06-05] [Violations - Pending Receipts] Add "Mark as cash" Button to MoneyRequestStatusBar #39541
Comments
Triggered auto assignment to @JmillsExpensify ( |
|
Still on hold. |
Hi, I am Aleksandra Smela from Software Mansion, an expert agency, and I would like to work on this issue. |
Not overdue, in progress |
Two small questions:
|
Triggered auto assignment to @dubielzyk-expensify ( |
@dubielzyk-expensify mind confirming the web design for the Mark as cash button? cc @smelaa |
@BrtqKr seems isPendingReceiptMatch has been replaced with hasPendingRTERViolation
Yes, that sounds correct |
Sorry, but I'm a bit unsure what you mean here 😅 Do you mean the desktop design or just confirming what mock should be used? |
The Desktop design @dubielzyk-expensify |
same as above |
Still working through the draft PR |
PR hit staging, so we're just waiting for the next production deploy. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.76-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-05. 🎊 For reference, here are some details about the assignees on this issue: |
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment Summary
BugZero Checklist (@JmillsExpensify)
|
@c3024 Mind suggesting regression steps since this is a new feature? |
Payment summary:
|
The tests have steps like fetching transaction id of a transaction and changing Onyx values from browser console. I am not sure if this will be a useful regression test. Regression Test Proposal
Onyx.merge('cardList', {
1: {
bank: 'Expensify Card',
lastFourPAN: 3458,
},
});
Onyx.merge(`transactions_<transaction_id>`, {cardID: 1, merchant: 'violation test'});
Onyx.merge(`transactionViolations_<transaction_id>`, [{type: 'test', name: 'rter', data: {pendingPattern: true}}]);
|
Thank you! What's your Upwork profile so that I can send you an offer. |
I'll slightly modify the regression steps, specifically 3, as QA has cards to test with. |
Here, it is Thanks! |
Upwork contract paid and regression test created! |
Design Doc: https://docs.google.com/document/d/1zJqlTe_RajuBtfQYvbMx8PpXgA9CEnUGVyuqZihQ-ok/edit
Tracking GH: https://github.com/Expensify/Expensify/issues/372206
HOLD ON https://github.com/Expensify/Expensify/issues/385017
We'll add support for a button and corresponding callback in the
MoneyRequestHeaderStatusBar
. This will allow us to support the "Mark as cash" button shown below.In the case of the
isPendingReceiptMatch
status, the button will only be shown to the submitter of the expense. The callback function for the button will call a new API command:MarkAsCash
. This will be through aTransaction
action function of the same name (more on this below). The command will use theDismissViolation
Auth command added recently.Issue Owner
Current Issue Owner: @JmillsExpensifyThe text was updated successfully, but these errors were encountered: