You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] LHN - Open app again, draft conversation returns original location instead at top on LHN #71961
Version Number: v9.2.24-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail:https://test-management.browserstack.com/projects/2219752/test-runs/TR-1163/folder/13176910/41237484/936936627 Email or phone of affected tester (no customers): N/A Issue reported by: Applause Internal Team Device used: iPhone 16 pro/ 18.6.2 App Component: Left Hand Navigation (LHN)
Action Performed:
Open app login with account have some conversations on LHN
Navigate to a conversation at bottom LHN
Type something but not send message and go out this conversation
Observe this conversation move to the top conversation of LHN
Force close app
Find this draft conversation
Expected Result:
Force close app and open again, this draft conversation should remain at the top conversation of LHN
Actual Result:
Force close app and open again, this draft conversation is displayed at bottom location on LHN
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)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]LHN - Open app again, draft conversation returns original location instead at top on LHN[/-][+][$250] LHN - Open app again, draft conversation returns original location instead at top on LHN[/+]on Oct 8, 2025
Activity
melvin-bot commentedon Oct 7, 2025
Triggered auto assignment to @bfitzexpensify (
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.mkzie2 commentedon Oct 7, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Force close app and open again, this draft conversation is displayed at bottom location on LHN
What is the root cause of that problem?
The draft report is marked as non-archived report
App/src/libs/SidebarUtils.ts
Line 366 in 1ff696b
The problem is here,
hasValidDraftCommentcheck is using the data fromOnyx.connect, which can be not available at the time this function is calledApp/src/libs/SidebarUtils.ts
Line 337 in 1ff696b
What changes do you think we should make in order to solve the problem?
We should pass
reportDraftstohasValidDraftCommentas a new parameter and use this data to checkApp/src/libs/SidebarUtils.ts
Line 337 in 1ff696b
And then pass the
reportDraftsfrom here tocategorizeReportsForLHNfunction.App/src/hooks/useSidebarOrderedReports.tsx
Line 192 in 1ff696b
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)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
[-]LHN - Open app again, draft conversation returns original location instead at top on LHN[/-][+][$250] LHN - Open app again, draft conversation returns original location instead at top on LHN[/+]melvin-bot commentedon Oct 8, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021975907999845233835
melvin-bot commentedon Oct 8, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov (
External)dangrous commentedon Oct 9, 2025
Happy to handle internal review on this when ready!
melvin-bot commentedon Oct 13, 2025
@alitoshmatov Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Oct 15, 2025
@alitoshmatov Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Oct 15, 2025
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
melvin-bot commentedon Oct 17, 2025
@alitoshmatov Still overdue 6 days?! Let's take care of this!
dangrous commentedon Oct 17, 2025
bump for review of proposals, thanks @alitoshmatov !
situchan commentedon Oct 19, 2025
Looks like this was fixed in #70409. Not able to reproduce anymore
IuliiaHerets commentedon Oct 20, 2025
QA team can' repro this issue on iPhone 13 / iOS 18.7.1 and Samsung Galaxy A52 / Android 14, build v9.2.33-4
1760949041068.draft_chat_andro.mp4
1760949041072.draft_chat.mp4
bfitzexpensify commentedon Oct 20, 2025
Great, let's close