cmux/Sources
Lawrence Chen 6849b83f8d
Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204)
* Add typing hot path timing diagnostics

* Add stress workspace debug menu item

* Restore stress workspace preload debug path

* Reduce typing lag from sidebar re-evaluation and hitTest overhead

hitTest: gate divider/sidebar/drag routing to pointer events only,
avoiding two full view-tree walks per non-pointer event.

forceRefresh: replace per-keystroke ISO8601DateFormatter + FileHandle
I/O with dlog() in DEBUG builds.

TabItemView: replace @EnvironmentObject subscriptions with plain refs
and precomputed parameters, add Equatable conformance to skip body
re-evaluation when parent rebuilds with unchanged values. @self changed
re-evaluations dropped from 668 to 1 during rapid typing.

* Add typing-latency guardrail comments and CLAUDE.md pitfalls

Strategic comments on hitTest, TabItemView, and forceRefresh to prevent
future regressions. Adds typing-latency-sensitive paths to CLAUDE.md
pitfalls section so agents know the constraints before editing.

* Add workspace palette actions and fix release autosave typing guard

Add Move Up/Down/Top, Close Other/Above/Below, Mark Read/Unread to
Cmd+Shift+P command palette and a Workspace submenu in the menu bar.

Fix recordTypingActivity() being gated behind #if DEBUG, which prevented
release builds from honoring the typing quiet period in autosave.
2026-03-11 17:54:02 -07:00
..
Find Add browser find focus debug logs (#1162) 2026-03-10 19:31:52 -07:00
Panels Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
Update Add Jump to Latest to the notifications popover (#1167) 2026-03-10 19:30:17 -07:00
AppDelegate.swift Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
AppleScriptSupport.swift Update ghostty to v1.3.0 (#1142) 2026-03-09 21:32:54 -07:00
Backport.swift Polish browser suggestions, focus, and tagged reload flow 2026-02-14 21:33:28 -08:00
BrowserWindowPortal.swift Stabilize inline developer tools hosting 2026-03-11 04:17:37 -07:00
cmuxApp.swift Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
ContentView.swift Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
GhosttyConfig.swift Honor Ghostty background-opacity across all cmux chrome (#667) 2026-03-01 03:48:46 -08:00
GhosttyTerminalView.swift Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
KeyboardLayout.swift Fix Dvorak Cmd+C colliding with notifications shortcut (#762) 2026-03-05 18:32:42 -08:00
KeyboardShortcutSettings.swift Revert "Add workspace pages in the titlebar (#1030)" (#1040) 2026-03-07 00:05:58 -08:00
NotificationsPage.swift Add Jump to Latest to the notifications popover (#1167) 2026-03-10 19:30:17 -07:00
PortScanner.swift Avoid main-thread hops for explicit socket scope 2026-02-20 23:58:47 -08:00
PostHogAnalytics.swift Flush PostHog hourly active events immediately (#934) 2026-03-05 04:00:04 -08:00
SentryHelper.swift Auto-heal missing CLI listener socket (#679) 2026-02-28 01:19:38 -08:00
SessionPersistence.swift Revert "Add workspace pages in the titlebar (#1030)" (#1040) 2026-03-07 00:05:58 -08:00
SidebarSelectionState.swift Implement session persistence pass 1 with multi-window restore 2026-02-22 15:39:59 -08:00
SocketControlSettings.swift feat: add Japanese localization with String Catalog (#819) 2026-03-04 14:58:28 -08:00
TabManager.swift Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
TerminalController.swift Polish welcome, feedback, and shortcuts flows (#1169) 2026-03-10 20:59:34 -07:00
TerminalNotificationStore.swift Fix notification ring dismissal on direct terminal clicks (#1126) 2026-03-09 17:55:07 -07:00
TerminalView.swift Add sidebar blur effect with withinWindow blending (#9) 2026-02-04 03:04:45 -08:00
TerminalWindowPortal.swift Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
UITestRecorder.swift Fix frozen terminals after split churn (#12) 2026-02-13 16:45:31 -08:00
WindowAccessor.swift Polish browser suggestions, focus, and tagged reload flow 2026-02-14 21:33:28 -08:00
WindowDecorationsController.swift Refine settings/about titlebar styling and controls alignment 2026-02-14 02:11:35 -08:00
WindowDragHandleView.swift Fix re-entrant exclusive-access crash in drag handle hit test (#771) 2026-03-02 19:20:14 -08:00
WindowToolbarController.swift Coalesce title notification updates to reduce main-thread hangs 2026-02-20 20:14:19 -08:00
Workspace.swift Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
WorkspaceContentView.swift Keep internal tab drags out of Finder 2026-03-10 21:41:42 -07:00