Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add opt-in import existing worktrees option to new project modal#73

Merged
wesbillman merged 1 commit intomainfrom
matt2e/import-worktrees
Feb 12, 2026
Merged

feat: add opt-in import existing worktrees option to new project modal#73
wesbillman merged 1 commit intomainfrom
matt2e/import-worktrees

Conversation

@matt2e
Copy link
Contributor

@matt2e matt2e commented Feb 12, 2026

Screenshot 2026-02-12 at 12 18 24 pm Previously, existing git worktrees were automatically imported whenever a project was created or re-opened. This changes the behavior so that importing existing worktrees is opt-in via a checkbox in the New Project modal (defaulted to off).

This branch is based on ae8266b (fix: Skip main worktree on project import and remove main badge UI (#70)), which added logic to skip the main worktree during project import and removed the main badge UI. This PR builds on that by making the entire worktree import step opt-in rather than automatic.

Changes

  • Add import_worktrees parameter (Option<bool>, defaults to false) to the create_project Tauri command
  • Add importWorktrees parameter to the frontend createProject wrapper
  • Add 'Import existing worktrees' checkbox to NewProjectModal.svelte

Previously, existing git worktrees were automatically imported whenever a
project was created or re-opened. This changes the behavior so that
importing existing worktrees is opt-in via a checkbox in the New Project
modal (defaulted to off).

- Add import_worktrees parameter (Option<bool>, defaults to false) to the
  create_project Tauri command
- Add importWorktrees parameter to the frontend createProject wrapper
- Add 'Import existing worktrees' checkbox to NewProjectModal.svelte
@wesbillman wesbillman merged commit a2c4099 into main Feb 12, 2026
3 checks passed
@wesbillman wesbillman deleted the matt2e/import-worktrees branch February 12, 2026 20:20
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.

2 participants