Skip to content

[$250] LHN - The chat is in unread status, the deleted message is still shown in LHN #80827

Closed

Description

@lanitochka17

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: 9.3.11-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/folder/13176910/test-cases/41237481
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Bug source: Regression TC Execution
Device used: iPhone 15 iOS 26.2
App Component: Left Hand Navigation (LHN)

Action Performed:

  1. Sign in as User A on iOS and User B on secondary device
  2. Send some messages from both users
  3. As User A, make sure there is no unread messages in the chat, navigate to the Inbox
  4. As User B, send a message to User A
  5. As User A, observe the LHN - chat is in unread status (bold), the new message appears, do not open the chat
  6. As User B, delete the message
  7. User A, observe the chat in the LHN again

Expected Result:

The conversation unread status is dismissed as the newest message was deleted. The previous message sent in chat is shown in LHN

Actual Result:

The chat is in unread status, the deleted message still shown in LHN for User A. When User A opens the chat, the message is shown with an unread marker for a few seconds, then disappears

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Bug7060738_1769644283072.LHN.1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~022016666578808791406
  • Upwork Job ID: 2016666578808791406
  • Last Price Increase: 2026-01-29
Issue OwnerCurrent Issue Owner: @DylanDylann

Activity

  1. added
    DeployBlockerCash
    External
    Daily
    Bug
    on Jan 29, 2026
  2. melvin-bot commented on Jan 29, 2026

    @melvin-bot
  3. changed the title [-]LHN - The chat is in unread status, the deleted message is still shown in LHN[/-] [+][$250] LHN - The chat is in unread status, the deleted message is still shown in LHN[/+] on Jan 29, 2026
  4. added
    Help Wanted
    on Jan 29, 2026
  5. melvin-bot commented on Jan 29, 2026

    @melvin-bot

    Triggered auto assignment to @lydiabarclay (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.

  6. melvin-bot commented on Jan 29, 2026

    @melvin-bot

    Triggered auto assignment to @jasperhuangg (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  7. melvin-bot commented on Jan 29, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  8. melvin-bot commented on Jan 29, 2026

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann (External)

  9. 3 remaining items

  10. github-actions commented on Jan 29, 2026

    @github-actions
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  11. lanitochka17 commented on Jan 29, 2026

    @lanitochka17
    Author

    Production:

    4c.1.mp4
  12. OSBotify commented on Jan 29, 2026

    @OSBotify
    Contributor

    🔍 Investigation Summary

    Classification: Frontend bug
    Causing PR: #80539 - "Suggested Follow-ups Render follow-up buttons + optimistic resolution in App" by @jmusial (Medium confidence)
    Related Issues: None found

    Recommendation: NEEDS INVESTIGATION

    While PR #80539 modified ReportActionsUtils.ts and affects how report action text is processed for LHN preview, the specific changes appear focused on removing followup button HTML from message text rather than affecting message deletion handling or unread status updates.

    The reported bug suggests an issue with how the LHN updates when receiving a message deletion event from another user. This could be:

    1. A regression introduced by PR [Suggested Follow-ups][R1] Render follow‑up buttons + optimistic resolution in App #80539 in an unexpected way
    2. A pre-existing bug exposed by recent changes
    3. An issue with a different PR in this deploy

    Labels: No label changes recommended at this time - keeping DeployBlockerCash until root cause is confirmed.

    Next Steps: Tag PR author @jmusial to investigate whether changes to getReportActionText() could affect how LHN handles deleted messages from other users.

  13. jmusial commented on Jan 29, 2026

    @jmusial
    Contributor

    I'd say it's very unlikely that #80539 caused this, will take a deeper look thouth.

  14. m-natarajan commented on Jan 30, 2026

    @m-natarajan

    This issue is reproducible on iPhone 7 Plus / iOS 15.8.3 in v9.3.11-12

    80827_iOS-Repro.mp4
  15. grgia commented on Jan 30, 2026

    @grgia
    Contributor

    More likely #80196, but not necessarily the cause, less renders means less likely to see it. Testing a fix here

  16. added
    Reviewing
    on Jan 30, 2026
  17. grgia commented on Jan 30, 2026

    @grgia
    Contributor
  18. m-natarajan commented on Jan 30, 2026

    @m-natarajan

    The issue is no longer reproducible on Windows 11, Chrome, and iOS 26.2, iPhone SE 3rd gen, v9.3.11-15 PR:81010.

    iOS_80827.mp4
    explorer_dyvdASh0lw.mp4
  19. removed
    DeployBlockerCash
    Help Wanted
    on Jan 30, 2026
  20. DylanDylann commented on Feb 2, 2026

    @DylanDylann
    Contributor

    @grgia I can't reproduce this bug on the latest main. So I think we don't need to make any fix here 😄

    Screen.Recording.2026-02-02.at.16.31.06.mov
  21. grgia commented on Feb 2, 2026

    @grgia
    Contributor

    Closing, I see another fix was pushed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugEngineeringExternalHourlyReviewing

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions