agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

Dashboard UI overhaul

Open ashish921998 opened this issue 8 months ago • 1 comments

Dashboard UI Overhaul

Effort: 4–5 days · Frontend lead
Research: Full task spec

Problem

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

The dashboard is AO's key differentiator over CLI-only competitors. If it looks amateur, that advantage evaporates. 1code and T3 Code have polished UIs that make AO's look rough by comparison.

Current State

  • Stack: packages/web/ — Next.js 15 + React 19 + Tailwind 4 + custom components
  • Components: Dashboard, SessionCard, SessionDetail, Terminal, ProjectSidebar, CIBadge, PRStatus, DirectTerminal, AttentionZone, DynamicFavicon
  • Light theme: Toggle exists but colors feel washed out
  • Kanban: Implemented but needs visual refinement
  • Design tokens: Partial — uses custom CSS vars (--color-status-ready, --color-status-error, etc.) but no unified system
  • SessionCard: Has AttentionLevel system (6 levels: merge, respond, review, pending, working, done) with border colors. Functional but visually basic.
  • Transitions: Minimal — components feel static, no loading states

Scope

  • [ ] Create consistent design system with design tokens (spacing, colors, radii, shadows)
  • [ ] Improve visual hierarchy across all components
  • [ ] Polish SessionCard — the most-seen component
  • [ ] Add transitions and animations (page transitions, card hover, loading states)
  • [ ] Ensure light theme works flawlessly — not just "inverted dark theme"
  • [ ] Kanban improvements — better drag feedback, column headers, card density
  • [ ] Add proper loading, empty, and error states for all views
  • [ ] Multi-project handling UI/UX — redesign how users navigate between multiple projects and orchestrator sessions

Implementation Plan

1. 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).

2. 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' },
      // ...
    }
  }
}

3. 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).

4. 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.

5. 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.

6. 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. Consider Framer Motion or CSS transitions.

7. 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.

8. Multi-Project Sidebar & Navigation

Redesign ProjectSidebar for multi-project + multi-orchestrator sessions. See: 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

9. Figma Alignment

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

References

Tool What 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 Code Specifically noted by Prateek as having a superior interface. Study their layout and interactions.
Multi-Orchestrator Dashboard Research Prior research doc covering sidebar layout, session grouping, project switching, and multi-orchestrator interaction model.

Acceptance Criteria

  • [ ] Consistent design system documented and applied across all components
  • [ ] Light and dark themes both look polished — not just functional
  • [ ] SessionCard redesigned with status indicators, progress, and hover states
  • [ ] Terminal has improved font rendering, scrollbar, and light-theme colors
  • [ ] All views have proper loading (skeleton), empty, and error states
  • [ ] Smooth transitions on theme toggle, page navigation, and card interactions
  • [ ] Kanban board has better drag feedback and visual density
  • [ ] Multi-project sidebar shows projects with grouped sessions, collapsible, with status indicators
  • [ ] Multiple orchestrator sessions on same project display correctly in sidebar and dashboard
  • [ ] Prateek approves the look and feel
  • ashish921998 avatar Mar 19 '26 20:03 ashish921998

Started working on this

ashish921998 avatar Mar 19 '26 20:03 ashish921998