Overview
Analytics is organized into four tabs:- Overview - High-level metrics and activity charts
- Team - Contributor profiles and strengths
- Repos - Repository-level statistics
- Insights - Confidence scores and merge time analysis
Filter Bar
All tabs share a unified filter system:Repository Filter
Only connected repositories appear in this dropdown. Disconnected repos are excluded.
- All repositories (default)
- List of connected repos (e.g.,
owner/repo-name)
Author Filter
- All authors (default)
- List of authors from analytics data (e.g.,
@username)
Time Range Filter
- This week (7 days)
- Last 30 days (default)
- Last 90 days
Active Filters
When filters are applied, chips appear showing:Overview Tab
Key Performance Indicators
Four KPI cards display:Total PRs
Total number of pull requests in the selected timeframe
Success Rate
Percentage of PRs successfully merged
Avg Merge Time
Average hours from PR open to merge
Avg PR Size
Average lines of code changed per PR
PR Size Area Chart
A multi-line area chart showing:- Green area: Lines added (additions)
- Red area: Lines deleted (deletions)
- Teal area: Net change (absolute difference)
- X-axis: Date (MM/DD format)
- Y-axis: Lines of code (abbreviated: 1k, 2k, etc.)
- Interactive tooltip showing exact values
- Gradient fills for visual clarity
Activity Timeline
Line chart showing review activity over time:- Amber line: Total reviews
- Green line: Completed reviews
- Red line: Failed reviews
- Smooth curve (monotone interpolation)
- X-axis shows date range based on filter (7/30/90 days)
- Y-axis shows review count
- Hover tooltip with exact values
Verdict Pie Chart
Circular donut chart showing AI decision distribution:- Green: Approved PRs
- Red: Changes Requested
- Amber: Needs Discussion
- Colored dot indicator
- Verdict name
- Horizontal progress bar
- Total count
Team Tab
Contributor profile cards display:Card Layout
- Avatar: Colored circle with first letter of username
- Username:
@usernamewith bold styling - PR Badge: Count of PRs by this author
- Profile Summary: AI-generated description (if available)
- Strengths: Green badges showing areas of expertise
- Patterns: Amber badges showing recurring behaviors
Empty State
If no contributor data exists:Repos Tab
Table view of repository statistics:| Repository | PRs | Merged | Issues |
|---|---|---|---|
| owner/repo | 47 | 42 (89.4%) | 12 |
| other/repo | 23 | 18 (78.3%) | 5 |
- Repository: Full repo name in monospace
- PRs: Total PR count
- Merged: Count and percentage in parentheses
- Issues: Total issues flagged (red if > 0)
#191919
Empty State
If filtering by a specific repo with no data:Insights Tab
Confidence Distribution
Bar chart showing AI confidence scores (1-5):- Red bar (1/5): Very low confidence
- Orange bar (2/5): Low confidence
- Amber bar (3/5): Medium confidence
- Light green bar (4/5): High confidence
- Green bar (5/5): Very high confidence
High confidence (4-5)
High confidence (4-5)
The AI is very certain about its recommendations. Likely based on clear patterns and best practices.
Medium confidence (3)
Medium confidence (3)
The AI has some uncertainty. May require human judgment or team discussion.
Low confidence (1-2)
Low confidence (1-2)
The AI detected complex or ambiguous code. Strongly recommend manual review.
Merge Time Stats
Four stat boxes showing time-to-merge metrics:Avg
Mean time from PR open to merge
Median
50th percentile merge time (less affected by outliers)
Fastest
Shortest merge time in dataset
Slowest
Longest merge time in dataset
Author Performance Table
Detailed per-developer breakdown:| Author | PRs | Merged | Issues | Confidence |
|---|---|---|---|---|
| @alice | 28 | 26 | 3 | 4.2/5 |
| @bob | 19 | 15 | 8 | 3.8/5 |
- Author: GitHub username
- PRs: Total PRs opened
- Merged: Successfully merged PRs (green)
- Issues: Issues flagged by AI (red)
- Confidence: Average AI confidence score
Data Refresh
All analytics data refreshes automatically when:- Filter values change
- A new PR review completes
- Page regains focus after 5+ minutes
Loading States
While fetching analytics:- KPI cards: 4 skeleton rectangles (28px height)
- Charts: Full-height skeletons with rounded corners
- Tables: Multiple skeleton rows
Technical Details
API Endpoints
Data Models
Chart Library
All charts use Recharts with custom styling:- Dark theme (
#1A1A1Abackgrounds) - Monospace font (Geist Mono) for labels
- Responsive containers (100% width)
- Custom tooltips with brand colors
Best Practices
Start Broad
Begin with “All repositories” and “All authors” to see overall trends.
Drill Down
Apply filters to investigate specific repos or developers.
Compare Timeframes
Toggle between 7/30/90 days to identify seasonal patterns.
Watch Confidence
Low confidence scores may indicate areas needing better documentation.
Common Insights
High Merge Times
If average merge time exceeds 24 hours:- Check if PRs are too large (use PR Size chart)
- Look for bottlenecks in review process
- Consider setting team response time goals
Low Success Rates
If success rate drops below 80%:- Review failed reviews in the Reviews page
- Check for common error patterns
- Ensure proper branch protection rules
Unbalanced Workload
If one author has 3x more PRs than others:- Consider redistributing work
- Check if certain areas lack expertise
- Use Team tab to identify knowledge gaps