-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-05-27] [$250] Expense - Expense report disappears from LHN after opening transaction thread header in RHP #60749
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
Comments
Triggered auto assignment to @CortneyOfstad ( |
Triggered auto assignment to @jasperhuangg ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
NAB as this is behind a beta, cc @mountiny since this is related to the better expense view |
🚨 Edited by proposal-police: This proposal was edited at 2025-04-29 15:44:38 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The expense report is no longer highlighted and disappears from LHN after opening report header of the transaction thread. What is the root cause of that problem?The expense report has
The problem is App/src/hooks/useCurrentReportID.tsx Line 24 in e1e89c9
We already have the logic here to return empty if the route is the sub report page route but it doesn't work as expected Lines 8053 to 8059 in e1e89c9
It is a mistake from this PR, Lines 8039 to 8040 in e1e89c9
What changes do you think we should make in order to solve the problem?We should update this to the correct check in the past
Lines 8039 to 8040 in e1e89c9
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Test What alternative solutions did you explore? (Optional)Based on the suggestion here, we can refactor
#60749 (comment) |
Job added to Upwork: https://www.upwork.com/jobs/~021915506088661653750 |
I think we can handle this one externally |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
@adamgrzybowski @WojtekBoman could you please help review the proposal from @nkdengineer thanks! |
@eh2077 It's not a hard code. It's a mistake from this PR that causes the logic doesn't work as expected. ![]() |
We can also do that to get the |
@trjExpensify do you think this has to be fixed? It does feel like an edge case to me that might just be adding some unnecessary complexity to code |
Eh, I don't love the "active chat" in the LHN bouncing around when you click into details in the RHP. |
I would love to fix this as well, that feels broken that the highlight get removed just because you go one level deeper in the RHP. |
@nkdengineer 's proposal also looks good to me. The proposed solution is a quick fix which makes sense to me. At the meanwhile, @adamgrzybowski 's suggestion #60749 (comment) will make the code more robust, so it's worth trying, even though it will require more effort. @mountiny All yours. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @tgolen, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
I read through the issue, and I agree with using @adamgrzybowski's approach. While I see how @nkdengineer's proposal would fix the problem, I think relying on the position of the parameter in the URL is very brittle. It's exactly that brittleness that lead to this issue in the first place. Rather than repeat that same mistake, having a more robust way of accessing the parameter is preferred. With that said, I think we need a new full proposal. |
I love that. Thank you! 🟢 for that approach then. |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@eh2077 The PR is ready for review. |
PR is actively being worked on |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.46-12 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 2025-05-27. 🎊 For reference, here are some details about the assignees on this issue:
|
@eh2077 @CortneyOfstad @eh2077 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
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: 9.1.32-0
Reproducible in staging?: Yes
Reproducible in production?: Unable to check
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.3 / Chrome
App Component: Other
Action Performed:
Precondition:
Expected Result:
The expense report will remain highlighted in LHN after opening report header of the transaction thread.
Actual Result:
The expense report is no longer highlighted and disappears from LHN after opening report header of the transaction thread.
The transaction thread appears in LHN but it is not highlighted.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6811067_1745443626061.20250424_052220.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @CortneyOfstadThe text was updated successfully, but these errors were encountered: