Skip to content

feat(ui): chart axes, Queen-style sign-in, spacing fixes - #80

Merged
albertovincenzi merged 1 commit into
masterfrom
feat/ui-chart-axes-sign-in
Nov 18, 2026
Merged

albertovincenzi merged 1 commit into
masterfrom
feat/ui-chart-axes-sign-in

Conversation

@albertovincenzi

Copy link
Copy Markdown
Collaborator

Summary

  • Charts (Traffic over time): real axes. Round y ticks (216 → 0…250) with the unit written on the axis, whole-number ticks for counts (no "0.5 items"), clock-unit ticks for the oldest-pending age (0s, 30m, 1h, 1h 30m) and clock-aligned time ticks. Arithmetic in ui/src/lib/chart-axes.js, with tests.
  • Spacing: the Traffic over time card no longer touches the Paths card (mt-10, like the other sections). A scan of every page for cards closer than 8px finds no other case.
  • Sign-in: mirrors Queen's proxy login page (proxy/src/oauth.rs, login_html): wordmark, 400px card, "Welcome to Gate", Google's official light button, help line. The theme chip is gone, as on Queen's page. Gate keeps its own font, since the console embeds every asset.
  • Overview: in tone areas the health banner drops its border and takes the card surface; the peak-usage gauge track is visible and 0% no longer draws a lone dot.
  • New target: same width and left alignment as the other pages.

Test plan

  • npm test (32 pass), npm run build, cargo build -p gate-server
  • Checked in the browser against a local Gate + Queen 2.7.0, with a mocked timeline for the charts
  • Light theme not checked

- History charts get real axes: round y ticks with the unit on the axis,
  whole-number ticks for counts, clock-unit ticks for the oldest-pending age,
  and clock-aligned time ticks (lib/chart-axes.js, with tests).
- Traffic over time no longer touches the Paths card above it.
- Sign-in mirrors Queen's proxy login page: wordmark, 400px card,
  Google's official light button, help line.
- Overview: the health banner follows tone cards (no border, card surface);
  the peak-usage gauge track is visible in tone and 0% draws no stray dot.
- New target uses the same width and alignment as the other pages.
@albertovincenzi
albertovincenzi merged commit 6ec1797 into master Nov 18, 2026
2 checks passed
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