Repository navigation
fix(serving): the 404 sits on the notice card and fills the page - #762
Merged
Merged
Conversation
Owner
Author
|
Review, round 1 (GPT 6.1 Sol, xhigh, in Codex): no findings. Sol checked every remaining use of the deleted classes, confirmed the shell notices render the same HTML as before, checked the page's full height on desktop and phone, and followed the Go to Patchy link under each route's existing CSP. The 14 rendering tests pass. VERDICT: RESOLVED. |
The HTML 404 now composes the shared notice card through the same renderNoticePage as the shell notices, so its background fills the window like every other card page. Its copy fits any unknown address, with one Go to Patchy link to /. Status, headers and CSP are unchanged. The shell rules only the old 404 used (.wrap, .wrap.compact, .doc-head, .head-line, .kicker) are gone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
allisonmahmood
force-pushed
the
fix/618-404-notice-card
branch
from
October 18, 2026 12:11
d860002 to
7be7953
Compare
allisonmahmood
added a commit
that referenced
this pull request
Oct 19, 2026
…ng Reconnecting (#783) Release 14's What's new entry, written from \`7694bab\`. It covers everything merged since release 13's \`through\` (\`c9b8fc4\`), and sets the \`patchy\` release to \`0.14.0\` (\`packages/patchy/package.json\` and \`CURRENT_RELEASE\`). | Change | PRs | | --- | --- | | Improved: Tools with server code answer faster | #756, #764, #768, #769, #771, #772, #773, #775, #778 | | Improved: Your company's tools and pages open sooner | #759, #761, #766, #770 | | Fixed: Tools stop flashing Reconnecting while they load | #755, #776, #780 | | Improved: Publishing is quicker | #729 | | Improved: New tools start with a tidy layout | #763 | | Improved: Your usual is easier to scan | #721 | | Fixed: A page that isn't there says what to do | #762 | | Fixed: A logo Patchy can't read is refused, not a crash | #728 | | Behind the scenes: richer logs for live data | #758 | #720 is release 13's own entry, so it's left out. Made by Claude Opus 5.5 via Claude Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Closes #618
The HTML 404 was the last first-party page built from the older PatchPage-era pieces (
.wrap.compact,.doc-head,.kicker). Only card pages get a full-height body, so its background stopped just below the content and left a flat band down the rest of the window. Its copy also said "Patch not found" on every unknown URL, though most mistyped first-party URLs reach it too.How
renderNotFoundnow composes the shared notice card, the same brand, kicker, heading, text and action components the shell notices use. Both go through onerenderNoticePageinshell.ts, so the 404 has no chrome of its own. The body fills the window, like every other card page./. That's Home for a colleague and the sign-in door for anyone else. The page is still one static response, so a patch from another company looks identical to a missing one.form-action 'none'allows..wrap,.wrap.compact,.doc-head,.head-lineand.kicker(.pillkeeps its shared rule). The only other files with these classes are standalone patch documents (examples/plan.html, the welcome patch reference, a brightline scenario file). Each one styles them itself, and patch documents never receive the shell's stylesheet.Hit every surface
ui-consistencyspec. It composeshtmlPageand the shared card, button and heading classes, adds no page CSS beyond the notice card's existing rule, and has no animation. No HTML policy change, so no fixtures.docs/product.mdand the portal glossary already say error doors keep the card shell. That's now true of the 404, so they need no edit.Screenshots
The signed-in desktop shots are
pnpm dev shot [email protected] /patchy-dev/missing.dev shotalways signs in at 1280×800, so I took the signed-out desktop and the 390×844 phones with the same Chromium through Playwright.Desktop, signed in
Before
Desktop, signed out
Before
Phone, 390 × 844
Built by Claude Opus 5.5 in Claude Code, running in T3 Code; reviewed by GPT 6.1 Sol in Codex