Repository navigation
feat(frontend): state pages, 403 and 404 over the database and session slices - #159
Merged
Merged
Conversation
This was referenced Nov 25, 2026
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 #146.
Summary
The state pages, the Run migrations outcomes, 403 and 404 become pages over the
databaseandsessionslices;screens/StatePage.tsx,screens/RunMessage.tsxandapp/failure.tsxare gone.The Migration card now follows the board and SPEC 10.5: "The module was upgraded to 1.4. Nodes keep serving Snapshot #41 meanwhile.", then the backup warning, "Update database", "3 steps". New layout class
.state-text(the board's inlinemax-width:52ch).API: unchanged. The 503 body does not carry the module version or the current Snapshot, so
DatabaseRefusalgets them as optional fields: the memory adapter supplies them (storyBoard), the HTTP adapter does not, and production shows only the backup warning (storyDraft: Milestone 1 server). Serving them is a server change for a later issue.Stories:
Decision under review (5):
api/migratein Ready answers Applied with nothing applied, and the requested screen shows the info callout "The database schema is already up to date." SPEC 4.7 and the 10.5 table now specify this, so the storyReview: Already up to dateis both the SPEC variant and the built one; there is no other variant to set beside it.Evidence
npm test: 86 files, 451 tests pass; coverage 99.38 % lines. Moved tests (screens/*Migration*,StatePages,app/failure.test.tsx→pages/) keep their assertions, except the Migration card's text (SPEC 10.5 dropped "Sign-in is not affected.", added "3 steps") and a new breadcrumb test for a missing object.npm run test:visual: 124 pass, three runs, zero diffs. Existing references unchanged; 76 new ones.composer test,composer static,npm run lint,npm run typecheck,composer size,composer build(no diff): green. No PHP touched.Board
Migrationvs storyBoard, computed styles, light and dark, 1440 and 400: colours, card, title, button and "steps" type match. The only offsets come from the extra line of the backup warning.Board differences
Draft:storiesMerge Danger
Door: two-way
Blast Radius: state and failure pages
Wording of the pending migrations card changes; routing of 403/404/503 is unchanged (covered by the moved integration tests). New screenshots wait for
visual-change.