t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Mark unread immediately resets on the active thread

Open ojowwalker77 opened this issue 4 months ago • 1 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

When the currently open thread is marked unread from the sidebar context menu, nothing changes visually.

  1. Open a completed thread.
  2. Right-click the active thread in the sidebar.
  3. Select Mark unread.

Expected behavior

The thread remains visibly unread until it is opened again.

Actual behavior

The unread state is immediately cleared, so the action appears to do nothing.

Impact

Cosmetic issue

Version or commit

0.0.31-nightly.20260729.948 (e6987965f659)

Environment

macOS Tahoe

Logs or stack traces


Screenshots, recordings, or supporting files

Screen Recording 2026-07-29 at 18.26.21.mov

Workaround

No response

ojowwalker77 avatar Jul 29 '26 21:07 ojowwalker77

Thanks for the report. We believe this is fixed by PR #5486 and PR #5579.

The old read-tracking effect reacted to lastVisitedAt, so Mark unread immediately triggered another mark-read update. The replacement tracks thread identity and completion time instead, which lets an active completed thread remain unread when the user marks it unread.

I'm closing this as fixed as part of an automated pass on all open issues. If the unread state still resets in a build that includes both PRs, please reply with the exact thread state and whether it resets before or after navigation, and we can reopen it.

t3dotgg avatar Aug 27 '26 11:08 t3dotgg