Skip to content

feat(desktop): open workspaces in native apps - #638

Open
pascalandr wants to merge 4 commits into
NeuralNomadsAI:devfrom
pascalandr:feat/issue-570-open-workspace-actions
Open

feat(desktop): open workspaces in native apps#638
pascalandr wants to merge 4 commits into
NeuralNomadsAI:devfrom
pascalandr:feat/issue-570-open-workspace-actions

Conversation

@pascalandr

Copy link
Copy Markdown
Contributor

Summary

  • add project folder, terminal, and explicit editor actions to the command palette and native File menus
  • replace the Files-row copy button with desktop context actions while preserving internal file navigation and web/remote copy fallback
  • resolve trusted workspace roots through the authenticated local server and enforce canonical path containment in Electron and Tauri
  • use safe platform launch policies, including Windows Open/Edit/Open With handling and executable rejection on Unix
  • localize all new UI actions across supported locales

Validation

  • npm run typecheck
  • npm run test:native --workspace @neuralnomads/codenomad-electron-app (122 passed)
  • cargo test (86 passed)
  • npm run build
  • git diff --check
  • independent security, platform, and UX reviews: zero findings

Closes #570

Expose project-folder, terminal, and explicit editor actions through the command palette and native File menus. Add context actions to Files rows while preserving the existing internal navigation behavior and copy-path fallback for web and remote windows.

Resolve workspace and worktree roots through the authenticated local server in Electron and Tauri. Canonicalize selected paths, reject workspace escapes and unsafe executable opening, and launch platform tools without interpolating paths into a general-purpose shell.

Cover path confinement, Windows open modes, editor selection, and terminal launch behavior. Validate with the full Electron and Tauri test suites, typechecks, and the Electron production build.
Remove per-editor launch entries from directory row overflow menus while retaining file-manager, terminal, and copy-path actions. Project-level editor actions remain available from the command palette and native File menu.

Validated with the UI and Electron typechecks.
…tions' into feat/issue-570-open-workspace-actions
@pascalandr

Copy link
Copy Markdown
Contributor Author

@shantur LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Open: Folder - Terminal - Editor

2 participants