Resync the vendored design system: web_template is now free of em and en dashes #56

Open
opened 2026-11-22 19:55:53 -05:00 by jared · 0 comments
Owner

LotusGuild/web_template#3 (merged 2026-11-22, upstream 8286bb2) removed every em and en dash from the shared design system. That's house style: no em or en dashes anywhere. Gandalf's vendored copy still has 135 of them.

Gandalf's vendored copy

File State
static/base.css identical to upstream 8f2f310 (an older version), no local edits
static/base.js has local edits, so don't overwrite it blindly

What to do

  1. static/base.css: replace it with upstream base.css at 8286bb2 or later.
  2. static/base.js: bring in the upstream changes without losing Gandalf's local edits. Diff Gandalf's copy against the upstream version it came from, then apply that diff on top of the current upstream file (or the reverse).
    • The upstream dash commit changes comments, plus a few strings users see:
      • empty values in lt.fmt show -;
      • the boot line reads ALL SYSTEMS NOMINAL: <app>;
      • the offline banner reads NO NETWORK CONNECTION: RECONNECTING...;
      • the offline toast reads Connection lost, working offline.
    • lt.boot now gets the app name from the page title with split(' | '). Gandalf's titles are already Page | GANDALF, so nothing changes there.
  3. Check Gandalf's own files. They're already clean: git grep -P '[\x{2013}\x{2014}]' finds nothing outside the vendored files.
  4. Optional: add a CI step that fails on em or en dashes, so they don't come back. Pulse's version is in .gitea/workflows/ci.yml ("No em or en dashes"). It also catches &mdash;, &ndash;, the JS escapes and the numeric entities.
  5. UI change: take before and after screenshots for review.

Related: LotusGuild/pulse#55 did the same resync for Pulse, with Playwright checks that no page shows a dash.

LotusGuild/web_template#3 (merged 2026-11-22, upstream `8286bb2`) removed every em and en dash from the shared design system. That's house style: no em or en dashes anywhere. Gandalf's vendored copy still has **135** of them. ## Gandalf's vendored copy | File | State | |---|---| | `static/base.css` | identical to upstream `8f2f310` (an older version), no local edits | | `static/base.js` | **has local edits**, so don't overwrite it blindly | ## What to do 1. **`static/base.css`:** replace it with upstream `base.css` at `8286bb2` or later. 2. **`static/base.js`:** bring in the upstream changes without losing Gandalf's local edits. Diff Gandalf's copy against the upstream version it came from, then apply that diff on top of the current upstream file (or the reverse). - The upstream dash commit changes comments, plus a few strings users see: - empty values in `lt.fmt` show `-`; - the boot line reads `ALL SYSTEMS NOMINAL: <app>`; - the offline banner reads `NO NETWORK CONNECTION: RECONNECTING...`; - the offline toast reads `Connection lost, working offline`. - `lt.boot` now gets the app name from the page title with `split(' | ')`. Gandalf's titles are already `Page | GANDALF`, so nothing changes there. 3. **Check Gandalf's own files.** They're already clean: `git grep -P '[\x{2013}\x{2014}]'` finds nothing outside the vendored files. 4. **Optional:** add a CI step that fails on em or en dashes, so they don't come back. Pulse's version is in `.gitea/workflows/ci.yml` ("No em or en dashes"). It also catches `&mdash;`, `&ndash;`, the JS escapes and the numeric entities. 5. **UI change:** take before and after screenshots for review. Related: LotusGuild/pulse#55 did the same resync for Pulse, with Playwright checks that no page shows a dash.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/gandalf#56