Commit graph

771 commits

Author SHA1 Message Date
Lawrence Chen
459a0289c1
Fix titlebar shortcut hint clipping (#1259)
* Add regression test for titlebar shortcut hint clipping

* Fix titlebar shortcut hint clipping
2026-03-12 03:27:10 -07:00
Lawrence Chen
402ce7f76c
Merge pull request #1243 from manaflow-ai/issue-1241-cmd-window-cycle-switches-back
Fix cmd+` window cycling bouncing back
2026-03-12 02:51:40 -07:00
Lawrence Chen
8d5a1f611d
Resync terminal portals after sidebar changes (#1253)
* Add regression test for portal ancestor shifts

* Resync terminal portals after sidebar changes

* Restore safeHelp view helper

* Fix portal geometry regression test harness
2026-03-12 02:46:30 -07:00
Lawrence Chen
e9556ba5f4 Prevent background terminal focus retries from reordering windows 2026-03-12 02:20:10 -07:00
Lawrence Chen
2db9bb4b86 Fix cmd+backtick window cycling 2026-03-12 01:53:59 -07:00
Austin Wang
378a417471
Merge pull request #1230 from manaflow-ai/issue-1183-devtools-side-dock-guard
Prevent attached DevTools from re-entering unsafe side-dock layouts
2026-03-11 23:32:19 -07:00
austinpower1258
f843ce2706 Hide unsafe side dock controls for attached devtools 2026-03-11 23:04:28 -07:00
austinpower1258
72e7a9de76 Adapt attached devtools to narrow panes 2026-03-11 22:56:39 -07:00
austinpower1258
c52bd24e85 Avoid browser portal hide lifecycle on tab switch 2026-03-11 22:52:29 -07:00
austinpower1258
df54af34cf Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue-1183-devtools-resize-layout
# Conflicts:
#	cmuxTests/CmuxWebViewKeyEquivalentTests.swift
2026-03-11 22:16:07 -07:00
austinpower1258
7d5d4d718d wip 2026-03-11 22:13:45 -07:00
austinpower1258
27e598ca5a Address CI blockers and review follow-ups 2026-03-11 21:13:25 -07:00
austinpower1258
7c29652971 Avoid browser portal refresh on geometry churn 2026-03-11 21:03:26 -07:00
Lawrence Chen
89def5ed52
Prompt before closing window with Cmd+Ctrl+W (#1219)
* Add UI test for close-window confirmation

* Confirm before closing window

* Fix close-window confirmation tests
2026-03-11 20:37:37 -07:00
Lawrence Chen
7844226ded Fix browser devtools hide fallback 2026-03-11 20:18:46 -07:00
austinpower1258
8aafb68935 Fix browser pane drag/drop follow-ups 2026-03-11 19:16:17 -07:00
austinpower1258
1dbd1e5011 Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue-1208-browser-pane-stale-content 2026-03-11 18:54:12 -07:00
austinpower1258
81618bf3cf Fix stale browser pane content after drag splits 2026-03-11 18:46:33 -07:00
Lawrence Chen
320451e1f6
Merge pull request #1212 from manaflow-ai/task-browser-page-pushed-up
Fix bottom-docked DevTools page shift
2026-03-11 18:36:17 -07:00
Lawrence Chen
e35e1cd94c Merge remote-tracking branch 'origin/main' into task-browser-page-pushed-up
# Conflicts:
#	cmuxTests/CmuxWebViewKeyEquivalentTests.swift
2026-03-11 18:33:03 -07:00
austinpower1258
978f72b7e9 Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue-1208-browser-pane-stale-content 2026-03-11 18:32:26 -07:00
austinpower1258
5233874425 ok 2026-03-11 18:32:23 -07:00
Austin Wang
dcdb385633
Merge pull request #1213 from manaflow-ai/issue-1209-drag-hover-flicker
Fix panel drag hover terminal flicker
2026-03-11 18:32:10 -07:00
austinpower1258
379150a6c1 Move terminal drop overlay outside hosted view 2026-03-11 18:30:14 -07:00
austinpower1258
c7bbb72e09 Add terminal drop overlay container regression test 2026-03-11 18:26:25 -07:00
Lawrence Chen
5d82a29f45 Repair local-host devtools reparent geometry 2026-03-11 18:21:41 -07:00
austinpower1258
90ca63690a Defer terminal resize while drop hover is active 2026-03-11 18:18:55 -07:00
austinpower1258
67f81e64f0 Add drag hover terminal resize regression test 2026-03-11 18:16:31 -07:00
Lawrence Chen
fbd04ca09e Repair bottom-docked devtools page frame 2026-03-11 18:11:18 -07:00
Lawrence Chen
fce5545675 Yield hidden browser slot responders 2026-03-11 18:10:27 -07:00
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
austinpower1258
06c5cac4df Stabilize docked devtools side resize 2026-03-11 12:26:19 -07:00
austinpower1258
8b66628b19 Route inline inspector hits to native webkit 2026-03-11 04:21:49 -07:00
austinpower1258
63787c26b1 Stabilize inline developer tools hosting 2026-03-11 04:17:37 -07:00
Lawrence Chen
0a9aff38d1
Merge pull request #1177 from manaflow-ai/task-nightly-main-concurrency-cancel
Fix nightly main cancellation noise and release build break
2026-03-10 22:06:23 -07:00
Lawrence Chen
bcb712fde4
Merge pull request #1173 from manaflow-ai/task-browser-pane-devtools-resize-disappear
Preserve browser devtools when resizing pane
2026-03-10 21:48:39 -07:00
Lawrence Chen
0c3d53129d Fix nightly release build welcome command helper 2026-03-10 21:48:36 -07:00
Lawrence Chen
83c7c9ee19 Guard portal refreshes and reset plain reattached web views 2026-03-10 21:41:49 -07:00
Lawrence Chen
1c25c6bd30 Keep internal tab drags out of Finder 2026-03-10 21:41:42 -07:00
Lawrence Chen
3ca11a5e00 Keep off-window local hosts from stealing devtools view 2026-03-10 21:12:18 -07:00
Lawrence Chen
6f8f5a6ac0 Keep hidden portal sync from stealing devtools host 2026-03-10 21:04:08 -07:00
Lawrence Chen
52783bddf0
Polish welcome, feedback, and shortcuts flows (#1169)
* Add cmux welcome command with ASCII logo and shortcuts

Adds `cmux welcome` CLI command that prints a blue-to-purple gradient
chevron logo, version info, and key shortcuts. Auto-runs once on first
workspace creation via UserDefaults. Adds "Welcome" to the ? help menu
in the sidebar footer, which opens a new workspace running the command.

* Polish welcome, feedback, and shortcuts flows
2026-03-10 20:59:34 -07:00
Lawrence Chen
359ada8a3f Preserve side-docked browser devtools layout on pane resize 2026-03-10 20:42:26 -07:00
Austin Wang
d25067f38f
Merge pull request #1170 from manaflow-ai/fix-1160-devtools-loop
Fix side-docked browser DevTools resizing
2026-03-10 20:12:17 -07:00
austinpower1258
91061ce341 Fix side-docked browser DevTools resizing 2026-03-10 19:49:06 -07:00
Lawrence Chen
ec10dfdaec
Add browser find focus debug logs (#1162)
* Add browser find focus debug logs

* Allow browser find bar focus in portal host

* Add split and terminal find debug logs

* Avoid stealing search focus across splits

* Generalize panel focus restore intent

* Unify split focus intent activation

* Address focus restore review feedback

* Yield inactive panel focus before restore

* Gate browser find focus retries by generation

* Avoid repeated browser focus invalidation

* Keep browser find ownership while find bar is open
2026-03-10 19:31:52 -07:00
Lawrence Chen
527dfa6292
Add Jump to Latest to the notifications popover (#1167)
* Add jump-to-latest button to notifications popover

* Fix jump-to-latest popover accessibility

* Relax shortcut badge UI test expectation

* Stabilize jump-to-latest UI coverage

* Keep popover notification actions visible when empty

* Inline jump-to-latest shortcut label

* Match jump-to-latest shortcut label styling
2026-03-10 19:30:17 -07:00
austinpower1258
eea6cdc1bd works 2026-03-10 19:18:30 -07:00
Lawrence Chen
6b6d551f62
Constrain notification sound picker width (#1168) 2026-03-10 18:45:02 -07:00
austinpower1258
424421e51c Fix split zoom portal layering across pane types 2026-03-10 13:08:44 -07:00