Skip to content

fix(project-groups): detach folders with chats safely - #1351

Merged
vastsa merged 2 commits into
mainfrom
fix/project-group-folder-delete
Oct 3, 2026
Merged

vastsa merged 2 commits into
mainfrom
fix/project-group-folder-delete

Conversation

@vastsa

@vastsa vastsa commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Summary

Allow an additional folder with existing chats to be detached from a multi-folder project group. Its chats remain reachable through a standalone project, and deleting that project remains a separate explicit action that preserves the folder on disk.

Update the project-group and project-delete specs, E2E scenario, and all shipped locale descriptions.

Validation

  • pnpm check:pr-base — passed against e65975048
  • CARGO_TARGET_DIR=/Users/lan/Project/opensource/PI-Desktop/target cargo test -p host-core --locked — 748 passed
  • cargo clippy -p host-core --all-targets --locked — passed
  • cargo fmt --check — passed
  • pnpm --filter @pi-desktop/i18n test — 29 passed
  • node --test apps/desktop/test/project-edit.test.mjs — 6 passed
  • PI_DESKTOP_ELECTRON_BIN=/tmp/pi-desktop-electron-headless node scripts/e2e-project-edit.mjs — passed

Allow secondary group folders with existing chats to detach while preserving their standalone project projection. This removes the group-delete deadlock and keeps chat deletion as a separate explicit action.
Copilot AI balanced review requested due to automatic review settings October 3, 2026 14:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Keep the Chinese E2E plan aligned with the new detach behavior and its English acceptance coverage so documentation validation sees matching locale structure.
@vastsa
vastsa merged commit 80bdd98 into main Oct 3, 2026
4 checks passed
@vastsa
vastsa deleted the fix/project-group-folder-delete branch October 3, 2026 14:53
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