-
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-04-09] [$500] [Held requests] show status on distance requests #37476
Comments
Triggered auto assignment to @stephanieelliott ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hold status is not displayed on distance and receipt requests previews. What is the root cause of that problem?Here: App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Lines 168 to 170 in 0bbfcd6
we are appending the • Hold status only for cash requests.and here: App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Lines 134 to 140 in 0bbfcd6
we are not appending the • Hold status for distance and receipt requests.
What changes do you think we should make in order to solve the problem?we need to add here this logic: if (isDistanceRequest) {
let message = translate('common.distance');
if (isOnHold) {
message += ` • ${translate('iou.hold')}`;
}
return message;
}
if (isScanning) {
let message = translate('common.receipt');
if (isOnHold) {
message += ` • ${translate('iou.hold')}`;
}
return message;
} only cash, receipt, and distance requests can be hold, we don't need to add this logic to split and card transactions. |
@robertjchen, @stephanieelliott Eep! 4 days overdue now. Issues have feelings too... |
1 similar comment
@robertjchen, @stephanieelliott Eep! 4 days overdue now. Issues have feelings too... |
Hey @robertjchen just want to check where we landed with this one from the original discussion in #37121 (comment) so we can figure out the
Was this ever pulled into Slack (I can't find anything)? Or was there general agreement that distance expenses should show the status (Hold, Approved, Pending, Canceled etc) on distance expenses? |
oh it seems no discussion happened. Please assign me here. |
Currently (in here) we only show the "Hold, Approved, Pending, Canceled" status and violations in cash requests previews. |
thanks @situchan ! Feel free to link the thread here after you've created it, looking forward to see what others think |
Hey @situchan have you started this convo? I'm not seeing it in Slack -- could you link it here? |
@situchan has this convo been started? Is there anything we can do to move this issue along in the meantime? |
started discussion - https://expensify.slack.com/archives/C01GTK53T8Q/p1710439388757009 |
We got answer. It should be consistent. Let's fix this to show status on all type of requests. |
PR is undergoing QA now |
Hit staging 4 days ago. Should start the regression clock on the next deploy. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.58-8 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-04-09. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
This was a new feature and not a bug, so no regression test needed on this one. |
Summarizing payment on this issue:
Upwork job is here: https://www.upwork.com/jobs/~01e3e32c45e45f949f |
Bump on this @ShridharGoel |
@stephanieelliott Accepted. |
Has the payment been issued here? 🙏 |
Not yet, @stephanieelliott can you have a look? |
All paid! See summary here: #37476 (comment) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Coming from the discussion here: #37121 (comment)
Update display of status on distance requests to show state (Approved/Pending/Canceled/Hold) like we do for Cash expenses.
Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1710439388757009
Action Performed:
Expected Result:
Distance expense request should show
Hold
Actual Result:
Distance expense request does not show any status
Workaround:
N/A
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: