Skip to content

Fix the findings of the 0.2.27 release review - #404

Merged
neuromechanist merged 4 commits into
stagingfrom
docs/changelog-review-fixes
Oct 1, 2026
Merged

neuromechanist merged 4 commits into
stagingfrom
docs/changelog-review-fixes

Conversation

@neuromechanist

@neuromechanist neuromechanist commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes from the review of the 0.2.27 release PR (#400): three Sonnet reviewers (code, comments and prose, changelog facts) ran against staging. Nothing was a release blocker; this lands the fixes on staging before promotion. The version stays 0.2.27 (Auto Bump Staging skips a clean version).

Code

  • The account panel is capped to the viewport and scrolls inside. At 667x320 an admin's panel ran to 377 px and "Sign out" was cut off; it now stops 16 px above the bottom and scrolls to it. (The header it hangs from is the sticky one, so page scroll cannot bring it into view; see The sticky header only sticks for about one viewport of scroll #405.)
  • Escape closes the hamburger panel, as it does the account menu, and both hand focus back to their button when it was inside (it fell to <body> before). Checked in five cases, including no focus stealing when focus was elsewhere.
  • The 340 px logo rule uses Brand's sm height (28 px) instead of an off-scale 30 px.
  • src/lib/osa-widget.ts said a deferred widget script never holds up the page's load event. In Chrome a deferred script whose host answered after 3 s moved DOMContentLoaded and load to about 3 s; it only stops blocking the parser and the scripts after it. Comment corrected.

A correction to my own claim

The comment, the #397 description and my summary said the avatar-anchored panel "ran off the left edge at 320 px". That is only true for a long address: with a normal one the old panel fit (left edge at 6 px, the avatar is 58 px from the screen edge). A 60-character address made it 476 px wide, starting at -214 px, because the nowrap email set the panel's width, and from about 30 characters it already overflowed. Pinning the panel to the gutters is still right, for that reason; the comment now says so, and with the long address at 320 px the shipped panel is 16 to 304 px with the email truncated.

Tests

  • the production pin in wrangler.toml: reads the real file and requires a ready, commit-pinned widget with an integrity hash. A malformed pin used to degrade to no widget and a console warning, so a mistyped repin reached production with nothing failing. Both mutations tried (a truncated hash, a moving ref) fail it.

Docs

  • ADR 0018's 0.8.16 update: the launcher settings are written out in NEMAR's community config in OSA at the values the launcher already had, so "the widget's own defaults apply" was wrong; added the hash recipe, the OSA release PR, the runtime bundle's identity (byte-identical across 0.8.15 and 0.8.16), and that the decision stands.
  • Changelog fact-check, every finding applied: the 0.2.22 news card claim (the cards were not rendered in that release), the 0.2.26 breakpoints (three columns share a row only from 1024 px), the deferred-script wording, 0.2.19 dated by the GitHub Release (UTC), a missing Security entry for the Markdown link allowlist (0.2.22), the 0.2.20 CSP host and upload routes, and other imprecise details. Entries are one sentence per line, and the intro now says each PR adds its entry under [Unreleased].

Filed

#401 signed-out phones have no theme control, #402 /discover scrolls sideways at 390 px, #403 the assistant launcher covers the cookie notice button on phones, #405 the sticky header only sticks for about one viewport of scroll (reproduced on production), #406 the primary nav labels break mid-word between 881 and 1024 px (reproduced on production).

Testing

  • bun run lint, bun run typecheck (0 errors), bun run test (2693 passed)
  • Chrome: panel scroll at 667x320, Escape and focus (5 cases), long-address panel at 320 px, the old-anchoring emulation, the logo squeeze at 320 px

A deferred script does not hold up the parser or the scripts after it, but it still delays DOMContentLoaded and the load event: in Chrome, a deferred script whose host answered after 3 s moved both to about 3 s. The doc comment said the load event was never held up. Comment only.
Found in the 0.2.27 release review of the phone header (#397).

- The account panel is capped to the viewport and scrolls inside, so
  "Sign out" is no longer cut off on a short landscape phone (an
  admin's panel is about 305px tall; it was cut off at 320px).
- Escape closes the hamburger panel as it does the account menu, and
  both hand focus back to their button when focus was inside.
- The 340px logo rule uses Brand's sm height (28px) instead of 30px.
- Comments: the 320px rationale is corrected (a normal address fit; a
  long one did not), sync comments added for the duplicated Sign in
  pill and the gutters mirrored from global.css, tap-target wording.

Tested in Chrome: the panel at 667x320 stops 16px above the bottom and
scrolls to Sign out; Escape and focus in five cases; lint, typecheck
and unit tests pass.
A malformed production pin degrades to no widget and a console
warning, so a mistyped repin reached production with nothing failing
in CI. The new test reads wrangler.toml and requires the pin to
resolve to a ready, commit-pinned widget with an integrity hash.
Both mutations tried (a truncated hash, a moving ref) fail it.

ADR 0018's 0.8.16 update is corrected and completed: the launcher
settings are written out in NEMAR's community config in OSA (the
widget's own defaults do not apply), the hash recipe is recorded, the
release PR and runtime bundle identity are cited, and the decision is
stated to stand.
Fixes the findings of a fact-check of the backfilled releases against
the PRs and the code at each tag: the 0.2.22 news card claim, the
0.2.26 breakpoints, the deferred-script wording, the 0.2.19 date (UTC,
matching the GitHub Release), and several imprecise or missing details,
including a Security entry for the Markdown link allowlist in 0.2.22.
Entries are one sentence per line, and the intro says each PR adds its
entry under Unreleased because release.yml does not edit this file.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: e07aeef
Status: ✅  Deploy successful!
Preview URL: https://5c453306.nemar-website.pages.dev
Branch Preview URL: https://docs-changelog-review-fixes.nemar-website.pages.dev

View logs

@neuromechanist
neuromechanist merged commit 034a736 into staging Oct 1, 2026
5 checks passed
@neuromechanist
neuromechanist deleted the docs/changelog-review-fixes branch October 1, 2026 16:11
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