fix: sort thread list newest-first and differentiate status colors #192

Merged
xiaoju merged 2 commits from fix/191-dashboard-thread-sort into main 2026-05-11 12:16:20 +00:00
Owner

What

Sort dashboard thread list in reverse chronological order and use distinct status label colors.

Why

Threads appeared in insertion order making it hard to find recent ones (#191). Completed and active status badges used the same muted color.

Changes

  • packages/workflow-dashboard/src/components/thread-list.tsx — sort threads by startedAt descending; completed uses green (0.7 opacity), active uses accent color (blue)

Ref

Fixes #191

## What Sort dashboard thread list in reverse chronological order and use distinct status label colors. ## Why Threads appeared in insertion order making it hard to find recent ones (#191). Completed and active status badges used the same muted color. ## Changes - `packages/workflow-dashboard/src/components/thread-list.tsx` — sort threads by `startedAt` descending; completed uses green (0.7 opacity), active uses accent color (blue) ## Ref Fixes #191
xiaoju added 1 commit 2026-05-11 12:10:09 +00:00
- Sort threads by startedAt descending (newest first)
- completed: green (dimmed) — distinct from running (green, full opacity)
- active: accent color (blue) — was same muted gray as completed
- failed: red — unchanged
- running: green — unchanged

Fixes #191
xiaoju added 1 commit 2026-05-11 12:14:57 +00:00
- Sort: threads without startedAt pushed to bottom (not random)
- Colors: completed=success(green), running/active=accent(blue), failed=error(red)
- Remove opacity hack, simplify ternary

小橘 <xiaoju@shazhou.work>
xiaoju merged commit 626cb5d98e into main 2026-05-11 12:16:20 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#192