Skip to content

fix(projects): the deletion dialog no longer says all linked worktree history is kept (#1374) - #1403

Merged
devsuitup merged 2 commits into
mainfrom
fix/1374-delete-dialog-worktrees
Nov 29, 2026
Merged

devsuitup merged 2 commits into
mainfrom
fix/1374-delete-dialog-worktrees

Conversation

@devsuitup

Copy link
Copy Markdown
Owner

Closes #1374

Summary

The project deletion dialog said "Linked worktree history is kept in Switchboard." for every project. Since grouped ownership, sessions of worktrees in recognised layouts (.worktrees, .claude-worktrees, .claude/worktrees, .work-files/worktrees under an ancestor repository) are grouped under the repository and discarded or archived with it. The sentence now reads: "Worktree session metadata grouped under this project is discarded or archived with it. Independently owned worktree history is kept in Switchboard." The dialog shows one message for every plan, so the wording is conditional on ownership rather than split per case. Other sentences unchanged.

test/fixtures/theme-dark.json: the sidebar.js hash follows the text change (no color touched).

Tests

test/dom-project-delete-history.test.js (new, 16 cases): visible prose against real planner previews for both metadata choices, selected/unselected folders, grouped, independently owned and absent histories. RED before the change: all 16 failed (visible wording must explain that grouped worktree metadata follows the project choice). Mutation restoring the old promise: 16 fail. test/theme.test.js 23/23.

Docs

docs/settings.md (Delete Project), .ai/contexts/project-delete.md ("Deletion dialog and worktree history"), CHANGELOG.md Fixed.

… history is kept (#1374)

Worktree sessions in recognised layouts are grouped under the repository and
are discarded or archived with it; only independently owned worktree history
is kept. The theme fixture hash follows the sidebar.js text change.
@devsuitup
devsuitup merged commit ce415e8 into main Nov 29, 2026
10 checks passed
@devsuitup
devsuitup deleted the fix/1374-delete-dialog-worktrees branch November 29, 2026 14:23
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.

(projects): deletion dialog may still say linked worktree history is kept

1 participant