Skip to content

Fix the 0.2.29 release review findings - #436

Merged
neuromechanist merged 2 commits into
stagingfrom
fix/viewer-retry-review
Oct 6, 2026
Merged

neuromechanist merged 2 commits into
stagingfrom
fix/viewer-retry-review

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Fixes from the release review of 0.2.29 (#433), two Sonnet reviewers over the whole origin/main...origin/staging diff. No blocker from either; everything real is fixed here or filed.

Fixed

  • The outage message's Try again is described by its sentence (unavailableHtml, now a pure string so it is tested), and a retry that ends in a message with no button puts the focus on the message instead of dropping it on the page body. The changelog said the button was described by the message for both paths; it now says only what is true.
  • RETRY_CLASS has one home, eeg-viewer/retry.ts, imported by the session and the viewer (it was spelled in three places). A test reads eeg-viewer.css and fails if the selectors drift; vitest.config.ts lets that one stylesheet through, because Vitest blanks stylesheets otherwise.
  • Comments corrected: isRetryableUnavailable did not describe the two other callers that show the same sentence with no button on purpose; the CSS comment placed the outage button outside .eegv (it is inside); moduleFailed also covers a module that loaded and then threw.
  • The handoff had no 0.2.29 entry and still listed Viewer: a Try again action when the first recording fails to open #416 as open.

Filed

Not changed, with the reason

  • A retry whose present hook returns false re-enables the old button with only a console error, and a hook that throws after presenting would leave "Loading viewer": present fails only when the dialog markup is missing (the first open would have failed the same way), and no hook can throw there today.
  • "Largest archive tool" in the package.json description is the maintainer's wording and the field is not published ("private": true).

Testing

  • bun run lint, bun run typecheck (0 errors) and bun run test (3014 passed).
  • Mutating the class name or removing aria-describedby from the outage button each fail a new test.

The outage message's Try again is now described by its sentence, and a retry that ends in a message with no button puts the focus on the message. RETRY_CLASS moves to eeg-viewer/retry.ts, shared by the session and the viewer, with a test that reads the stylesheet. Comments about the message and button pairing, the CSS scope and module failures are corrected. Tested: lint, typecheck, 3014 unit tests; mutations of the class name and aria-describedby each fail a test.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5b1980a
Status: ✅  Deploy successful!
Preview URL: https://db29e1a0.nemar-website.pages.dev
Branch Preview URL: https://fix-viewer-retry-review.nemar-website.pages.dev

View logs

@neuromechanist
neuromechanist merged commit 7a4fa18 into staging Oct 6, 2026
5 checks passed
@neuromechanist
neuromechanist deleted the fix/viewer-retry-review branch October 6, 2026 16:34
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