beadboard/tests/components
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
..
graph feat(ui): add AssignmentPanel with Needs Agent, Pre-assigned, Squad Roster 2026-02-24 16:15:35 -08:00
sessions chore: add utility scripts and additional test coverage 2026-02-15 21:19:31 -08:00
shared refactor: BaseCard hard style shadow, SocialCard blocking lists, AgentAvatar ZFC states 2026-02-16 22:41:56 -08:00
social feat(ui3): elegant earthy task feed redesign 2026-02-16 23:20:47 -08:00
swarm feat(swarm): modify unified-shell to render swarm layout 2026-02-20 17:25:05 -08:00
unified-shell.test.tsx chore: checkpoint before DAG views UX overhaul 2026-02-22 20:43:59 -08:00