Skip to content

feat(web): restyle built-in dashboard widgets - #228

Merged
ZingerLittleBee merged 11 commits into
mainfrom
feat/quiet-widgets
Nov 25, 2026
Merged

ZingerLittleBee merged 11 commits into
mainfrom
feat/quiet-widgets

Conversation

@ZingerLittleBee

Copy link
Copy Markdown
Owner

Summary

Restyles the built-in dashboard widgets around one idea: the reading carries the weight, and color only signals status.

  • Shared chrome (widget-chrome.tsx): a quiet title row (label · server, history range on the right), large tabular readings with a shrunken muted unit, centered empty and status messages, and a shared loading skeleton. Dashboard cards drop the border for a hairline ring and soft shadow.
  • Stat number: no icon tile or gradient; the value is colored only for high load or offline servers.
  • Metric card: larger reading, a delta pill, Peak · Avg stats, and a full-bleed 24h area chart in the theme accent.
  • Gauge: thin ring with a split value (62.0%) and a severity word (High / Critical) next to the server name.
  • Top N: rows with proportional background fills instead of a bar chart; percent metrics scale against 100%, others against the largest row.
  • Service status / alerts / network quality / network overview: unboxed rows with hairline separators; empty states say what the absence means ("All clear", "All healthy").
  • Uptime timeline widget: rounded bars through a new opt-in rounded prop, so status pages keep their square bars.
  • Chart widgets (line, multi-line, traffic, disk I/O, latency, map, markdown, module host): shared header and empty states.
  • Default chart colors: #8EC5FF → #3E9EF0 (close to --chart-1) and the secondary series #34D399 → slate #94A3B8, so green stays reserved for health.
  • Tailscale overview builtin widget: unboxed stat readings.

New copy is added in both en and zh locales.

Verification

  • bun x ultracite check — passed
  • cd apps/web && bun run typecheck — passed
  • cd apps/web && bun run test — 132 files, 883 tests passed
  • cd apps/web && bun run build — passed
  • Checked every widget in the browser in light and dark themes against the dev-demo data, including the gauge warning state and the Tailscale widget with mocked overview data.

Widgets share a quiet title row, large tabular readings with a muted unit, centered status messages and a loading skeleton. Cards drop the border for a hairline ring so spacing carries the hierarchy.
Drop the icon tile and gradient; color the value only when it signals load or offline servers.
Rows lose their boxes for hairline separators, and empty states say what the absence means.
Status pages keep the square bars; the widget opts in through the new rounded prop.
The pale default blue washed out on light cards, and the green secondary series read as a health signal.
Chart widgets use the shared title row with the server as context and the history range on the right.
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
serverbee-docs Ready Ready Preview Nov 25, 2026 4:52pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
serverbee-landing Skipped Skipped Nov 25, 2026 4:52pm UTC

@ZingerLittleBee
ZingerLittleBee merged commit cddcebe into main Nov 25, 2026
13 checks passed
@ZingerLittleBee
ZingerLittleBee deleted the feat/quiet-widgets branch November 25, 2026 17:11

This branch was successfully deployed

1 active deployment
Preview – serverbee-docs — 6a743a83 Deployed Nov 25, 2026 by vercel[bot]
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.

1 participant