Skip to content

docs(ui): dot-matrix glyph primitives and the ActivityBarItem split (RIG-3603) - #1172

Merged
trunk-io[bot] merged 1 commit into
mainfrom
compass-ux/3603-glyph-primitives-design
Sep 12, 2026
Merged

docs(ui): dot-matrix glyph primitives and the ActivityBarItem split (RIG-3603)#1172
trunk-io[bot] merged 1 commit into
mainfrom
compass-ux/3603-glyph-primitives-design

Conversation

@rigel-mintaka

Copy link
Copy Markdown
Contributor

Compass UI chrome depends on 29 non-ASCII glyphs that neither brand face
covers, held up by a ~14 MB Unifont pin in the e2e toolchain. This record
adopts the dot-matrix crispEdges SVG technique DL-150/DL-199 already froze
and shipped in StateDot/BadgeGlyph, and sets the conditions for retiring
the pin.

It also splits ActivityBarItem.icon: string, which conflated two different
primitives: a fixed symbol from a closed set, and an agent handle's initial.
They split at the item — GlyphTabItem vs AvatarTabItem — because a
field-level union preserves exactly the confusion that made the field hard to
read.

Three findings that reshaped the plan, each grounded in the code:

  • The glyph lane repaints pixels inside at least 5 of the 11 committed
    baselines, so it recaptures at T6; the pin removal then recaptures again.
    An earlier draft scheduled all recapture in the pin PR, which would have
    shipped a PR that fails the visual gate with no step to fix it.
  • .term-body renders through var(--cx-font-ui) — there is no separate
    terminal font stack — and agent.png captures the stub-data.ts fixture
    glyphs, so the pin cannot retire until those two strings are ASCII.
  • The union breaks two reads, not one: {tab.icon} and tab.agentId. T3 and
    T4 therefore land as a single commit; split, the first is red at typecheck.

Ledger-impact: adds DL-366.

Co-authored-by: Matt Wilkinson matt@rigel.build

@linear-code

linear-code Bot commented Sep 12, 2026

Copy link
Copy Markdown

RIG-3603

@trunk-io

trunk-io Bot commented Sep 12, 2026

Copy link
Copy Markdown

😎 Merged successfully - details.

@github-actions

github-actions Bot commented Sep 12, 2026

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-ux-3603-glyph-primit.compass-eng-docs.pages.dev

Deployed from compass-ux/3603-glyph-primitives-design at 4a2a557.

Changed pages:

@rigel-mintaka
rigel-mintaka force-pushed the compass-ux/3603-glyph-primitives-design branch from 98780ec to 122b0a5 Compare September 12, 2026 20:32
@rigel-mintaka
rigel-mintaka marked this pull request as ready for review September 12, 2026 20:36
…RIG-3603)

Compass UI chrome depends on 29 non-ASCII glyphs that neither brand face
covers, held up by a ~14 MB Unifont pin in the e2e toolchain. This record
adopts the dot-matrix `crispEdges` SVG technique DL-150/DL-199 already froze
and shipped in `StateDot`/`BadgeGlyph`, and sets the conditions for retiring
the pin.

It also splits `ActivityBarItem.icon: string`, which conflated two different
primitives: a fixed symbol from a closed set, and an agent handle's initial.
They split at the item — `GlyphTabItem` vs `AvatarTabItem` — because a
field-level union preserves exactly the confusion that made the field hard to
read.

Three findings that reshaped the plan, each grounded in the code:

- The glyph lane repaints pixels inside at least 5 of the 11 committed
  baselines, so it recaptures at T6; the pin removal then recaptures again.
  An earlier draft scheduled all recapture in the pin PR, which would have
  shipped a PR that fails the visual gate with no step to fix it.
- `.term-body` renders through `var(--cx-font-ui)` — there is no separate
  terminal font stack — and `agent.png` captures the `stub-data.ts` fixture
  glyphs, so the pin cannot retire until those two strings are ASCII.
- The union breaks two reads, not one: `{tab.icon}` and `tab.agentId`. T3 and
  T4 therefore land as a single commit; split, the first is red at typecheck.

Ledger-impact: adds DL-366.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@rigel-mintaka
rigel-mintaka force-pushed the compass-ux/3603-glyph-primitives-design branch from 122b0a5 to 4a2a557 Compare September 12, 2026 20:52
@trunk-io
trunk-io Bot merged commit a4dd099 into main Sep 12, 2026
15 checks passed
@trunk-io
trunk-io Bot deleted the compass-ux/3603-glyph-primitives-design branch September 12, 2026 21:54
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.

2 participants