-
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
[HOLD for payment 2024-04-25] [$250] IOU - Blank page after returning to IOU report from thread and deleting the other request #40087
Comments
Triggered auto assignment to @trjExpensify ( |
Triggered auto assignment to @youssef-lr ( |
👋 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:
|
@trjExpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #collect project. |
Production bandicam.2024-04-11.11-13-28-751.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.A blank page shows up. What is the root cause of that problem?When users create 2 IOUs -> If When they go to the first IOU and go back, the url will be if -> the empty chat is shown What changes do you think we should make in order to solve the problem?When transactionThreadReportID has value (only one IOU action), we should remove reportActionID in url
What alternative solutions did you explore? (Optional)NA Resultweb-resize.mp4 |
I'm checking a PR to confirm if it's the offending one |
Confirmed it's a regression from #40079 after reverting it locally, @paultsimura @shubham1206agra @MonilBhavsar can you guys take a look please? @tienifr checking your proposal meanwhile |
@tienifr Thanks for the proposal, but your solution will remove highlights from comments too when it switches back to singleTransactionView. @roryabraham Shouldn't there be a failsafe whenever we use a wrong/non-existent reportActionID in the URL, it should revert back to no reportActionID in the URL present? cc @youssef-lr |
@shubham1206agra I just remove reportActionID when there's only one IOU action. In that case we need to redirect to transaction report, so the highlighted action should not be shown |
Right, but if the highlight is on a comment it will be shown as it is in the report. Why the comment's highlight will be removed? |
@youssef-lr Am I missing something? @tienifr solution suggests something else. And the logic in #40079 should not affect this issue at all. |
I also doubt the referenced PR is the cause, but I'll be able to test thoroughly in about 3-4 hours only. |
Sorry folks, that PR is not the culprit. When I tested after reverting, I delete the highlighted report action and not the last one, and that doesn't seem to reproduce the bug. It's only reproduced when we delete the non-highlighted report action. |
Back to searching for the offending PR as I think that would help us know how to fix this properly. |
Ok this is the offending PR #39454, it seems like this is new functionality because when I revert it I don't see the previous report action highlighted. @rayane-djouah @rushatgabhane @jasperhuangg can you guys take a look please @tienifr's proposal? |
@tienifr's proposal makes sense to me, thanks for catching this! Feel free to assign them if it makes sense to you as well. |
It looks good to me too. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.62-17 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-25. 🎊 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:
|
|
👋 Let's get the checklist done, @rushatgabhane! |
All done |
Not overdue. |
Mind being a little more descriptive on the why here, @rushatgabhane? Is one being added elsewhere for the new "ancestor" thread logic? |
@youssef-lr, @trjExpensify, @rushatgabhane, @tienifr Eep! 4 days overdue now. Issues have feelings too... |
Bump on this, @rushatgabhane. |
@trjExpensify i was thinking the root cause is trivial. i.e. we didn't navigate to IOU report when it was deleted. In PR #40157, we made that change so this issue won't happen again |
But yes, if we think that we should add a test, here are the regression steps -
|
Alright, thanks for expanding on that - I don't think it's trivial if it results in a blank empty page. Looks like we have a regression test for this which includes navigating back as the expected behaviour, so I think we're covered. |
Payment summary as follows:
Closing! |
$250 approved for @rushatgabhane |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.62-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
App will open one report transaction view (combined IOU report).
Actual Result:
A blank page shows up.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6445479_1712816252003.bandicam_2024-04-11_14-14-44-762.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: