cmux/Sources/Panels
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
..
BrowserPanel.swift Stabilize docked devtools side resize 2026-03-11 12:26:19 -07:00
BrowserPanelView.swift Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
CmuxWebView.swift Reduce typing lag from sidebar re-evaluation and hitTest overhead (#1204) 2026-03-11 17:54:02 -07:00
MarkdownPanel.swift feat: add markdown viewer panel with live file watching (#883) 2026-03-04 17:48:28 -08:00
MarkdownPanelView.swift Make missing markdown path selectable (#1042) 2026-03-07 02:15:55 -08:00
Panel.swift Add browser find focus debug logs (#1162) 2026-03-10 19:31:52 -07:00
PanelContentView.swift Fix browser pane portal anchor sizing (#1094) 2026-03-09 13:28:05 -07:00
TerminalPanel.swift Add browser find focus debug logs (#1162) 2026-03-10 19:31:52 -07:00
TerminalPanelView.swift Fix terminal Cmd+F overlay layering and add regression guardrails 2026-02-22 15:25:30 -08:00