Skip to content

feat(dash0): calmer, flatter and phone-friendly dashboard UI - #582

Merged
fclairamb merged 9 commits into
mainfrom
feat/ui-polish
Oct 17, 2026
Merged

fclairamb merged 9 commits into
mainfrom
feat/ui-polish

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

A pass to make dash0 look calmer and more consistent, on desktop and on a phone.

What changed

Flat surfaces instead of gradients

  • New --primary-fill token: a solid blue, saturated in both themes, with white text (contrast pinned in theme-tokens.test.ts).
  • Default Button, Switch, Checkbox, Progress and Stepper use it. No gradient, no tinted shadow, no hover lift. Hover changes color only.
  • Default Badge is a soft tint, like the status badges.
  • Removed the gradient tokens and utilities, the tinted shadows and the page glow in the app shell. The auth screens keep their aurora panel and glow. The navy sidebar is unchanged.
  • Controls share one geometry: h-9, rounded-md, shadow-xs (Select was h-10).
  • Buttons no longer double the icon spacing ([&>svg]:mr-0; ~180 call sites still had mr-2).

Typography and density

  • Every page title uses the same style: text-xl sm:text-2xl font-semibold. There were 14 variants, from text-3xl bold down.
  • PageHeader icon tile is a soft tint. On a phone the actions wrap below the title instead of squeezing it.
  • Tables: shorter header (h-10, text-xs), less cell padding, tabular digits. Text is antialiased.
  • Cards pad 16px on a phone and 24px from sm (through --card-pad, so p-0 overrides still work).
  • Content area: 16px gutter on a phone, 24px from sm, max width 1400px.

Dashboard

  • Status banner and KPIs come first. The onboarding checklist moves below them.
  • KPI tiles: one flat style, no gradient hero tile, sentence-case labels, no redundant pills. 2×2 grid on a phone.
  • Status banner: neutral card with a colored left edge.
  • Checks at a glance: one status dot, plain response time, and an empty track instead of the "24h telemetry active" placeholder.
  • Onboarding checklist: no blobs, no gradient strip, done rows recede. On a phone a done row fits on one line.

Checks

  • Phone: full-width search, target shown under the name, the "New check" button keeps its label.
  • Response time is plain text. The status column already carries the color.
  • The "No check groups yet" card is a one-line hint below the list.
  • Check detail: the three summary cards sit side by side on a phone, and the interval reads "Every 10s" instead of 00:00:10.

Mobile overflow fix

  • 28 responsive grids had no explicit single column on a phone, so a long URL pushed cards off-screen (seen on check detail). They now use grid-cols-1.

The design reference page documents the new rules (primary fill, flat surfaces, elevation levels, KPI tiles).

Not in this PR

  • The public status page (status0) keeps its look. It has per-customer appearance settings and deserves its own pass.

Tests

  • Unit and e2e tests that pinned the gradient identity now pin the flat one.

🤖 Generated with Claude Code

fclairamb and others added 4 commits October 17, 2026 03:03
Replace the gradient fills with one solid --primary-fill, saturated in
both themes with a white label. Buttons, badges, switches, checkboxes,
progress bars and steppers are flat: no tinted shadow, no hover lift.
Controls share h-9, rounded-md and shadow-xs. The app shell drops the
page glow and gets a 16px phone gutter, 24px from sm, max width 1400px.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Status banner and KPI tiles come before the onboarding checklist. All
four tiles share one flat style (no gradient hero tile, no redundant
pills) in a 2x2 grid on a phone. The banner is a neutral card with a
colored edge, the glance list keeps one status dot and plain response
times, and the onboarding checklist loses its gradients and blobs. The
design reference documents the new rules.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every page h1 uses text-xl sm:text-2xl font-semibold (there were 14
variants). The page-header tile is a soft tint, and on a phone the
actions wrap below the title instead of squeezing it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Responsive grids get an explicit single column on a phone, so a long URL
no longer pushes cards off-screen. Cards pad 16px on a phone. Tables get
a shorter header, less padding and tabular digits. The checks list shows
the target under the name on a phone, plain response times and a
one-line hint when there are no groups. Check detail shows its three
summary cards side by side and the interval as "Every 10s".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@codecov

codecov Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.22%. Comparing base (ce54644) to head (0bce2f6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #582      +/-   ##
==========================================
+ Coverage   83.21%   83.22%   +0.01%     
==========================================
  Files        1208     1208              
  Lines      124147   124147              
==========================================
+ Hits       103305   103322      +17     
+ Misses      20833    20816      -17     
  Partials        9        9              

see 15 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

fclairamb and others added 5 commits October 17, 2026 20:26
dash0 went flat (--primary-fill), so --primary-gradient and
--gradient-foreground no longer exist there. status0 keeps its documented
gradient; its own tests still pin both tokens.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ailed refresh

The electric auth spec still expected a gradient on the login submit, which the
flat design removed. The 401 path read the tokens after a failed refresh had
cleared them, so a racing request could redirect with session_expired=false.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@fclairamb
fclairamb merged commit ce933cc into main Oct 17, 2026
27 checks passed
@fclairamb
fclairamb deleted the feat/ui-polish branch October 17, 2026 22:29
fclairamb added a commit that referenced this pull request Oct 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.39.0](v0.38.6...v0.39.0)
(2026-10-18)


### Features

* A2A notification channel for AI agents
([#596](#596))
([2f55dc3](2f55dc3))
* **dash0:** calmer, flatter and phone-friendly dashboard UI
([#582](#582))
([ce933cc](ce933cc))
* vendor status check, SMS/voice quotas, upgrade-path CI and flaky test
fixes ([#591](#591))
([1a392ec](1a392ec))


### Bug Fixes

* **checks:** build the postgres check connection from an explicit
pq.Config ([#584](#584))
([a4b394a](a4b394a))
* **deps:** update github.com/dop251/goja digest to 313b6b6
([#578](#578))
([d068c02](d068c02))
* **deps:** update github.com/dop251/goja digest to d42f16b
([#597](#597))
([3f501a1](3f501a1))
* **deps:** update github.com/dop251/goja digest to e686264
([#590](#590))
([380ed48](380ed48))
* **deps:** update module github.com/knadh/koanf/v2 to v2.4.0
([#586](#586))
([c02a042](c02a042))
* **deps:** update module github.com/knadh/koanf/v2 to v2.4.1
([#594](#594))
([95e8ec3](95e8ec3))
* **deps:** update module github.com/posthog/posthog-go to v1.35.1
([#583](#583))
([efb4819](efb4819))
* **deps:** update module golang.org/x/mod to v0.42.0
([#598](#598))
([62e913d](62e913d))
* **showcase:** film a single region, as a plain docker run shows
([#595](#595))
([a443442](a443442))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
fclairamb added a commit that referenced this pull request Oct 18, 2026
The flat redesign (#582) removed every gradient and the dashboard read
as dull. This brings a few back, tonal and without glow.

## What changed

**One gradient token**
- `--primary-gradient`: cyan-blue to electric blue (hue 245 to 270),
never blue to violet. Same in both themes.
- It paints the default button, the page-header tile and the progress
fill, always over `bg-primary-fill`.
- Hover slides it to its darker half (a `background-position`
transition). The button does not move.
- White text clears 4.5:1 on every stop. The resting half clears 3:1
against the page, the card and the progress track in both themes
(`theme-tokens.test.ts`).

**Status washes**
- `KpiTile` takes a `tone` (`primary`, `ok`, `warning`, `error`,
`neutral`): a colored icon chip and a faint wash from its corner. Zero
down or zero incidents stay neutral, so color only shows up where it
means something.
- The dashboard status banner is washed with its status color from the
left edge, instead of a 4px left border.
- Onboarding card: a 2px primary line on top, the gradient tile, a wash
on the "next up" row.

**Still out**
- No tinted shadow, no blurred blob, no hover lift, no page glow in the
org app. Switches, checkboxes, badges, cards and the other button
variants stay flat.

The design reference documents the new rules (Buttons & badges →
Gradients, KPI tiles, status banner, color tokens).

## Tests
- Unit: token values and contrast, button/progress/page-header/KPI class
contracts, `cn()` handling of `bg-primary-gradient`. 2665 pass.
- e2e (run on a SQLite side-car): the four `electric-identity-*` and
`destructive-button-shadow` specs pass. The content-area scan now allows
only the primary gradient and washes that fade to transparent, with
positive controls for a glow and an opaque gradient.
- `dashboard.spec.ts` and `empty-state-onboarding.spec.ts` pass.
`onboarding-checklist.spec.ts` "dismissing survives a full reload"
failed once on SQLite: a pre-existing race (it reloads before the
dismissal `PUT` lands), unrelated to this change, tracked separately.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant