Skip to content

refactor(desktop): split find and timing helpers out of the transcript - #4356

Merged
LHagfoss merged 1 commit into
mainfrom
refactor/desktop-transcript-find-timing
Nov 25, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
refactor/desktop-transcript-find-timing

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

ui/Transcript.tsx sat at 1,484 lines, 16 under the 1,500-line cap.

Two self-contained groups move out unchanged:

  • ui/transcriptFind.ts: find-in-thread's searchable and paintMatches, and selecting.
  • ui/transcriptTiming.ts: the useNow tick and useTurnSettle.

Transcript is now 1,398 lines.

Changelog

Internal: split find-in-thread and the transcript's timing hooks out of the transcript.

Testing

  • bun run check: all pass except stopTrace.store.test.ts ("a harness that ignores the Stop is forced", and this run also "a dropped Stop fails…"), which are timing-flaky under the full run. That file passes 7/7 three times on its own. bunx vite build and check-comments.py pass.

@github-actions github-actions Bot added the refactor Code improvement and restructuring label Nov 25, 2026
@LHagfoss
LHagfoss merged commit 2618ddc into main Nov 25, 2026
10 checks passed
@LHagfoss
LHagfoss deleted the refactor/desktop-transcript-find-timing branch November 25, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code improvement and restructuring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant