Skip to content

fix(web): preserve Done status for threads left mid-turn - #43

Merged
asfires merged 2 commits into
mainfrom
t3code/fix-thread-done-status
Aug 17, 2026
Merged

asfires merged 2 commits into
mainfrom
t3code/fix-thread-done-status

Conversation

@asfires

@asfires asfires commented Aug 17, 2026

Copy link
Copy Markdown
Owner

What Changed

  • Track live completed threads in the web client and mark newly completed, non-archived threads as unread.
  • Preserve completion observations across reconnects and avoid treating initial historical snapshots as new completions.
  • Remove the unused tool-output font-size setting and use a fixed 11px output size.
  • Simplify related provider, theme, settings, and stale test code.

Why

Threads that completed while the user was away could lose their Done/unread status when the client reconnected or refreshed. The new state transition tracks live completion changes and only marks genuine new completions, including threads that finish in the background.

The tool-output font-size preference was unused and added unnecessary settings and persistence complexity, so output now uses the established fixed size.

UI Changes

The Appearance settings no longer include the Tool output font-size control, and expanded tool output uses a fixed 11px size. No before/after screenshots are included.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

- Seed the visited marker when an active turn starts
- Advance it on completion so open threads clear Done normally
- Add coverage for in-flight, completed, and pre-turn states
- Track live thread completions globally and mark newly completed background threads unread
- Stamp active-thread visits at completion time to preserve later Done notifications
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 17, 2026
@asfires
asfires merged commit aa06053 into main Aug 17, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant