Repository navigation
fix(projects): the deletion dialog no longer says all linked worktree history is kept (#1374) - #1403
Merged
Merged
Conversation
… 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.
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.
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/worktreesunder 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: thesidebar.jshash 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.js23/23.Docs
docs/settings.md(Delete Project),.ai/contexts/project-delete.md("Deletion dialog and worktree history"),CHANGELOG.mdFixed.