feat(file): add file opening workflows — native dialog, Cmd+O/Cmd+P#56
Merged
feat(file): add file opening workflows — native dialog, Cmd+O/Cmd+P#56
Conversation
- Add FILE_OPEN_DIALOG IPC channel: calls dialog.showOpenDialog() with multi-select, no type filter, starts in current CWD - Add FILE_LIST IPC channel: recursive file listing via git ls-files (respects .gitignore) with fallback manual walker - Add Cmd+O shortcut → native file dialog (opens multiple files as tabs) - Add Cmd+P shortcut → QuickOpenOverlay with fuzzy file search - Add "Open File..." and "Quick Open" commands to command palette - Add recentFiles tracking in workspace store (persisted to localStorage, max 20 entries) — shown in quick open when no query - QuickOpenOverlay: shows recent files initially, fuzzy-matches on typing, highlights matched chars, arrow key/enter/escape navigation, 8 results - Fix pre-existing unused variable warning in StarCommandTab Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nd palette comm… Signed-off-by: Fleet - Starcommand
This was referenced Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mission 4 of the File Editor feature: adds three UI entry points for opening files.
Implementation
New IPC channels
file:open-dialog— callsdialog.showOpenDialog()with multi-select, starts in provideddefaultPathfile:list— lists files recursively; usesgit ls-files(respects.gitignore) with fallback manual walkerFiles changed
src/shared/constants.ts— two new IPC channelssrc/main/ipc-handlers.ts— handlers for both channelssrc/preload/index.ts— exposefile.openDialog()andfile.list()src/renderer/src/lib/shortcuts.ts—open-file(Cmd+O) andquick-open(Cmd+P)src/renderer/src/lib/commands.ts— two new commandssrc/renderer/src/store/workspace-store.ts—recentFilesstate +addRecentFile(), localStorage persistencesrc/renderer/src/hooks/use-pane-navigation.ts— keyboard handlers for Cmd+O/Cmd+Psrc/renderer/src/components/QuickOpenOverlay.tsx— new componentsrc/renderer/src/App.tsx— wire event listeners and render overlayTest plan
npm run buildpasses ✅🤖 Generated with Claude Code