Lab

Activity

Slant / Data

Sixteen weeks of agent sessions as a grid of slanted pixels, with totals that roll as you switch between week, month, and quarter.

The theme follows the link: share a page with ?theme=moon.

Usage

  • The day grid is a grid of gridcell days, each named with its date and count; choosing a day shows it in the headline Stat.
  • Week, Month, and Quarter is a Segmented radiogroup; picking a period, even the current one, takes the headline back to its total.
  • The headline is a RollingNumber, focus hours a StatCard with a progress target, and the average session a RangeMeter.

Keyboard

↑ / ↓moves a day in the grid
← / →moves a week
Home / Endjumps to the start or end of the week
PageUp / PageDownmoves four weeks
Enter / Spaceshows the focused day in the headline
Tabmoves between the period switch and the grid

Accessibility

  • The grid is described by its summary, and every day cell carries its full date and count, so the dots are never the only record.
  • Rolling digits are hidden from assistive technology: the formatted number is read once, and the meters expose their values as text.
  • Under reduced motion the numbers change at once and the meters stop gliding.

Activity in React and SwiftUI.

Source

The React tab is the component’s real source; the SwiftUI tab is its twin in TUTTNKit.