Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/37515-owd-overview-guarded-draft-save.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@object-ui/app-shell': patch
---

fix(app-shell): the Studio sharing-defaults overview's Save no longer overwrites, or publishes unseen, a draft saved elsewhere since the page loaded

Clause-②: no
Metadata-protocol: none

The overview of every object's org-wide sharing default (Studio → Access) now writes each changed object's draft the way the Studio editors do: pinned to the draft its load read, at the package the save writes. A draft another writer (a copilot, another admin, another tab) saved after the load is no longer replaced by the Save, and a draft that appeared after the load is no longer published live under the author's Save without the unpublished-draft mark ever being shown: the draft save is refused and the conflict dialog asks to reload the saved draft, overwrite it with the author's version after a confirmation, or keep editing. An object whose draft the server will not let this session read is not saved over that draft; the Save names it. An object kept unsaved stays pinned to the reads its edit was made on, and a re-read of the table that a later one overtakes installs nothing. Against a server that serves no draft version, the draft save goes unpinned, as before.
Loading
Loading