Skip to content

Commit 76f8ec9

Browse files
huangyiireneclaude
andauthored
docs: Studio saves go live at once; only the AI assistant's drafts wait for publish (#38884)
<!-- claude-projects-attribution: {"github_login":"huangyiirene"} --> _Requested by **Irene** · [project thread](https://claude.ai/code/project/chan_01TJXtQ1tVD26ecLDZxFS67x?thread=cmsg_01TJXtQ1tVD26ecLDZxFS67xDCagp5aTky1kdB2TSHk9rm)_ Fixes #38852 ## What changes `content/docs/build-without-code.mdx`, Studio section: the "Draft → publish" bullet and its lead-in. - The lead-in now says an administrator's own Studio edits have no review step, then names the two properties that still keep Studio safe to hand to non-developers. - The bullet becomes **Your saves go live; the AI assistant's drafts wait.** A Studio Save publishes at once; a Save that would remove a published field or change its type asks first; changes the AI assistant drafts wait on the **Pending** tab of the package's **Overview** page until reviewed and published. - The **Same gate as code** bullet is unchanged. ## Why The page said Studio changes "save as drafts and go live only when published, with a change list to review first". On 19 that is not what happens, so a builder expects a review step that does not exist, and AI writers copy the sentence. Each new sentence was read against `main`: - Save publishes at once: `DataPillar.tsx` `doSave` writes the draft, then `publishSavedItem` for that object ("so the save is live at once"); the Save button title reads "Save the changes on this page. They take effect at once." and the toast "Saved, live now: {items}" (`ui/packages/i18n/src/namespaces/studio/en.ts`). - The confirm before an irreversible change: `objectSaveConfirm.ts` `irreversibleFieldChanges` (a published field removed or given another type), shown as `engine.studio.save.confirmIrreversible` / `confirmRemoveField` / `confirmRetypeField`, which name what happens to stored values. - The AI assistant's drafts wait: the Overview page's Pending tab (`engine.studio.overview.tab.pending`) reads "Changes the AI assistant drafted wait here until you publish them. Your own saves go live at once." ## Verification - `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack`: 45 commands derived, all 45 exit 0 (run under `NODE_OPTIONS=--max-old-space-size=8192`, after `pnpm install --frozen-lockfile` and a build of `@objectstack/spec`, `formula`, `lint`, `objectql` and `client-react...`), at b6386d0. `origin/main` was then merged in (197e3ff); it touches nothing under `content/` or `scripts/`. - `node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD`: clean. - No changeset: docs only, nothing publishes, and no gate derived one. Clause-②: no Metadata-protocol: none ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (not touched) - [x] 2. Every name I added uses the casing for its kind. (no names added) - [x] 3. No formatter ran; `pnpm lint` passes. (no formatter ran; one `.mdx` file changed, the derived docs gates are green) - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (nothing publishes) - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (not touched) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. --- _Generated by [Claude Code](https://claude.ai/code)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent b566735 commit 76f8ec9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎content/docs/build-without-code.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ From any app, **"Design in App Studio"** opens the same application in design mo
2828
| **Interface** | Apps, navigation, views, pages, and dashboards |
2929
| **Access** | Permission sets as a matrix of object/field grants, plus sharing configuration |
3030

31-
Two properties make Studio safe to hand to non-developers:
31+
An administrator's own Studio edits have no review step. Two properties still make Studio safe to hand to non-developers:
3232

33-
- **Draft → publish.** Changes save as drafts and go live only when published, with a change list to review first.
33+
- **Your saves go live; the AI assistant's drafts wait.** A Save in Studio publishes the change at once, and a Save that would remove a published field or change its type asks first, naming what it does to existing records. Changes the AI assistant drafts do not go live on their own: they wait on the **Pending** tab of the package's **Overview** page until you review and publish them.
3434
- **Same gate as code.** A change that would break the app (a dangling reference, an invalid predicate) is rejected by the same validation that checks hand-written metadata — there is no "UI edits bypass review" back door.
3535

3636
## Setup — where the platform is administered

0 commit comments

Comments
 (0)