Skip to content

Fix project group move and management actions - #7023

Draft
jtalborough wants to merge 1 commit into
stablyai:mainfrom
jtalborough:jtalborough/groups
Draft

jtalborough wants to merge 1 commit into
stablyai:mainfrom
jtalborough:jtalborough/groups

Conversation

@jtalborough

@jtalborough jtalborough commented Jul 1, 2026 •

Copy link
Copy Markdown

Summary

  • Filter project-group move targets to groups owned by the same execution host as the project.
  • Reject incompatible project/group moves in the repo store before they reach local or runtime persistence.
  • Add current-group rename/delete actions to the workspace context menu so groups remain manageable when Group by is set to None.

Root Cause

The sidebar listed every project group as a move target, but project-group membership is persisted by the project's owning host. When a group belonged to another local/SSH/runtime host, that backend did not recognize the group id and normalized the project back to ungrouped. Group edit/delete actions were also only attached to rendered project-group headers, which disappear outside Project grouping.

Validation

  • pnpm exec vitest run --config config/vitest.config.ts src/shared/project-group-move-targets.test.ts src/renderer/src/store/slices/repos-project-groups.test.ts
  • pnpm run typecheck:web

Open in Stage

ELI5

Moving a project into a group on another host could break persistence. Only same-host groups are offered, and rename/delete work even when Group by is None.

@ghost

ghost commented Jul 1, 2026

Copy link
Copy Markdown

Ready to review this PR? Stage has broken it down into 4 individual chapters for you:

Title
1 Define project group move validation logic
2 Enforce host compatibility in repo store
3 Filter move targets in the UI
4 Add group management to workspace context menu
Open in Stage

Chapters generated by Stage for commit 03cd5d5 on Jul 1, 2026 1:46pm UTC.

@AmethystLiang
AmethystLiang requested a review from Jinwoo-H July 1, 2026 16:51
@AmethystLiang AmethystLiang assigned OrcaWin and unassigned Jinwoo-H Jul 20, 2026
@AmethystLiang
AmethystLiang requested review from OrcaWin and removed request for Jinwoo-H July 20, 2026 18:42
@nwparker nwparker added the bug Something isn't working label Jul 27, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants