-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$250] Hold expense - RBR is not shown instantly when holding expense from main chat #47240
Comments
Triggered auto assignment to @johnmlee101 ( |
Triggered auto assignment to @dylanexpensify ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
We think this issue might be related to the #collect project. |
@johnmlee101 can repro, but don't think this is necessarily a deploy blocker? LMK what you think! |
Job added to Upwork: https://www.upwork.com/jobs/~0162d2bf8d74991b81 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Yeah doesn't seem like a blocker necessarily |
Edited by proposal-police: This proposal was edited at 2024-08-12 21:51:43 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.RBR is not shown instantly when holding expense from main chat What is the root cause of that problem?In the expense preview, we check for transaction violations to see if any are present. However, when we put an expense on hold through the preview, we don’t set the transaction violation optimistically. As a result, the transaction violation will be empty unless we access the child report. This is why we can’t see the RBR without visiting the report.
but in MoneyRequestPreviewContent we also have another check isOnHold that's why we can see the RBR without visiting the child report.App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Line 136 in fa30a89
What changes do you think we should make in order to solve the problem?We can optimistically add the violation data when placing the expense on hold. We can do something like this here
What alternative solutions did you explore? (Optional)Use same logic by adding App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Line 136 in fa30a89
|
@mananjadhav, @johnmlee101, @dylanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@Nodebrute's proposal would work. 🎀 👀 🎀 |
Current assignee @johnmlee101 is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @Nodebrute 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@Nodebrute just making sure you've seen this! |
@johnmlee101 I'll raise the pull request in a few hours. |
This was deployed to production in v9.0.26-6. |
@dylanexpensify this is ready for payout. I couldn't pinpoint the exact PR where we should've added the RBR changes. I also don't think we need a regression test for this one. |
Payment summary: Contributor: @Nodebrute $250 via Upwork Please apply/request! |
$250 approved for @mananjadhav |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v9.0.19-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
In Step 7, the expense preview in the main chat will show RBR after holding the expense from the main chat.
Actual Result:
In Step 7, the expense preview in the main chat does not show RBR after holding the expense from the main chat.
It only shows RBR after visiting the report and back to main chat in Step 9.
When holding the expense from expense report (at least two expenses), the RBR and Hold label are shown without visiting the transaction thread (Step 14).
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6569930_1723470967140.20240812_215033.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mananjadhavThe text was updated successfully, but these errors were encountered: