Skip to content

feat: add y-axis labels and connect sparkline points on Skills page#2853

Merged
tmeschter merged 1 commit into
microsoft:mainfrom
tmeschter:tmeschter-redesigned-waddle
Jul 16, 2026
Merged

feat: add y-axis labels and connect sparkline points on Skills page#2853
tmeschter merged 1 commit into
microsoft:mainfrom
tmeschter:tmeschter-redesigned-waddle

Conversation

@tmeschter

Copy link
Copy Markdown
Member

Improves the sparklines on the dashboard Skills page:

  • Y-axis labels: the y-axis is now visible with formatted tick labels (e.g. 1.2s, 3.4k) per metric, instead of being hidden.
  • Connected points: sparkline points are now connected across days with no data (connectNulls), so gaps no longer split the line into disconnected segments. Tooltips still show No data for those days.

Related to #2770.

Related to microsoft#2770

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 88e659df-248e-42a8-9676-d4646ae3cebf
Copilot AI review requested due to automatic review settings July 15, 2026 21:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the Skills dashboard sparklines to make per-metric trends easier to read by adding a visible, formatted Y-axis and ensuring the line remains continuous across missing-data days.

Changes:

  • Show Y-axis ticks for sparklines with per-metric formatting (e.g., seconds, compact token counts).
  • Connect sparkline segments across null datapoints (connectNulls) while keeping tooltips explicit about “No data”.
  • Slightly adjust the chart left margin to accommodate the newly visible axis.
Show a summary per file
File Description
dashboard/src/skills/App.tsx Updates the Sparkline chart to render a formatted Y-axis and connect points across null days.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@tmeschter
tmeschter merged commit 6678fcc into microsoft:main Jul 16, 2026
10 checks passed
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