-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Org Chart inline drag-drop agent reassignment #873
Copy link
Copy link
Closed
Labels
prio:mediumShould do, but not blockingShould do, but not blockingspec:company-structureDESIGN_SPEC Section 4 - Company StructureDESIGN_SPEC Section 4 - Company Structurespec:human-interactionDESIGN_SPEC Section 13 - Human Interaction LayerDESIGN_SPEC Section 13 - Human Interaction Layertype:featureNew feature implementationNew feature implementationv0.5Minor version v0.5Minor version v0.5v0.5.1Patch release v0.5.1Patch release v0.5.1
Description
Context
The Org Chart page (#778) supports CRUD via right-click context menus, but drag-drop reassignment of agents between departments is not yet implemented. The docs/design/page-structure.md defers inline graph editing to v0.6+, but the original issue (#778, absorbing #674) listed drag-drop as a deliverable.
Scope
- Drag agent nodes between department group nodes to reassign
- Visual feedback during drag: ghost preview, drop zone highlight (accent border + accent/5% background)
- Spring animation on drop settle (
springBouncypreset) - Invalid drop (outside any department) springs back to original position
- Optimistic update with rollback on API failure
- ARIA announcements for drag start/over/drop events
Design reference
docs/design/ux-guidelines.mdSection 3.4 (Drag-and-Drop spec)- Issue feat: Org Chart page (living nodes, status, CRUD, department health) #778 "CRUD Operations" section
Dependencies
- Backend API endpoint for agent department reassignment (may be part of feat: Company page (department/agent management, consistent cards) #786)
Deliverables
- React Flow
onNodeDrag+onNodeDragStopwith department drop target detection - Visual feedback (ghost, drop zone highlight, settle animation)
- Optimistic update with rollback
- Accessibility: ARIA live announcements
- Unit tests for drop target detection logic
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
prio:mediumShould do, but not blockingShould do, but not blockingspec:company-structureDESIGN_SPEC Section 4 - Company StructureDESIGN_SPEC Section 4 - Company Structurespec:human-interactionDESIGN_SPEC Section 13 - Human Interaction LayerDESIGN_SPEC Section 13 - Human Interaction Layertype:featureNew feature implementationNew feature implementationv0.5Minor version v0.5Minor version v0.5v0.5.1Patch release v0.5.1Patch release v0.5.1