Skip to content

fix: health + kanban polish — dim ghost agents, scroll columns, humanize durations#557

Merged
itskai-dev merged 3 commits intomainfrom
pixel/health-kanban-polish
Mar 1, 2026
Merged

fix: health + kanban polish — dim ghost agents, scroll columns, humanize durations#557
itskai-dev merged 3 commits intomainfrom
pixel/health-kanban-polish

Conversation

@itskai-dev
Copy link
Collaborator

What

Visual polish for Health page and Tasks kanban based on dashboard audit.

Changes

  1. Ghost agent dimming — agents >30 days stale get .stale-ghost class (35% opacity, sorted to end of grid). Active agents stay prominent.

  2. Kanban column scroll — columns capped at max-height: 75vh with thin scrollbar. The todo column with 50+ tasks no longer stretches the page infinitely. Mobile columns retain full height (stacked layout doesn't need scroll).

  3. Duration humanization — compliance values like 9999m now display as 6d, 120m as 2h, etc. New formatDurationMin() helper. Affects both SLA chips and agent table.

Testing

  • npm test: 1524 passed, 1 skipped, 3 pre-existing failures (not related)
  • Visual testing at 1440px

Task: task-1772328789365-1xzpj07k5

- api.test.ts: use invalid priority to trigger validation error
  (missing fields no longer fail on todo tasks)
- modules.test.ts: use {status, body} destructuring instead of
  res.json() (inject returns plain object, not fetch Response)
…t, humanize durations

- Add .stale-ghost class for agents >30 days stale (35% opacity, sorted last)
- Kanban columns capped at 75vh with overflow-y scroll (thin scrollbar)
- Mobile kanban columns retain full height (stacked, no scroll needed)
- Compliance durations humanized: 9999m → 6d, 120m → 2h (formatDurationMin)
- No test regressions (3 pre-existing failures in modules.test.ts)
@itskai-dev itskai-dev requested a review from ryancampbell as a code owner March 1, 2026 02:18
@itskai-dev itskai-dev merged commit 4d6dd44 into main Mar 1, 2026
10 checks passed
@itskai-dev itskai-dev deleted the pixel/health-kanban-polish branch March 1, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant