Repository navigation
Fix the 0.2.29 release review findings - #436
Merged
Merged
Conversation
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.
Deploying nemar-website with
|
| 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 |
13 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes from the release review of 0.2.29 (#433), two Sonnet reviewers over the whole
origin/main...origin/stagingdiff. No blocker from either; everything real is fixed here or filed.Fixed
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_CLASShas one home,eeg-viewer/retry.ts, imported by the session and the viewer (it was spelled in three places). A test readseeg-viewer.cssand fails if the selectors drift;vitest.config.tslets that one stylesheet through, because Vitest blanks stylesheets otherwise.isRetryableUnavailabledid 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);moduleFailedalso covers a module that loaded and then threw.Filed
replaceStateplusreloaddoes not keep the partner's referrer, and the real fix is a counting rule that belongs in ADR 0024.Not changed, with the reason
presenthook returns false re-enables the old button with only a console error, and a hook that throws after presenting would leave "Loading viewer":presentfails only when the dialog markup is missing (the first open would have failed the same way), and no hook can throw there today.package.jsondescription is the maintainer's wording and the field is not published ("private": true).Testing
bun run lint,bun run typecheck(0 errors) andbun run test(3014 passed).aria-describedbyfrom the outage button each fail a new test.