Repository navigation
refactor(src): drop comments the code can say, part 4 of 9 - #4071
Conversation
The fourth src/ slice of the repo-wide comment pass: src/lib from compose to fontFamily (connection routes and traces, covered panes, custom themes, deep links, drafts, droplets, edge swipes, event streams, file lookups and previews, first hints, focus following, font faces) and from mermaid to pasteFolders (the message queue, model names, more menus, native app calls, notifications, OSC 52, outcome chips, page queries, pairing, pane lifetime, moves, mutes, presentation and tab caches, palette search), with their tests. About 2,400 comment lines go; notes on herdr's Claude manifest, Mermaid, Capacitor, Android and iOS notifications, Safari's clipboard, Unicode NFC, Tailscale ranges, RFC 1918, HTTP Range, the EventSource spec, WOFF2 and @legendapp/list stay. The t3code adaptation keeps its licence line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rule 3) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
…hs-at-the main's comment pass (devswha#4071, devswha#4072, devswha#4074, devswha#4076, devswha#4051) and devswha#4029 touched the same lines as this branch. In each conflict the branch's code stays, and a comment main removed that the branch had left unchanged goes with it. Co-Authored-By: Claude Fable 5.2 <[email protected]>
What
Part 4 of 9 for
src/in the repo-wide comment pass. This part covers:src/libfromcomposetofontFamily: connection routes and traces, covered panes, custom themes, deep links, drafts, droplets, edge swipes, event streams, file lookups and previews, first hints, focus following, font facessrc/libfrommermaidtopasteFolders: the message queue, model names, more menus, native app calls, notifications, OSC 52, outcome chips, page queries, pairing, palette search, and the pane lifetime, moves, mutes, presentation and tab cachesAbout 1,500 comment lines go. Security, trap, platform and measured notes stay (the owner's rule for comment-removal PRs). What stays:
claude.toml) and close rules (0.9.5)@legendapp/list3.3.5, the browser font-loading API, xterm's Alt+Enter encodingpaletteFolders.ts,paletteSearch.tsandpaletteSettings.tsstay word for word, andTHIRD_PARTY_NOTICES.md(the MIT notice) is untouched.Every change was checked against
origin/mainby syntax tree. No test, script or doc reads a deleted comment, and no code changes.This PR touches queued input and drafts (
compose.ts,draft.ts,messageQueue.ts) and pairing links (pageQuery.ts), with comments and no code changed there, so it waits for a real review (AGENTS.md).Left open (redesigns, not done here)
compose.ts: one refusal code means several things, told apart by message strings.fileNameLookup.ts: reads two statuses for two meanings.fileFailure.ts: reads a status out of aTypeErrormessage.droplet.ts LONG_TURN_MScopiesserver/push.ts.edgeSwipe.ts's breakpoint andCOMPOSER_STATUS_COMPACT_BELOWare kept in step with CSS by hand.followFocus.ts: races frames against answers with a counter and timeout.paneLifetime.ts:PaneLifetimesholds seven private maps, and a function is injected to dodge a circular import.narrowPaneFontSizereturns its input unchanged. Its caller is the terminal view, so removing it waits for a browser-regression run.markdown.test.ts'sconsole.errorfilter does nothing on React 19.3.0 (checked).messageQueue.tsstill reads the old plain-text format.Validation
bun run check fast: passed (18,593 unit tests, typecheck, build, generated themes and types).i18n.test.tsandsrc/conventions.test.tsincluded. All pass.🤖 Generated with Claude Code