Skip to content

Render "AI Rate by Day" as a line graph#318336

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/change-ai-rate-graph
Draft

Render "AI Rate by Day" as a line graph#318336
Copilot wants to merge 2 commits into
mainfrom
copilot/change-ai-rate-graph

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 26, 2026

The "AI Rate by Day" view in the AI stats status bar popover was rendered as a bar chart; switch it to a line graph for better trend readability. The per-session view is unchanged.

Changes

  • aiStatsChart.tsrenderDaysView: replaced per-day <rect> bars with an SVG <polyline> connecting daily AI rates, plus small <circle> markers at each data point.
  • X-axis layout: points are now evenly distributed across the full inner width (single point centered) instead of computed bar/gap spacing.
  • Labels: kept the existing first/last + interval label strategy, recomputed against point spacing; first/last are anchored start/end to avoid clipping.
  • Axes, gridlines, Y-axis ticks (0/50/100%), color tokens (chartsBlue, chartsLines, chartsForeground), and the sessions view are unchanged.

Copilot AI self-assigned this May 26, 2026
Copilot AI review requested due to automatic review settings May 26, 2026 10:34
Copilot AI review requested due to automatic review settings May 26, 2026 10:34
Copilot AI linked an issue May 26, 2026 that may be closed by this pull request
Co-authored-by: hediet <2931520+hediet@users.noreply.github.com>
Copilot AI requested review from Copilot and removed request for Copilot May 26, 2026 10:40
Copilot AI changed the title [WIP] Change AI rate by day from bar chart to line graph Render "AI Rate by Day" as a line graph May 26, 2026
Copilot finished work on behalf of hediet May 26, 2026 10:41
Copilot AI requested a review from hediet May 26, 2026 10:41
@hediet hediet marked this pull request as ready for review May 26, 2026 11:02
Copilot AI review requested due to automatic review settings May 26, 2026 11:02
@hediet hediet marked this pull request as draft May 26, 2026 11:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 2e9c0930 Current: b036e66f

Changed (2)

chat/aiStats/AiStatsHover/Dark
Before After
before after
chat/aiStats/AiStatsHover/Light
Before After
before after

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.

Change AI Rate by Day from bar chat to line graph

3 participants