Skip to content

Dashboard

One-Liner

The Dashboard provides an at-a-glance overview of your project's workflow status, statistics, and recent activity through an intuitive widget-based interface.


Pain Points Solved

Pain PointCurrent StateDashboard Solution
No project visibilityCan't see overall project healthProject info banner with tech stack and development index
Scattered metricsStats across multiple locationsCentralized statistics with sparklines
Unknown workflow statusHard to track session progressPie chart with status breakdown
Lost in recent workNo quick access to active sessionsSession carousel with task details
Indexing status unclearDon't know if code is indexedReal-time index status indicator

Overview

Location: ccw/frontend/src/pages/HomePage.tsx

Purpose: Dashboard home page providing project overview, statistics, workflow status, and recent activity monitoring.

Access: Navigation → Dashboard (default home page at /)

Layout:

+--------------------------------------------------------------------------+
|  Dashboard Header (title + refresh)                                      |
+--------------------------------------------------------------------------+
|  WorkflowTaskWidget (Combined Card)                                      |
|  +--------------------------------------------------------------------+  |
|  | Project Info Banner (expandable)                                   |  |
|  | - Project name, description, tech stack badges                      |  |
|  | - Quick stats (features, bugfixes, enhancements)                    |  |
|  | - Index status indicator                                           |  |
|  +----------------------------------+---------------------------------+  |
|  | Stats Section | Workflow Status |  Task Details (Carousel)     |  |
|  | - 6 mini cards | - Pie chart     | - Session nav                 |  |
|  | - Sparklines   | - Legend       | - Task list (2 columns)       |  |
|  +----------------+-----------------+-------------------------------+  |
+--------------------------------------------------------------------------+
|  RecentSessionsWidget                                                     |
|  +--------------------------------------------------------------------+  |
|  | Tabs: All Tasks | Workflow | Lite Tasks                           |  |
|  | +---------------+---------------+-------------------------------+ |  |
|  | | Task cards with status, progress, tags, time                     | |  |
|  | +---------------------------------------------------------------+ |  |
+--------------------------------------------------------------------------+

Live Demo

DashboardOverview
加载中...
demo MiniStatCards #MiniStatCards.tsx :::

Project Info Banner Demo

ProjectInfoBanner
加载中...
demo SessionCarousel #SessionCarousel.tsx :::

Accessibility

  • Keyboard Navigation:

    • Tab - Navigate through interactive elements
    • Enter/Space - Activate buttons and cards
    • Arrow keys - Navigate carousel sessions
  • ARIA Attributes:

    • aria-label on navigation buttons
    • aria-expanded on expandable sections
    • aria-live regions for real-time updates
  • Screen Reader Support:

    • All charts have text descriptions
    • Status indicators include text labels
    • Navigation is announced properly

Released under the MIT License.