-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or requestkilo-auto-fixAuto-generated label by KiloAuto-generated label by Kilokilo-triagedAuto-generated label by KiloAuto-generated label by Kilo
Description
Parent
Part of #204 (Phase 4: Hardening)
Problem
Agent cards on both the town overview page and rig detail page are not sorted by status. Active (working) agents appear in arbitrary order alongside idle and exited agents. When a town has 10+ agents, finding the ones currently doing work requires scanning the entire list.
Solution
Sort agent cards by status with active agents at the top:
working— currently processing a beadstarting— being dispatchedidle— available for workexited/failed— terminal states at the bottom
Within each status group, sort by last_activity_at descending (most recently active first).
Acceptance Criteria
- Town overview page agent list sorted by status (working at top)
- Rig detail page agent roster sorted by status (working at top)
- Secondary sort by
last_activity_atdescending within each status group - Sort updates reactively as agent statuses change (no page refresh needed)
Notes
- No data migration needed
- This can be done client-side (sort the query results before rendering) or server-side (ORDER BY in the query). Client-side is simpler since the data is already fetched.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestkilo-auto-fixAuto-generated label by KiloAuto-generated label by Kilokilo-triagedAuto-generated label by KiloAuto-generated label by Kilo