Resync the vendored design system: no em or en dashes left #73

Merged
jared merged 0 commits from design-resync into main 2026-11-28 20:05:47 -05:00
Owner

Closes #56.

What changes

  • static/base.css: replaced with upstream web_template 8286bb2. Gandalf's copy was identical to the older 8f2f310 with no local edits. Besides removing the dashes, it brings the upstream fixes made since then: light mode tokens (--accent-green-border, --shadow-color), native select popups in light mode, and the utilities back-ported from tinker_tickets.
  • static/base.js: upstream 8286bb2, plus Gandalf's one real local edit: lt.time.ago shows "just now" under 5 seconds, which also covers a server clock slightly ahead of the browser. Gandalf's other local edits were the same dash fixes upstream has now made. Two of its strings now match upstream wording:
    • the offline banner reads NO NETWORK CONNECTION: RECONNECTING... (was a comma);
    • the boot line reads ALL SYSTEMS NOMINAL: GANDALF.
  • CI: a new No em or en dashes job in lint.yml, and deploy now requires it. It's Pulse's check, plus -I so binary files are skipped. It catches U+2013 and U+2014, the mdash and ndash HTML entities, the JS escapes, and the numeric entities. It passes on this branch and finds all 135 on main.

Before and after

I captured six pages from the demo environment (fictional data) on main and on this branch: the dashboard, a device page, topology, events, the cutsheet and suppressions. Each was taken in dark and light themes, at 1440 px and at 390 px, with the startup animation skipped. A pixel diff of every pair shows only timestamps and the pulsing status-dot glow; no layout or colour changes. No page has a dash in its text, and none scrolls sideways at 390 px.

Before After
Dashboard, dark
Dashboard, light
Device page, light, phone
Suppressions, dark

The screenshots live on the pr-73-screenshots branch, which can be deleted after merge.

🤖 Generated with Claude Code

Closes #56. ## What changes - **`static/base.css`:** replaced with upstream web_template `8286bb2`. Gandalf's copy was identical to the older `8f2f310` with no local edits. Besides removing the dashes, it brings the upstream fixes made since then: light mode tokens (`--accent-green-border`, `--shadow-color`), native select popups in light mode, and the utilities back-ported from tinker_tickets. - **`static/base.js`:** upstream `8286bb2`, plus Gandalf's one real local edit: `lt.time.ago` shows "just now" under 5 seconds, which also covers a server clock slightly ahead of the browser. Gandalf's other local edits were the same dash fixes upstream has now made. Two of its strings now match upstream wording: - the offline banner reads `NO NETWORK CONNECTION: RECONNECTING...` (was a comma); - the boot line reads `ALL SYSTEMS NOMINAL: GANDALF`. - **CI:** a new **No em or en dashes** job in `lint.yml`, and deploy now requires it. It's Pulse's check, plus `-I` so binary files are skipped. It catches U+2013 and U+2014, the `mdash` and `ndash` HTML entities, the JS escapes, and the numeric entities. It passes on this branch and finds all 135 on `main`. ## Before and after I captured six pages from the demo environment (fictional data) on `main` and on this branch: the dashboard, a device page, topology, events, the cutsheet and suppressions. Each was taken in dark and light themes, at 1440 px and at 390 px, with the startup animation skipped. A pixel diff of every pair shows only timestamps and the pulsing status-dot glow; no layout or colour changes. No page has a dash in its text, and none scrolls sideways at 390 px. | | Before | After | |---|---|---| | Dashboard, dark | ![](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-73-screenshots/before-dashboard-dark-desk.png) | ![](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-73-screenshots/after-dashboard-dark-desk.png) | | Dashboard, light | ![](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-73-screenshots/before-dashboard-light-desk.png) | ![](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-73-screenshots/after-dashboard-light-desk.png) | | Device page, light, phone | ![](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-73-screenshots/before-device_compute-storage-01-light-phone.png) | ![](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-73-screenshots/after-device_compute-storage-01-light-phone.png) | | Suppressions, dark | ![](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-73-screenshots/before-suppressions-dark-desk.png) | ![](https://code.lotusguild.org/LotusGuild/gandalf/raw/branch/pr-73-screenshots/after-suppressions-dark-desk.png) | The screenshots live on the `pr-73-screenshots` branch, which can be deleted after merge. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared merged commit 3700934ee8 into main 2026-11-28 20:05:47 -05:00
jared deleted branch design-resync 2026-11-28 20:05:47 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/gandalf#73