feat(web): add Save & close to the props-mode page docheader #84
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/deckle!84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "afk/82"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The page-properties mode of the page docheader (
props=1) gains a second primary action: Save & close next to the existing Save.props-save-close, primary, disabled under the samebarSaveDisabled()condition) awaitsSettingsSaveApi.save()and clears thepropsparam only when it resolvestrue. On a 422 or client-side validation failure the form stays open with the existing inline field errors — no navigation.Tests
Extended
Docheader.test.tsxprops-mode block:props-save-closepresent in the deep-link assertions.field-error-titleshown, form stays mounted,props=1retained.Verified: full web suite 775/775 green,
tsc --noEmitclean,vite buildok,go build ./...andgo test ./...all green.Closes #82
🤖 Generated with Claude Code
Landing audit — PR #84
Verdict: PASS
ci / build-and-test)feat(web): …Conventional Commitsafk/82, body carriesCloses #82main, 0 behindReview notes:
props-save-closebutton added,primary, disabled under the samebarSaveDisabled()as Save; awaitssettingsApi()?.save()and clearspropsonly on atrueresolve.Docheader.test.tsxprops-mode block with the save-then-close success path and the 422 stay-open path; deep-link assertion includesprops-save-close.Awaiting free-text merge confirmation.