Skip to content

Project Dashboard: overview with task health metrics #27

@TheSethRose

Description

@TheSethRose

Summary

Add a project overview dashboard with task breakdowns and health metrics.

Current behavior

  • Project detail page focuses on task list and GitHub sync (src/app/(dashboard)/projects/[id]/project-detail-client.tsx).
  • Aggregated metrics exist in metrics_history table (docs/DATABASE.md) but are not displayed.

Target behavior

  • Provide a per-project dashboard view with open vs. closed counts, status distribution, and recent activity.
  • Show sync status and last sync time already available in project data.

Scope

  • API endpoint to return project metrics and status counts.
  • UI section or tab in project detail page.
  • Optional sparkline using metrics_history when available.

Acceptance criteria

  • Dashboard shows counts by status for the project.
  • Sync status and last sync time are visible on the dashboard.
  • Metrics render without blocking the existing task list.

Open questions

  • Prefer a new tab/route or a section above the task list?
  • Should metrics_history be per project or global?

References

  • src/app/(dashboard)/projects/[id]/project-detail-client.tsx
  • src/app/api/projects/route.ts
  • docs/DATABASE.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions