beadboard/tests
zenchantlive 308a7d9b31 feat(ui): add AssignmentPanel with Needs Agent, Pre-assigned, Squad Roster
## The Feature Request
User wanted an enhanced sidebar panel showing:
- Tasks needing agents (ready but unassigned)
- Pre-assigned tasks waiting to start
- Active workers on current epic

## Design Collaboration
We discussed what each section should show:
1. **Needs Agent**: Actionable tasks (no blockers) without agent: label
2. **Pre-assigned**: Tasks with agent: label, not yet in_progress
3. **Squad Roster**: in_progress tasks with assignee

## Technical Implementation
- Uses useGraphAnalysis hook for actionableNodeIds
- Helper functions: hasAgentLabel(), getAgentLabels(), extractArchetypeIdFromLabel()
- Quick assign dropdown on each 'Needs Agent' item
- Archetype badges shown on 'Pre-assigned' items

## UI/UX Decisions
- Each section has count badge in header
- Max-height with scroll for each section
- Consistent styling with existing panel patterns
- Uses CSS variables for theming

## Test Coverage
- Added assignment-panel-sections.test.tsx with 5 TDD tests
- Tests verify: useGraphAnalysis import, section headers, filtering logic

## Beads: beadboard-b7t (closed)
2026-02-24 16:15:35 -08:00
..
api feat(swarm): modify unified-shell to render swarm layout 2026-02-20 17:25:05 -08:00
components feat(ui): add AssignmentPanel with Needs Agent, Pre-assigned, Squad Roster 2026-02-24 16:15:35 -08:00
guards feat(telemetry): complete bb-buff.1.3 - Backend Liveness Refactor 2026-02-15 21:14:05 -08:00
hooks feat(swarm): implement Swarm View remake with Operations, Archetypes, and Templates 2026-02-20 22:19:38 -08:00
lib chore: checkpoint before DAG views UX overhaul 2026-02-22 20:43:59 -08:00
scripts feat(telemetry): complete bb-buff.1.3 - Backend Liveness Refactor 2026-02-15 21:14:05 -08:00
server chore: checkpoint before DAG views UX overhaul 2026-02-22 20:43:59 -08:00
skills/beadboard-driver docs(beads): etch project history into memory bank and finalize skill-bb 2026-02-14 00:21:25 -08:00
types chore: initialize beadboard baseline 2026-02-11 17:42:51 -08:00
bootstrap.test.mjs chore: initialize beadboard baseline 2026-02-11 17:42:51 -08:00