Skip to content

0.18.0: the board ships its own font, and the top bar stops flashing a scrollbar - #89

Merged
FourCourtJester merged 4 commits into
mainfrom
claude/repo-overview-bcfbgu
Nov 19, 2026
Merged

FourCourtJester merged 4 commits into
mainfrom
claude/repo-overview-bcfbgu

Conversation

@FourCourtJester

@FourCourtJester FourCourtJester commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

The 0.18.0 release: two fixes from the owner, plus a CI fix for the install step that stalled this PR twice. It's a minor rather than 0.17.2 because every board changes font without being asked, and --ss-font is new.

The board ships its own font, Inter

  • The problem: nothing set a font, so the board drew in each machine's own. That's Segoe UI on the Windows PC running OBS, San Francisco on a Mac, and Roboto or Noto elsewhere. The same dock wrapped and truncated text at different widths on each.
  • How it's shipped:
    • @fontsource-variable/inter (OFL) is a dependency of core, imported at the top of styles.css, so every studio gets it through the import it already has.
    • The font is split into one file per alphabet, and a browser fetches only what the page uses: 48 kB for Latin.
    • It's served by the studio's own build, so a dock with no internet still has it.
  • Overriding it: --ss-font on .ss-control sets another font.
  • Board only: graphics keep whatever font they name, or the system's. The guide gains a "Fonts" section on loading one for graphics.

Hovering the top bar no longer flashes a scrollbar

  • The problem: for the first two frames of revealing the cog and Save, the page was wider than the window (1300px in a 1280px one). The Save button drew past its box while its width was still opening.
  • The fix: .ss-control-bar { overflow-x: clip }. It's clip and not hidden, so the menu and tooltips still drop below the bar.

CI: the browser install no longer depends on Ubuntu's mirror

  • What failed: "Install Chromium" timed out at 8 minutes twice in two days, before any test ran.
    • The browser was cached both times. What hung was install-deps, which ran apt against Ubuntu's mirror on every run.
    • The mirror took about 7.5 minutes for about 20 MB of packages: CJK fonts, plus updates to libraries the runner image already has.
    • The per-attempt timeout didn't fire, because apt ran under sudo, outside its reach.
  • Now:
    • The step gets the browser, then launches it exactly as the suite does. If it starts, apt never runs.
    • Only if it doesn't start are the packages installed, with timeout inside sudo so a stall is killed and retried.
  • Tested here with the step's own script:
    • a browser that starts means no apt;
    • one that can't falls back and fails with a clear error;
    • a stalled install is killed and retried: 3 attempts at a 5s limit, 15s in all.
  • This PR's CI is the first run on GitHub's runner.

Verification

  • Each new e2e check negative-tested on a fresh build:
    • the font not shipped;
    • --ss-font ignored;
    • the font leaking onto graphics;
    • the reveal unclipped;
    • the reveal with overflow: hidden.
  • Full gate passes:
    • pnpm test (889 tests)
    • lint
    • typecheck
    • verify:template
    • docs:build
    • api-reference --check
    • the full e2e (373 checks)
  • Not verified: the owner's Windows machine and an OBS dock with Inter.

After merge

Fetch, then tag the merge commit by its hash:

git fetch origin
git tag v0.18.0 <merge-sha> && git push origin v0.18.0

🤖 Generated with Claude Code

https://claude.ai/code/session_01TFGhv32jx1vxD7qxaMoFxU

@FourCourtJester FourCourtJester changed the title Hovering the top bar no longer flashes a scrollbar The board ships its own font, and hovering the top bar no longer flashes a scrollbar Nov 18, 2026
The owner saw scrollbars blink as the cog and save appeared. Measured
frame by frame: for the first two frames of the reveal the page was
wider than the window -- 1300px in a 1280px one, 404 in 380 -- because
the tools' overflow turns visible on hover while their max-width is
still opening from 0, so the save button drew up to 20px past its box
and past the window's edge.

.ss-control-bar now clips sideways overflow. clip rather than hidden so
the other axis stays visible: the cog's menu and the tooltips drop below
the bar and still show.

E2e: one check that samples every frame of the reveal (0 of 37 wider
than the window) and opens the menu, negative-tested on fresh builds --
without the clip it counts 2 widened frames, and with overflow: hidden
in its place the page stays narrow but the menu is cut off. Both red.

Gate: pnpm test (889), lint, typecheck, verify:template, docs:build,
api-reference --check, and the full e2e on a fresh build, 371 checks.
Not verified: OBS's own dock, where the flash was seen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TFGhv32jx1vxD7qxaMoFxU
Nothing set a font, so the board drew in each machine's own -- Segoe UI
on the Windows PC running OBS, San Francisco on a Mac, Roboto or Noto
elsewhere -- and the same dock wrapped and truncated at different widths
on each. The owner lays out on Windows; a laptop moved it. Segoe UI
cannot be redistributed. Inter (OFL), the owner's pick, can, and is
made for interfaces at the board's sizes.

@fontsource-variable/inter is a dependency of core, imported at the top
of styles.css, so every studio gets it through the import it already
has. Variable, one file per script with a unicode-range, so a browser
fetches only what the page uses: on the fixture, one file, Latin,
48 kB. Served by the studio's own build -- the template and the demo,
built against the packed packages, both emit it -- so a dock with no
internet still has it. .ss-control's font is
var(--ss-font, 'Inter Variable', <system stack>).

Board only, the owner's call: graphics keep whatever font they name, or
the system's, since a font change on air should be the studio's. The
guide gains a Fonts section on loading one for graphics, with an
example checked against the package it names.

E2e: two checks -- the board draws in Inter, loaded; --ss-font
overrides it and a graphic's root keeps the system stack. Negative-
tested on fresh builds: the import removed, --ss-font ignored, and the
font set on :root so it reaches graphics -- all three red. The last
first passed by mistake: the check read the scoreboard, which names its
own font, so a leak could not show; it now reads the graphic's root.

Gate: pnpm test (889), lint, typecheck, verify:template, docs:build,
api-reference --check, and the full e2e on a fresh build, 373 checks;
every board-width measurement in it held with Inter. Not verified: the
owner's Windows machine, where the board will now look different from
what was laid out in Segoe UI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TFGhv32jx1vxD7qxaMoFxU
The board in a font of its own, Inter, so it measures the same on every
machine, and a top bar that no longer flashes a scrollbar when hovered.
A minor rather than 0.17.2: every board changes font without being
asked, and --ss-font is new. Every package and range to 0.18.0; the
plugin template's core peer stays >=0.15.0 <1.0.0.

Gate, on this tree: pnpm test (889), lint, typecheck, verify:template,
docs:build, api-reference --check. Not re-run here: the e2e, since
nothing but version numbers changed from 916fa3d, whose full e2e passed
locally (373 checks) and in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TFGhv32jx1vxD7qxaMoFxU
@FourCourtJester
FourCourtJester force-pushed the claude/repo-overview-bcfbgu branch from 916fa3d to 7956272 Compare November 19, 2026 02:30
@FourCourtJester FourCourtJester changed the title The board ships its own font, and hovering the top bar no longer flashes a scrollbar 0.18.0: the board ships its own font, and the top bar stops flashing a scrollbar Nov 19, 2026

Copy link
Copy Markdown
Owner Author

CI red on verify (run 44444869764) is not this PR's. "Install Chromium" timed out after 8 minutes, before any test ran.

  • The slow part: Ubuntu's package mirror took about 7.5 minutes for roughly 20 MB of packages, most of them fonts that the tests don't use.
  • Why the retry didn't help: each attempt has a 120-second timeout, but the install runs under sudo, which escapes it. So the retry never ran.

The failed job has been re-run once. A fix to the CI step is proposed separately.


Generated by Claude Code

"Install Chromium" timed out at 8 minutes twice in two days (2026-11-18,
-19), before any test ran. The browser was cached both times; what hung
was `playwright install-deps`, which ran apt against Ubuntu's mirror on
every run. The mirror took ~7.5 minutes for ~20 MB, and what it was
fetching was not needed: CJK and symbol fonts, and updates to libraries
the runner image already has -- every library Chromium links against
said "already the newest version". The per-attempt timeout did not
help: apt ran under Playwright's own sudo, outside the process group
`timeout` signals, so the retry never came and one attempt ate the step.

Now: get the browser (the cache, or a download `timeout` can kill), then
launch it exactly as the suite does -- Playwright's own Chromium, or
CHROMIUM_PATH where set. If it starts, apt is never run. Only if it does
not are the system packages installed, with `timeout` running as root
inside sudo, where it kills apt itself; then it has to start, or the
step says which part failed.

Tested here against the real Playwright, with the step's script taken
from the YAML: a browser that starts exits 0 with no apt; one that
cannot falls back, installs the packages (13 upgrades in this sandbox),
and fails with "does not start even with its system packages
installed". A stalled install -- a child holding the pipe open under
sudo -- is killed at its limit and retried: three attempts, 5s each at a
5s limit, 15s in all. Not verified: GitHub's runner itself, which this
PR's CI is the first to run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TFGhv32jx1vxD7qxaMoFxU
@FourCourtJester
FourCourtJester merged commit 8cb5221 into main Nov 19, 2026
3 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.

2 participants