Commit 82e39a0
feat(FR-2593): implement VFolder creation modal using V2 GraphQL mutation
Resolves #6755(FR-2593)
- Create FolderCreateModalV2.tsx using Relay useMutation with createVfolderV2
- Map form values to CreateVFolderV2Input (usageMode, projectId, permission, cloneable)
- Map V2 response (VFolder with nested metadata/accessControl/ownership) back to FolderCreationResponse for backward compatibility
- Keep useTanQuery for list_allowed_types() since no V2 equivalent exists
- Update all consumers to import FolderCreateModalV2
- Original FolderCreateModal.tsx left untouched per epic guidelines
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 87e108b commit 82e39a0
9 files changed
Lines changed: 686 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
| 541 | + | |
542 | 542 | | |
543 | 543 | | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
| 544 | + | |
556 | 545 | | |
557 | 546 | | |
558 | 547 | | |
| |||
0 commit comments