Skip to content

[Phase 3] Workspace View - Overview & Initialization #329

Description

@frankbria

Overview

Implement the Workspace View - the home/landing page that shows workspace state and provides quick access to the golden path workflow.

Reference: docs/PHASE_3_UI_ARCHITECTURE.md Section 1.1, 3.1

Purpose

Initialize and overview the current workspace state.

User Actions

  • Initialize workspace (one-time setup per repo)
  • View workspace metadata (tech stack, git status)
  • Quick access to PRD, tasks, and active runs

Components

WorkspaceView
├── WorkspaceHeader
│   ├── RepoPathDisplay
│   └── InitializeWorkspaceButton (if not initialized)
├── WorkspaceStatsCards
│   ├── TechStackCard
│   ├── TaskStatsCard (READY, IN_PROGRESS, DONE counts)
│   └── ActiveRunsCard
└── RecentActivityFeed
    └── ActivityItem[] (event type, timestamp, description)

API Endpoints Used

  • GET /api/v2/workspace/status - Workspace status
  • POST /api/v2/workspace/init - Initialize workspace
  • GET /api/v2/tasks - Task counts by status

Acceptance Criteria

  • Shows "Initialize Workspace" button if workspace not initialized
  • Displays repo path and tech stack after initialization
  • Shows task counts grouped by status (READY, IN_PROGRESS, DONE, BLOCKED, FAILED)
  • Shows count of active runs
  • Recent activity feed shows last 5 events
  • Quick navigation links to PRD, Tasks views
  • Responsive layout using Shadcn/UI components
  • Uses Hugeicons for all icons

Route

/ (home)

Real-time Requirements

None - static view, refresh on navigation

Metadata

Metadata

Assignees

Labels

phase-3Phase 3: Web UI Rebuild

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions