Repository navigation
Review of 25 Nov: site, Pathway Browser and embed fixes - #1090
Merged
Merged
Conversation
…lled - The route's title is set on arriving at a page, not at every navigation: a second search, or a selection the Pathway Browser keeps in the address, overwrote the title the page had given itself with the route's generic one. - serve-prod names the deployment in index.html however the name is spelled: the static files decode and normalise a path, so //index.html or /%69ndex.html reached the page without the deployment's line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…failures - The embed's diagram reads its font faces once the font stylesheets its loader added have loaded (within the same two-second wait): on a partner's page they could arrive after the diagram was ready, leaving no face to wait for and the diagram framed in a fallback font. The loader asks for Roboto Mono too, as the site does. - A report cut off as it arrives fails, instead of leaving the line saying it is being made and the button refusing. - A 503 read as "this deployment cannot check a person" still offers Try again: a proxy's 503 can come without Retry-After too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eview of 25 Nov) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ow (review of the site fixes) The router no longer resets the title while the page stays, so the page takes the name off itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 25 Nov review, slices C1 and C2 (site, Pathway Browser, embed, e2e), and from the review of these fixes. Each code fix has a test seen failing without it, unless noted.
page-title.ts): the route's title is set on arriving at a page, not at every navigation. A second search, or a selection the Pathway Browser keeps in the address, had overwritten the title the page gave itself with the route's generic one (unit test with the router). The Pathway Browser now takes a pathway's name off itself when none is on show, since the router no longer resets it (one line; no new test).index.htmlspellings (serve-prod.js): the deployment is named inindex.htmlhowever the name is spelled. The static files decode and normalise a path, so//index.htmlor/%69ndex.htmlhad reached the page without the deployment's line. Only reachable on a direct connection: nginx normalises first.diagram-fonts.ts, the loader): the diagram reads its font faces once the font stylesheets the loader added have loaded, within the same 2 s wait. On a partner's page a diagram could otherwise be ready before any face was declared, and be framed in a fallback font. The loader asks for Roboto Mono too, as the site does.🤖 Generated with Claude Code