Skip to content

fix(desktop): enlarge the activity grid's cells and drop their outline - #4358

Merged
LHagfoss merged 1 commit into
mainfrom
fix/desktop-stats-heatmap-cells
Nov 25, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
fix/desktop-stats-heatmap-cells

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

The year grid in Settings › Statistics drew 10px cells with the theme's inline radius, so at higher radius settings they looked like dots, and streak days carried an accent ring that read as an odd border.

  • Cells are 14px squares (the grid gets a 932px minimum width) with a fixed 2px corner (.rc-heat-cell), independent of the radius setting.
  • The grid scrolls sideways and opens scrolled to the latest week; the padding sits inside the scroll content so the newest column keeps its margin.
  • Streak days lose their ring; the streak stats above the grid still show it.

Changelog

Statistics' activity grid shows bigger, squarer day cells without outlines.

Testing

  • Mock window, dark theme: cells measure 14px with a 2px radius, the grid opens at the latest week.
  • bun run check, scripts/check-comments.py, scripts/check-rust-size.py.

Cells are 14px squares with a fixed 2px corner, the grid scrolls sideways and opens on the latest week, and streak days lose their ring.
@github-actions github-actions Bot added the fix A bug fix label Nov 25, 2026
@LHagfoss
LHagfoss merged commit e33d4eb into main Nov 25, 2026
10 checks passed
@LHagfoss
LHagfoss deleted the fix/desktop-stats-heatmap-cells branch November 25, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants