Skip to content

Add 48h/180d ranges, per-site accent and default range - #1

Merged
chrisgreg merged 1 commit into
mainfrom
claude/date-ranges-colors-defaults-talfyb
Sep 5, 2026
Merged

chrisgreg merged 1 commit into
mainfrom
claude/date-ranges-colors-defaults-talfyb

Conversation

@chrisgreg

Copy link
Copy Markdown
Owner

Three per-site conveniences on the dashboard.

48h and 180d join the range strip, the API and the MCP tools. 48h buckets
hourly like 24h and ends at the current hour; 180d buckets daily like 90d.
Both read the existing rollups, so nothing new is stored.

Four more accent swatches (Sky, Violet, Coral, Teal), and a site can carry
its own accent that replaces the account-wide colour while its dashboard is
open and hands back on the way out. The picker is now one component shared
by the global settings page and the per-site panel.

A site also remembers the range its dashboard opens on. A stats request that
names no range gets the site's default, so the page learns it from the first
answer rather than a second round trip.

Both preferences are new columns on sites, empty meaning "follow the global
setting", so existing databases keep their current behaviour after the
migration.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01G8X4D4j1JnCrPPD39kujX5

Three per-site conveniences on the dashboard.

48h and 180d join the range strip, the API and the MCP tools. 48h buckets
hourly like 24h and ends at the current hour; 180d buckets daily like 90d.
Both read the existing rollups, so nothing new is stored.

Four more accent swatches (Sky, Violet, Coral, Teal), and a site can carry
its own accent that replaces the account-wide colour while its dashboard is
open and hands back on the way out. The picker is now one component shared
by the global settings page and the per-site panel.

A site also remembers the range its dashboard opens on. A stats request that
names no range gets the site's default, so the page learns it from the first
answer rather than a second round trip.

Both preferences are new columns on sites, empty meaning "follow the global
setting", so existing databases keep their current behaviour after the
migration.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G8X4D4j1JnCrPPD39kujX5
@chrisgreg
chrisgreg merged commit f7d4f08 into main Sep 5, 2026
3 checks passed
chrisgreg added a commit that referenced this pull request Sep 5, 2026
chrisgreg added a commit that referenced this pull request Sep 5, 2026
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.

2 participants