Skip to content

feat(repo): open several repositories at once#18

Merged
danielss-dev merged 2 commits into
mainfrom
developements/multi-repo-open
Jul 1, 2026
Merged

feat(repo): open several repositories at once#18
danielss-dev merged 2 commits into
mainfrom
developements/multi-repo-open

Conversation

@danielss-dev

Copy link
Copy Markdown
Owner

Summary

Batch-open multiple repositories, each as its own tab.

  • Multi-select pickerpickRepoDirectorypickRepoDirectories (multiple: true). The Open action (⌘O / topbar + / command palette) now takes several folders at once.
  • Multi-folder drag-drop — dropping several folders onto the window opens all of them, instead of only payload.paths[0].
  • App.openMany — opens the batch sequentially via the existing openByPath (progress popup + per-repo error handling), mirroring how restoreSession loops. Sequential on purpose: parallel opens would race the shared active-tab state and the single progress popup. A non-repo folder in the batch fails without aborting the rest; the last to open successfully ends up active.

No backend changes — the Tauri layer was already multi-repo (open_paths set, per-path watchers, path-parameterized commands).

Also includes a small UI tweak: the repo tab/rail context-menu action is shortened from "Customize icon…" to "Customize…" in both layout modes.

Test plan

  • pnpm --filter ./ui exec tsc --noEmit — green.
  • Manual (needs the running app): ⌘O → select 2–3 folders → each opens as a tab; drag 2+ folders onto the window → each opens as a tab; a non-repo folder in the selection surfaces an error without blocking the others.

🤖 Generated with Claude Code

danielss-dev and others added 2 commits July 1, 2026 19:17
Multi-select in the native picker (⌘O / topbar + / command palette) and
multi-folder drag-drop now open every chosen folder as its own tab,
routed through a new sequential App.openMany that reuses openByPath
(mirrors session restore; parallel opens would race the shared active-tab
state and the progress popup). pickRepoDirectory becomes
pickRepoDirectories with multiple: true.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rename the repo tab/rail context-menu label from "Customize icon…" to
"Customize…" in both layout modes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@danielss-dev danielss-dev merged commit 0371e47 into main Jul 1, 2026
2 checks passed
@danielss-dev danielss-dev deleted the developements/multi-repo-open branch July 1, 2026 17:18
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.

1 participant