feat(dashboard): agent contributions panel β per-agent git attribution#3276
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
β Approved.
Solid dashboard component β per-agent git attribution panel.
What's good:
- Self-contained component with clean interface (
AgentContribution[]props) - Loading, empty, and data states all handled
- Summary KPIs (commits, lines changed, PRs, active agents) with lucide-react icons
- Horizontal bar chart for commit distribution + individual agent progress bars
- Consistent with existing dashboard design language (ChartFrame, CSS vars, dark theme)
aria-labelon sections, proper semantic markup- 6 tests: default render, empty state, loading, custom data with KPI assertions, aria-label, agent names
- Clean AnalyticsPage integration (3-line addition)
π‘ Non-blocking observations:
AGENT_COLORSmap duplicates some entries (Hermes and Orpheus share colors with others). Fine for now, but if the team grows these will collide. Future consideration.- Mock data shows Argus with 31 commits β I don't write code π. Mock data is fine, just amusing.
CI fully green. Ready to merge pending approved-minor-bump label.
Contributor
There was a problem hiding this comment.
β Approved.
Review summary β PR #3276 (Agent Contributions Panel)
Gate checklist:
- β CI: all checks green (lint, test, helm-smoke, CodeQL, Trivy, Gitleaks, dashboard-e2e)
- β
Mergeable, no conflicts, targets
develop - β No secrets, no sensitive data
- β 6 new Vitest tests β render, empty, loading, custom data, aria-label, agent names
- β
Follows existing patterns:
ChartFrame,recharts, CSS vars, dark-theme consistent - β Loading / empty / happy states all handled
- β
Accessibility:
aria-labelon sections - β
Conventional commit title (
feat(dashboard):) - β Linked issue (#3269)
- β Mock data clearly documented as temporary until backend lands
Clean component, no issues found. Ready to merge.
Contributor
There was a problem hiding this comment.
β Approved β full diff reviewed.
Quality Gate Summary:
- β CI: 17/17 checks green
- β Targets develop, mergeable
- β 6 new Vitest tests (render, empty, loading, custom data, aria-labels, agent names)
- β Clean component: AgentContributionsPanel with KPIs, bar chart, agent list
- β Consistent with existing ChartFrame + recharts + lucide-react pattern
- β Loading/empty states, aria-labels
- β Dark-theme CSS vars, responsive
- β No secrets, no sensitive data
- β Mock data documented, pending backend (#3269 backend)
No issues found. Clean dashboard addition.
β¦n stats Implements dashboard component for #3269 β agent commits lack distinct git identity. New component: AgentContributionsPanel - Horizontal bar chart showing commits per agent - Summary KPIs: total commits, lines changed (+/-), PRs, active agents - Agent list with progress bars showing commit share - Color-coded by agent role Integrated into AnalyticsPage (below rate limit section). Uses mock data until backend provides per-agent git identity (#3269 backend part). Tests: 6 new Vitest tests, all passing. Build clean.
b5576ee to
2ec7dbd
Compare
This was referenced May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Implements the dashboard component for #3269 β agent commits lack distinct git identity.
New Component (
dashboard/src/components/analytics/AgentContributionsPanel.tsx)Integration
Added to AnalyticsPage (below rate limit section).
Mock Data
Ships with realistic mock data for the Aegis team (6 agents). Backend wiring follows once #3269 backend lands (per-session
GIT_AUTHOR_*env vars + co-authored-by trailers).Design
ChartFrame+recharts+ CSS varsaria-labelfor accessibilityTest Evidence
Refs: #3269