You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
[SDUI][P0] RuntimeDraftBar for record pages & forms #1542
Dashboards and reports show an "unpublished changes" bar with Publish/Discard. Record pages and forms have no such affordance, so runtime page edits (once persisted, see the page-persistence issue) have no publish UI.
Goal
A reusable RuntimeDraftBar surfaced on record pages (and forms) that indicates an unpublished draft exists and offers Publish / Discard, wired to the ADR-0034 seam.
Scope
Extract/reuse the dashboard/report draft-bar pattern into a shared component.
Mount it on RecordDetailView (and RecordFormPage) when readRuntimeDraft returns a draft.
Publish → publishRuntimeMetadata; Discard → discardRuntimeMetadata; both refresh the rendered schema.
Acceptance
Bar appears only when an unpublished draft exists for the current page/form
Publish/Discard call the seam and update the view without a full reload
Activity