Skip to content

Redesign web UI dashboard#488

Open
harshavardhana wants to merge 1 commit into
minio:masterfrom
harshavardhana:wui-redesign
Open

Redesign web UI dashboard#488
harshavardhana wants to merge 1 commit into
minio:masterfrom
harshavardhana:wui-redesign

Conversation

@harshavardhana
Copy link
Copy Markdown
Member

@harshavardhana harshavardhana commented May 8, 2026

Summary

  • Rebuild the warp analyze --web / live benchmark dashboard with a shadcn-styled component system: HSL color tokens, refined Card / Tabs / Badge / Button primitives, the warp wordmark logo with auto-swapped light/dark variants, JetBrains Mono for data, General Sans for display.
  • Add sparklines on the summary stats, animated number counters, staggered card entrance, copy-to-clipboard with toast, smooth theme crossfade, focus rings, and keyboard shortcuts (T theme · R refresh · 1/2 tabs).
  • Wire up the existing API auto_update flag to a 2s live polling loop — the previous UI ignored it. Honors prefers-reduced-motion.

No Go-side changes; all the work is in wui/static/. The existing warp analyze --web command path is unchanged.

Screenshots

Captured from real benchmark data (coe10–coe16 cluster). Hosted on a separate wui-screenshots-assets branch in the fork to keep the PR diff free of binary assets.

GET — 1-op, 7 hosts, 27.1K reqs, 3.31 TiB, 11.3 GiB/s peak:
GET

PUT — 1-op, 7 hosts, 79.9K reqs, 9.75 TiB, 33.4 GiB/s peak:
PUT

Mixed — GET/PUT/DELETE/STAT, 7 hosts, 4.54M reqs, 389 GiB:
Mixed

Files

  • wui/static/index.html — restructured (topbar / cards / tabs / footer)
  • wui/static/style.css — full rewrite, shadcn HSL token system + responsive
  • wui/static/app.js — same data fetching, new render path with sparklines, animations, toast, live polling
  • wui/static/img/warp-logo.png, warp-logo-dark.png — embedded brand mark variants

Test plan

  • Run warp analyze --web <file.json.zst> on a recent benchmark and verify the dashboard renders
  • Toggle theme (T key) and verify both modes
  • Hover the command line, click the copy button, verify toast appears
  • Resize the window and verify sparklines redraw cleanly
  • Switch tabs (1 / 2) and verify content fades in
  • Sanity check on a live run (during a benchmark) to confirm auto_update polling works

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR redesigns the warp analyze --web dashboard UI under wui/static/ with new shadcn-inspired styling, revised page structure, and richer client-side behavior while keeping the existing /api/data endpoint and Go command path unchanged.

Changes:

  • Reworked index.html layout into Execution / Summary / Operations / Breakdown cards with a new topbar and footer.
  • Rewrote style.css to use HSL design tokens, new component primitives (Card/Button/Badge/Tabs), animations, and responsive rules.
  • Updated app.js rendering to add sparklines, animated counters, copy-to-clipboard + toast, keyboard shortcuts, and to honor the API auto_update flag via a 2s polling loop.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 7 comments.

File Description
wui/static/style.css Full style system rewrite with tokens/components, animations, responsive layout, and table styling.
wui/static/index.html New dashboard structure (topbar/cards/tabs/footer) and new UI elements (toast container, copy button).
wui/static/app.js New rendering pipeline (sparklines/counters/toasts/shortcuts) and live polling wired to auto_update.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread wui/static/style.css
Comment thread wui/static/style.css
Comment thread wui/static/app.js
Comment thread wui/static/app.js
Comment thread wui/static/app.js
Comment thread wui/static/app.js Outdated
Comment thread wui/static/index.html Outdated
Rebuild the warp benchmark dashboard with a shadcn-styled component
system: HSL color tokens, refined Card / Tabs / Badge / Button primitives,
the warp wordmark logo (dark + light variants), JetBrains Mono for data,
General Sans for display.

Adds sparklines on hero stats, animated number counters, staggered card
entrance, copy-to-clipboard with toast, smooth theme crossfade, and
keyboard shortcuts (T, R, 1, 2). Wires the existing API auto_update flag
to a 2s live polling loop that the previous UI ignored. Respects
prefers-reduced-motion.
@harshavardhana harshavardhana marked this pull request as ready for review May 8, 2026 06:43
Copy link
Copy Markdown
Collaborator

@klauspost klauspost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

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.

3 participants