Repository navigation
Commit 76f8ec9
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments