cmux/Sources
Lawrence Chen 1fa0f2bcb6
Add Open Folder command (Cmd+O) (#656)
* Add "Open Folder…" command to open a workspace at a chosen directory

Adds a native folder picker (NSOpenPanel) accessible from:
- Command Palette (⌘⇧P → "Open Folder…")
- File menu with ⌘O shortcut

Selecting a folder opens a new workspace at that path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Rename openRepository → openFolder, add customizable shortcut

- Rename command ID from palette.openRepository to palette.openFolder
- Register openFolder in KeyboardShortcutSettings (default: Cmd+O)
- Wire menu bar shortcut through settings instead of hardcoding
- Add commandPaletteShortcutAction mapping for shortcut hint display

* Dismiss command palette before showing Open Folder panel

The NSOpenPanel.runModal() call blocked the main thread, keeping the
command palette visible behind the file picker. Wrapping in
DispatchQueue.main.async lets the palette dismiss first.

* Trigger GitHub PR refresh

---------

Co-authored-by: michalstrnadel <michal.strnadel@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 16:28:18 -08:00
..
Find Break terminal find overlay retain cycle 2026-02-22 16:29:35 -08:00
Panels Fix browser eval: await promises, always-on console hooks, undefined detection (#613) 2026-02-27 01:42:27 -08:00
Update Fix notification bell hover crash by conditionally tracking hover (#574) 2026-02-26 14:26:28 -08:00
AppDelegate.swift Add command palette entries to install/uninstall cmux CLI in PATH (#626) 2026-02-27 01:53:13 -08:00
Backport.swift Polish browser suggestions, focus, and tagged reload flow 2026-02-14 21:33:28 -08:00
BrowserWindowPortal.swift Fix double-click titlebar zoom not working on browser panel side 2026-02-24 14:35:10 -08:00
cmuxApp.swift Add Open Folder command (Cmd+O) (#656) 2026-02-27 16:28:18 -08:00
ContentView.swift Add Open Folder command (Cmd+O) (#656) 2026-02-27 16:28:18 -08:00
GhosttyConfig.swift Cache Ghostty config loads on UI path 2026-02-25 15:15:34 -08:00
GhosttyTerminalView.swift Merge pull request #585 from manaflow-ai/fix/issue-552-trackpad-scroll-not-working 2026-02-27 11:44:51 -08:00
KeyboardLayout.swift Use typed unretained cast for input source ID 2026-02-25 02:45:55 -08:00
KeyboardShortcutSettings.swift Add Open Folder command (Cmd+O) (#656) 2026-02-27 16:28:18 -08:00
NotificationsPage.swift Adopt custom blue accent across active UI states 2026-02-24 14:22:58 -08:00
PortScanner.swift Avoid main-thread hops for explicit socket scope 2026-02-20 23:58:47 -08:00
PostHogAnalytics.swift Add telemetry opt-out setting (#610) 2026-02-26 22:02:29 -08:00
SentryHelper.swift Add telemetry opt-out setting (#610) 2026-02-26 22:02:29 -08:00
SessionPersistence.swift Fix session restore routing and browser history persistence 2026-02-24 14:34:55 -08:00
SidebarSelectionState.swift Implement session persistence pass 1 with multi-window restore 2026-02-22 15:39:59 -08:00
SocketControlSettings.swift Restore lazy keychain reads for socket password (#589) 2026-02-26 15:16:27 -08:00
TabManager.swift Add zoom/maximize focused pane in splits (#634) 2026-02-27 01:50:56 -08:00
TerminalController.swift Fix browser eval: await promises, always-on console hooks, undefined detection (#613) 2026-02-27 01:42:27 -08:00
TerminalNotificationStore.swift Optimize notification lookups with indexed store paths 2026-02-25 14:51:43 -08:00
TerminalView.swift Add sidebar blur effect with withinWindow blending (#9) 2026-02-04 03:04:45 -08:00
TerminalWindowPortal.swift Merge pull request #512 from manaflow-ai/fix/issue-483-terminal-portal-recovery 2026-02-25 18:12:39 -08: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 drag-handle crash on launch from stale foreign-window events (#490) (#620) 2026-02-27 01:42:17 -08:00
WindowToolbarController.swift Coalesce title notification updates to reduce main-thread hangs 2026-02-20 20:14:19 -08:00
Workspace.swift Add zoom/maximize focused pane in splits (#634) 2026-02-27 01:50:56 -08:00
WorkspaceContentView.swift Cache Ghostty config loads on UI path 2026-02-25 15:15:34 -08:00