Repository navigation
Publish over the publication slice - #163
Merged
Merged
Conversation
…pability-gated diffs, discards and nodes
…publication slice
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 #145. Part of #135.
Summary
Publish is now a page over the
publicationslice.screens/Publish*is gone.page-publish(1180, gap 24) with "Ready to publish"; newpage-changes(1180, gap 20) when blocked or moved; defaultpage(1040, gap 20) for Nothing to publish and Published.RowDisclosure(React Aria Disclosure as a list row).DiffgetstabIndex=0: axe flags a wide diff as a scrollable region that cannot be reached by keyboard.Stories:
Pages/Publish(boards):Ready,Blocked,Moved,Empty,Done.Pages/Publish states:Draft: Ready, as the API serves it,Draft: Before the first Publication,Draft: Nothing to publish, never published,Draft: Unreadable and unnamed rows,Draft: Several problems,Draft: Loading.Pages/Publish outcomes:Draft: Moved, as the API serves it,Draft: Publishing,Draft: Not published,Draft: Published, this node could not build it,Draft: Discard all.Decisions under review
Review:story was needed.Board differences
Compared at 1440 and 400, light and dark:
legacy-radius). SPEC 10.14 says a Deleted row has no Open, so it has none.privatekey,default-sp-2027.pem,signature.algorithm). The server sends plain text, so it shows plain.Draft: Ready, as the API serves itandDraft: Moved, as the API serves it.Departures
NodeListindomain/publication) has its own small row model (NodeStatus: "Serves Minimum database engine versions and their limits #42" / "Still on Options core reads per managed entity set in SimpleSAMLphp 2.5 #41" and a check phrase). History, Rollback, Audit trail, Nodes and Compare in Storybook #161'sdomain/nodesslice came in while this was built, and its rows follow the Nodes board instead. Merging the two waits until the Node table is served.DoneandDraft: Published, this node could not build itcall React Aria'sdestroyAnnouncerat the end ofplay. The Publish button's pending announcement refers to a button that is gone once the page shows the outcome, and the preview'sbeforeEachruns too late for that story's axe check.Evidence
screens/Publish.tsxdrovefetchitself. Rows showed the entity ID, the verb "Unpublished" and the enum order. After a Publication the page showed "Snapshot 42 published" above "Nothing to publish".After:
pages/Publish{Review,Confirm,Problems,Refused}.test.tsx(moved fromscreens/, updated) run through the HTTP adapter.PublishDiscard.test.tsxcovers discard one and all, the failure callout and the missing Open on Deleted, over the memory adapter.composer test607 passed,composer staticok (file sizes ok), lint and type check clean,npm test583 passed (lines 98.9 %),npm run test:visualthree runs of 360 with zero diffs (Playwright server viaCONSOLE_VISUAL_WS, since 3765 was taken),composer buildleaves no diff. No PHP changed, socoverageandmutatewere not run.main.test.tsxand one edit-screen test hit their 5 s timeout twice in the fullnpm test. Both pass alone and in the next full run.Merge Danger
Door: two-way
Blast Radius: Publish
Only the Publish route changes. Adds 64 reference screenshots, so this waits for the maintainer's
visual-changelabel.