Skip to content

016-6: Dashboard Integration + Polish #203

Description

@frankbria

Part of #197 - Planning Phase Automation

Scope

This issue integrates all new components into the Dashboard and polishes the user experience.

Tasks

Dashboard Integration (~1h)

  • Update web-ui/src/components/Dashboard.tsx
  • Replace old phase display with PhaseProgress component
  • Ensure SessionStatus is properly positioned
  • Add TaskReview to Tasks tab (or modal)
  • Update tab navigation based on phase:
    • Planning phase: Show "Review Tasks" badge on Tasks tab
    • Development phase: Show task progress
  • Stop unnecessary WebSocket polling when no state changes expected

Polish (~0.5h)

  • Consistent styling across new components
  • Smooth transitions between states
  • Error boundaries for new components
  • Loading skeletons where appropriate
  • Mobile responsiveness check

Integration Points

Dashboard.tsx
├── PhaseProgress (top of page, replaces old step counter)
├── Overview Tab
│   ├── SessionStatus (connected to API)
│   └── DiscoveryProgress (with action buttons)
└── Tasks Tab
    ├── TaskReview (when phase = "planning")
    └── TaskList (when phase = "development")

Acceptance Criteria

  • All new components render correctly in Dashboard
  • Phase transitions update UI appropriately
  • No console errors
  • Responsive on mobile
  • WebSocket polling is efficient (not constant when idle)

Dependencies

  • Requires: 016-3, 016-4, 016-5 (all UI components)

Blocks

  • None (final integration)

Files

  • web-ui/src/components/Dashboard.tsx (modify)
  • web-ui/__tests__/Dashboard.test.tsx (modify)

Testing

  • E2E test: Create project → Complete discovery → Generate tasks → Approve → Development starts
  • Verify all phase transitions work correctly
  • Check WebSocket event handling

Effort

~1.5 hours

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0-blocker-betaCritical blocker - must fix before beta testingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions