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
Stale transcript shown under the new selection while switching threads #83
src/useCoder.ts:536-559 keeps the previous thread's detail until the new threads.get resolves; ThreadView has no guard that detail.thread.id matches the selected thread (it never receives the selected id). Over --serve-web latency the old transcript and composer render under the new sidebar selection, and a fast send goes to the new thread while the user is still reading the old one.
Fix: clear detail on selection change, or pass the selected thread id into ThreadView and gate rendering on a match.
Fixed on branch coder/stale-transcript-shown-under-the-new-sel-28ac1b: App.tsx now derives visibleDetail (detail only when detail.thread.id === selectedThreadId) and uses it for ThreadView, AgentsPanel, and project resolution — the previous thread's transcript/composer can no longer render under the new selection while threads.get is in flight. Regression test in test/appWiring.test.tsx simulates a pending fetch and fails without the gate; full renderer suite (672 tests) + typecheck green.
Activity
currentbits commentedon Aug 16, 2026
Fixed on branch
coder/stale-transcript-shown-under-the-new-sel-28ac1b: App.tsx now derivesvisibleDetail(detailonly whendetail.thread.id === selectedThreadId) and uses it for ThreadView, AgentsPanel, and project resolution — the previous thread's transcript/composer can no longer render under the new selection whilethreads.getis in flight. Regression test in test/appWiring.test.tsx simulates a pending fetch and fails without the gate; full renderer suite (672 tests) + typecheck green.Merge pull request #102 from currentbits/coder/stale-transcript-shown…