Lane 11 PR 10: edit a sheet, and it saves itself (#737) #975
Loading…
Reference in a new issue
No description provided.
Delete branch "build/lane11-10-editing"
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?
Part of #737 (lane 11, character sheets), PR 10 of the build contract. It builds on PR 9 (#972, merged).
What's new
Edit mode: source fields become inputs of the right kind:
Worked-out figures stay text and update live as you type (
live.jsruns the JS evaluator).Autosave: there is no Save button. The save line shows Saving…, Saved at, or Not saved with Try again, and is blank until the first save. A draft is kept on the device until it lands (
editState.js,useSheetEditor.js), and there is a leave guard.Conflicts: if someone else saved first,
ConflictPanelshows both values of each field. Keep mine or Use theirs, and focus then returns to the save line.Locks: the GM can lock a field or a group, and the player sees it as locked. A refused save reverts the input, and the save line warns "Not saved. That part of the sheet is the GM's to change."
Audience: each group with its own audience gets the audience picker.
Versions: every save is a version, and any of them can be put back from Versions.
Make a sheet: shown on a person's or creature's page with no sheet, for the GM and for the character's own player.
Accessibility:
aria-describedby.title.Lane 0:
SaveStategainsnoteandblank.AudiencePickerradios are 24×24.AppBarcrumb truncation.Derivationprints a constant term once.Checks
/designAudiencePicker and normal-length crumbs on other pages.changelog.d/737-lane11-sheet-editing.added.md. CATALOGUE and ledger updated.🤖 Generated with Claude Code