-
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-07-22] [HOLD for payment 2024-07-17] Expense - Header subtitle from report with RBR in LHN leads to the same transaction view #43238
Comments
Triggered auto assignment to @kevinksullivan ( |
Triggered auto assignment to @marcaaron ( |
👋 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:
|
@marcaaron FYI 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 bug might be related to #wave-collect - Release 1 |
I am not really convinced this needs to be a blocker. |
@roryabraham lmk if you agree. I'm heading OOO so a volunteer will need to give this another look tomorrow. |
The transaction thread shouldn't be shown in the LHN because we hide it if it's a one transaction thread. Lines 5320 to 5323 in 1426c4e
But #41507 changes the behavior that every report that has error is shown. |
Hmm #41507 hasn't hit staging yet though. |
Oh, you're right. The reportID comparison here fails because Lines 1444 to 1447 in 4fcc5a9
App/src/types/onyx/ReportAction.ts Line 161 in 4fcc5a9
But even after we fix it, one transaction thread will still show because of this code. Lines 97 to 103 in 4fcc5a9
|
@jjcoffee do you agree with that assessment that there's a BE error here? |
@jjcoffee I do see #41507 in the staging checklist and I also see that PR's code on the staging branch. |
TBH I think this is expected? When we have a single transaction report, the view for the thread and the expense report are the same? @trjExpensify can you confirm? |
@luacmartins Oh my bad, I was going by the But yeah I agree that this is expected, the header link being tapped is to the |
@trjExpensify and I discussed this internally, and we think the behavior introduced in #41507 might be slightly incorrect. For the one expense report, we should be pinning the expense report, not the thread for that expense. |
I'm gonna demote this to NAB since nothing is broken, but we should fix the expected behavior here. cc @tienifr @jjcoffee @AndrewGable @cead22 |
@luacmartins Do you think we should fix the BE issue mentioned here first? @tienifr is currently looking at converting to string in the comparison here: Lines 1444 to 1447 in 4fcc5a9
i.e.: |
Yea, we should also fix this in the backend. Do we know which API command is returning it as an int instead of string? |
@luacmartins Should we display the RBR in the expense report in case of one transaction? In the video in this bug, we do not. cc @jjcoffee as you requested that feature here. |
Yes, the RBR should be shown for the expense report in that case. |
Also, bump on this comment |
@luacmartins Based on this comment, when we call |
Thanks! I put up a PR to fix that and return |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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-07-17. 🎊 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:
|
Note that payment is not required here, it will be handled on #36778. |
Thanks for pointing that out. I think we're good to close then! |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-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-07-22. 🎊 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:
|
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: 1.4.80-9
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail: n/a
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Expected Result:
App will return to the workspace main chat.
Actual Result:
App returns to the same transaction view.
This issue only happens when there is one expense in the workspace chat.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6504503_1717721486593.20240607_084820.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @kevinksullivanThe text was updated successfully, but these errors were encountered: