← Back to Roadmap

Task 2: Dashboard UI Overhaul

4-5 days Frontend lead

Current Issue / Scenario

No design system. The AO dashboard has inconsistent spacing, colors, and component styles. Prateek (stakeholder) said "make the look and feel better." T3 Code's interface was noted as superior.

Current State

AspectCurrent
Stackpackages/web/ — Next.js 15 + React 19 + Tailwind 4 + custom components
ComponentsDashboard, SessionCard, SessionDetail, Terminal, ProjectSidebar, CIBadge, PRStatus, DirectTerminal, AttentionZone, DynamicFavicon
Light themeToggle implemented but needs polish — colors feel washed out
KanbanAlready implemented but needs more visual refinement
Design tokensPartial — uses custom CSS vars (--color-status-ready, --color-status-error, etc.) but no unified system
SessionCardHas AttentionLevel system (6 levels: merge, respond, review, pending, working, done) with border colors. Functional but visually basic.
TransitionsMinimal — components feel static, no loading states
Why this matters: The dashboard is AO's key differentiator over CLI-only competitors. If it looks amateur, that advantage evaporates. T3 Code and 1code have polished UIs that make AO's look rough by comparison.

What To Do

Multi-Project Dashboard UX

AO runs as a single instance managing multiple projects on one machine (one port, one dashboard). The current ProjectSidebar handles project switching, but the UX needs significant work for multi-project and multi-orchestrator-session scenarios.

Key decisions already made:

Prior research: Multi-Orchestrator Dashboard Design Doc — covers sidebar layout, session grouping, status indicators, and the full interaction model.

Why multi-project UX matters: Most competitors are single-project CLIs. AO's multi-project dashboard is a genuine differentiator — but only if the UX is good. A confusing sidebar that mixes projects and sessions will frustrate power users.

How We Will Do It

References

ToolWhat to learn
1code (21st-dev)Cursor-like desktop UI. Clean diff previews, Kanban board, built-in git client. Sets the bar for polish.
Goose (Block)Radix + Tailwind — same stack as AO. Good reference for component patterns.
T3 CodeSpecifically noted by Prateek as having a superior interface. Study their layout and interactions.
Figma filesPrateek may have Figma designs — align implementation with those.
Multi-Orchestrator Dashboard ResearchPrior research doc covering sidebar layout, session grouping, project switching, and multi-orchestrator interaction model. Use as the spec for multi-project UI work.

Implementation Plan

Visual Audit

Screenshot every screen and component in both light and dark themes. Create a spreadsheet of inconsistencies: different paddings, mismatched colors, missing states. Prioritize by visibility (SessionCard > Terminal > Sidebar).

Design Tokens

Extend Tailwind config with semantic design tokens. Define spacing scale, color palette (semantic names like surface, muted, accent), border radii, shadow levels. Both light and dark variants.

// tailwind.config.ts
theme: {
  extend: {
    colors: {
      surface: { DEFAULT: '#161b22', light: '#f6f8fa' },
      card: { DEFAULT: '#1c2128', light: '#ffffff' },
      // ...
    }
  }
}

SessionCard Redesign

The most-seen component. Improve: status badge (color-coded dot + label), agent icon, time elapsed, progress bar for active sessions, hover state with subtle elevation, action buttons (view, stop, restart).

Terminal Styling

Better font rendering with JetBrains Mono or similar. Custom scrollbar. Improved selection colors. Better contrast between stdout/stderr. Proper ANSI color support in light theme.

Loading / Empty / Error States

Replace spinners with skeleton screens (Radix Skeleton). Empty states with helpful text ("No sessions running. Start one with ao start"). Error states with clear messages and retry buttons.

Transitions & Animations

Add CSS transitions for theme toggle (smooth color shift). Card hover effects. Page transitions between Dashboard → SessionDetail. Kanban drag-and-drop visual feedback.

Light Theme Polish

Go beyond "inverted dark theme." Proper light-mode shadows (subtle, not harsh). Adjusted contrast ratios. Distinct surface hierarchy (white → off-white → light gray). Test all components in light mode.

Multi-Project Sidebar & Navigation

Redesign ProjectSidebar for multi-project + multi-orchestrator sessions. Follow the Multi-Orchestrator Dashboard Research:

  • Group sessions under their parent project in the sidebar
  • Show project status (active sessions count, health indicators)
  • Support multiple orchestrator sessions per project (e.g., my-app, my-app-x7k2)
  • Quick-switch between projects without losing context
  • Collapsible project groups for users with many projects
  • Clear visual distinction between projects vs sessions within a project

Figma Alignment

If Prateek has Figma designs, do a pixel-level comparison. Align spacing, font sizes, and component shapes with the design spec. Flag any deviations for discussion.

Acceptance Criteria