Repository navigation
Description
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:
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs reproduction
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: @garrettmknight
Slack conversation (hyperlinked to channel name): #expensify_bugs
Action Performed:
Preconditions: User should have workspace with approver
- Go to https://staging.new.expensify.com/
- Log in with submitter user
- As submitter, create 5 compliant expenses. Include categories during creation.
- Submit the report.
- Change the 5th expense in the list to remove the category
- Log in another browser as approver
- As the approver, open the top expense in RHP.
- Tap right.
Expected Result:
The right arrow leads to the second expense
Actual Result:
The right arrow goes straight to the fifth expense and the order is wild thereafter.
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Screen.Recording.2025-06-13.at.3.51.50.PM.mov
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021937812633312520311
- Upwork Job ID: 1937812633312520311
- Last Price Increase: 2025-06-25
Issue Owner
Current Issue Owner: @francoislMetadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
MelvinBot commentedon Jun 18, 2025
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989
melvin-bot commentedon Jun 18, 2025
Triggered auto assignment to @greg-schroeder (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.ChavdaSachin commentedon Jun 18, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
To decide the navigation order using left and right buttons we make use of
getActiveTransactionThreadIDsfunction to fetch the sorted transactionIDs which would ultimately decide the order. And those IDs are set bysetActiveTransactionThreadIDsfunction. And we do not pass sorted transactions here.App/src/components/MoneyRequestReportView/MoneyRequestReportTransactionList.tsx
Line 235 in 1c125ab
What changes do you think we should make in order to solve the problem?
Pass sorted transactions here
App/src/components/MoneyRequestReportView/MoneyRequestReportTransactionList.tsx
Line 235 in 1c125ab
Like following
App/src/components/MoneyRequestReportView/MoneyRequestReportTransactionList.tsx
Line 203 in 1c125ab
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
NA
What alternative solutions did you explore? (Optional)
NA
garrettmknight commentedon Jun 23, 2025
@greg-schroeder I've got a few other examples in this thread.
melvin-bot commentedon Jun 24, 2025
@greg-schroeder Huh... This is 4 days overdue. Who can take care of this?
[-]The order is broken of expenses when using left/right buttons in RHP[/-][+][$250] The order is broken of expenses when using left/right buttons in RHP[/+]melvin-bot commentedon Jun 25, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021937812633312520311
1 remaining item
melvin-bot commentedon Jun 25, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra (
External)melvin-bot commentedon Jun 30, 2025
@shubham1206agra Huh... This is 4 days overdue. Who can take care of this?
shubham1206agra commentedon Jun 30, 2025
@ChavdaSachin's proposal looks good to me.
🎀👀🎀 C+ reviewed
melvin-bot commentedon Jun 30, 2025
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
francoisl commentedon Jun 30, 2025
I don't see that code on
mainanymore, it must have been edited since the proposal was posted. Is the proposal still valid, and the change even needed?shubham1206agra commentedon Jun 30, 2025
Looks like it got fixed in #63867
ChavdaSachin commentedon Jun 30, 2025
Good to know.
I am not fully aware of the rules so...
Does it make us eligible for any partial payment?
shubham1206agra commentedon Jun 30, 2025
No
francoisl commentedon Jun 30, 2025
Yeah sorry, in this case there's nothing to fix anymore.
Going to close – @garrettmknight feel free to reopen if you're still running into the issue.