Skip to content

Add team and person work-completed performance graphs - #73

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/performance-work-graphs-3367
Aug 11, 2026
Merged

Add team and person work-completed performance graphs#73
cursor[bot] merged 1 commit into
mainfrom
cursor/performance-work-graphs-3367

Conversation

@Modsofthenation

@Modsofthenation Modsofthenation commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

Adds work-completed performance graphs for the team and for individual people, using existing delivery rollup / team-performance / rating-trends APIs (no new backend).

What’s new

Team performance (/team-performance)

  • Overview metric: total work completed (issues done + PRs merged; story points when known)
  • Chart: Work completed by person (horizontal bars)
  • Chart: Delivery vs overall scatter (spot high ratings with thin delivery)

Person dossier (/team/:id → Performance)

  • Window mix bars (issues done / WIP / PRs / reviews / bugs)
  • Multi-cycle delivery series
  • Overall rating trend when rated cycles exist
  • Existing delivery rollup numbers stay below the charts

Sprint pulse

  • Work completed in window throughput chart by person (achievement counts)

Shared SVG/CSS chart helpers live in apps/ui/src/components/charts.tsx (no chart library added).

Test plan

  • Demo unlock → Team performance: work-completed bars + delivery scatter appear for people with synced delivery
  • Open a person dossier → Performance section shows mix + cycle series (and rating trend if rated)
  • Sprint pulse → Throughput section bars match people table achievement counts
  • pnpm --filter @prm/ui typecheck
Open in Web Open in Cursor 

Summary by CodeRabbit

  • New Features
    • Added performance charts to person pages, including work mix, delivery cycles, and rating trends.
    • Added team performance views for completed work and delivery-versus-rating comparisons.
    • Added sprint pulse throughput charts showing achievements by person.
    • Added shared visualizations with loading, empty, error, accessibility, and responsive display states.
  • Documentation
    • Updated product documentation and changelog to cover person, team, dossier, and sprint analytics.

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 5a5aeea4-bdf0-465a-823e-62863d8a54e2

📥 Commits

Reviewing files that changed from the base of the PR and between 6a2c7a5 and 7a53c64.

📒 Files selected for processing (8)
  • CHANGELOG.md
  • apps/ui/src/components/PersonPerformanceCharts.tsx
  • apps/ui/src/components/charts.tsx
  • apps/ui/src/pages/PersonPage.tsx
  • apps/ui/src/pages/SprintPulsePage.tsx
  • apps/ui/src/pages/TeamPerformancePage.tsx
  • apps/ui/src/styles.css
  • docs/product/FEATURES.md

📝 Walkthrough

Walkthrough

The UI adds shared chart components and integrates delivery, rating, work-mix, cycle, and throughput visualizations into person, team performance, and sprint pulse pages. Documentation and the changelog describe the expanded analytics coverage.

Changes

Performance analytics

Layer / File(s) Summary
Shared chart components
apps/ui/src/components/charts.tsx
Adds reusable bar, histogram, sparkline, series, and mix-bar charts with empty-data and accessibility handling.
Person performance integration
apps/ui/src/components/PersonPerformanceCharts.tsx, apps/ui/src/pages/PersonPage.tsx, apps/ui/src/styles.css
Adds asynchronous person performance data loading and renders work-mix, delivery, team comparison, and rating trend charts.
Team delivery analytics
apps/ui/src/pages/TeamPerformancePage.tsx
Uses shared charts and adds work-completed metrics, delivery totals, delivery-versus-overall analysis, and thin-delivery indicators.
Sprint pulse throughput
apps/ui/src/pages/SprintPulsePage.tsx, docs/product/FEATURES.md, CHANGELOG.md
Adds sorted per-person throughput counts and documents the expanded analytics features.

Estimated code review effort: 4 (Complex) | ~45 minutes

Suggested reviewers: cursoragent

Sequence Diagram(s)

sequenceDiagram
  participant PersonPage
  participant PersonPerformanceCharts
  participant PerformanceEndpoints
  PersonPage->>PersonPerformanceCharts: Render personId and cycleId
  PersonPerformanceCharts->>PerformanceEndpoints: Load delivery, team, and rating data
  PerformanceEndpoints-->>PersonPerformanceCharts: Return performance datasets
  PersonPerformanceCharts-->>PersonPage: Render performance charts
Loading
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/performance-work-graphs-3367

Comment @coderabbitai help to get the list of available commands.

@Modsofthenation
Modsofthenation marked this pull request as ready for review August 11, 2026 12:29
Surface delivery volume charts on Team performance (by person + vs
rating), person dossiers (window mix, cycle series, rating trend), and
Sprint pulse throughput — reusing existing rollup APIs with shared SVG
chart helpers.

Co-authored-by: Damon  <Modsofthenation@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/performance-work-graphs-3367 branch from 5f98f31 to 7a53c64 Compare August 11, 2026 12:34
@cursor
cursor Bot merged commit 4e0ca7c into main Aug 11, 2026
0 of 2 checks passed
@cursor
cursor Bot deleted the cursor/performance-work-graphs-3367 branch August 12, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants