Skip to content

Conversation

@muraalee
Copy link
Collaborator

Consolidate content scripts and improve analytics UI

  • Unified content scripts into single router.ts entry point

    • Eliminates duplicate History API interception
    • Single navigation handler for PR attribution and analytics
    • Better performance (one script instead of two)
  • Fixed race condition causing duplicate "Agent Blame" sidebar items

  • Redesigned analytics page Repository Overview section

    • Added pie charts for AI vs Human and Tool breakdown
    • Dynamic provider colors from scalable palette
    • Horizontal bar charts for model breakdown
    • Full model names (no truncation)
  • Updated display limits: models (10), contributors (all), PRs (20)

  • Switched to GitHub's CSS variables for theme consistency

    • AI color: var(--color-severe-fg, #f78166)
    • Human color: var(--color-success-fg, #238636)
  • Fixed vertical alignment to match other GitHub Insights pages

@muraalee muraalee merged commit a9112e7 into main Jan 20, 2026
1 check passed
@muraalee muraalee deleted the murali/fix-for-human-attribution branch January 22, 2026 23:51
@muraalee muraalee restored the murali/fix-for-human-attribution branch January 25, 2026 05:58
@muraalee muraalee deleted the murali/fix-for-human-attribution branch January 26, 2026 18:41
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.

3 participants