mirror of https://github.com/garrytan/gstack.git
817 B
817 B
Plan: Team Velocity Dashboard
Context
We're building a dashboard for engineering managers to track team code velocity — commits per engineer, PR cycle time, review latency, CI pass rate. The data already lives in GitHub; we're just aggregating it for a manager's single-pane view.
Changes
- New React component
TeamVelocityDashboardinsrc/dashboard/ - REST API endpoint
GET /api/team/velocity?days=30returning aggregated metrics - Background job pulling GitHub data every 15 minutes into Postgres
- Simple filter UI: team, date range, metric
Architecture
- Frontend: React + shadcn/ui
- Backend: Express + PostgreSQL
- Data source: GitHub REST API (cached 15min)
Open questions
- Should we support multiple repos per team?
- Do we show individual engineer names or aggregate only?