Skip to content

fix(app-shell): AI-draft notice and discard on the Hooks tab, paired actions and OWD rows - #38285

Merged
objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/project-thread-yb4rne
Nov 28, 2026
Merged

objectstack-fleet[bot] merged 6 commits into
mainfrom
claude/project-thread-yb4rne

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Tesla · project thread

Fixes #36660
repo:objectstack#3 · os-tesla · session_01L9qibxGxp6swERUK2T9NML

Clause-②: no
Metadata-protocol: none

维护者速读

  • 在对象设计器的「钩子」页、只读基础对象「动作」页里的配套包动作、以及共享默认值总览的每一行上,如果 AI 助手留下了未发布的改动,现在会显示一行提示,说明保存会让 AI 的改动一起生效,并给一个「放弃 AI 的改动」按钮;以前保存会悄悄把它们一起发布。
  • 属于「AI 改动要让人看见再生效」这条线:权限集和从左侧菜单打开的钩子、动作已经有这行提示,这次补齐剩下的三处。
  • 只在草稿确实来自 AI 助手时才显示,人自己的草稿不受影响;放弃只丢这一项(共享默认值这一行是整个对象)的草稿,有没保存的编辑时会先确认。如果提示出现得不对,只是多一行文字和按钮,可以直接撤回。
  • 无

What changes

  • Object designer, Hooks tab (objectHooksBuffer.ts, ObjectHooksPanel.tsx):
    • The buffer's load records which hooks have a pending draft whose provenance (readDraftChanges) names the AI assistant (isAgentDraftSurface: copilot or MCP). The set clears on an object switch and on a successful save.
    • The open hook shows StudioAiDraftNotice when its draft is the AI's and the hook is not a new one. The notice's discard calls the buffer's new discardAiDraft.
    • discardAiDraft asks engine.studio.aiDraft.discardConfirmUnsaved only when the hook holds unsaved edits. It then calls client.reset('hook', name, { state: 'draft', packageId }), the hook's own package, re-reads the list and emits the metadata refresh. A failure reads engine.studio.aiDraft.discardFailed.
  • Paired package's actions on a read-only base object (pairObjectActions.ts, ObjectActionsPanel.tsx):
    • A draft row whose provenance names the AI assistant carries aiDraft. A successful save, and a discard, put the row back to its live form.
    • The selected row shows the notice above the inspector. Discard is offered only where the row is editable.
    • discardAiDraft(name) asks only when that row holds an unsaved edit. It resets at the package the ensure door answers (pairForWrite()), never a hand-built <base>.custom name, then reloads.
  • Organization-wide defaults overview (PackageOwdOverviewPanel.tsx), seat ruling Q1 = A:
    • Each row reads its object's draft provenance. When the AI assistant wrote it, the row shows the notice with the OWD sentence, engine.studio.owd.aiDraftNotice: the whole object has the AI's unpublished changes, and saving this row makes all of them live. The plain "unpublished" chip is not shown beside it.
    • Discard drops that object's whole draft at the package (client.reset('object', name, { state: 'draft', packageId })). It asks engine.studio.owd.aiDraftDiscardConfirmUnsaved only when that row holds an unsaved edit. Other rows' unsaved edits are kept across the re-read.
  • StudioAiDraftNotice.tsx: an optional text prop, for a page that names what the draft covers. Without it the item sentence shows, as before.
  • i18n (studio namespace, en + zh): the two OWD keys above. Changeset 36660-owd-ai-draft-notice.md: @object-ui/i18n patch. @object-ui/app-shell is private.
  • The hook list rows get no AI marker (seat ruling).

Tests

Three new files, 19 cases. Each covers the AI line for copilot and for MCP, no line for a person's draft or for a draft read with no provenance, discard with nothing unsaved (no confirm, one reset at the right package), and discard over an unsaved edit both declined and confirmed.

  • ObjectHooksPanel.aiDraftNotice-36660.test.tsx (7): through the Hooks tab host and the top bar's Save. Save publishes the AI version and the line goes away.
  • DataPillar.pairActionsAiDraft-36660.test.tsx (6): a read-only base object with a paired package. The reset names the door's pair.
  • PackageOwdOverviewPanel.aiDraftNotice-36660.test.tsx (6): the row's OWD sentence, the whole object's reset, and another row's unsaved edit surviving a discard.

Acceptance notes

Verification

Failing first, then green
  • On the base sources with the new tests: 15 failed, 4 passed. The 4 are the person's-draft and no-provenance controls. Failures: Unable to find … studio-ai-draft-discard ×9, studio-ai-draft-notice ×6.
  • With the change: 3 files, 19/19 passed.
Ablation

Two parts removed on disk and restored (blob equal to HEAD afterwards): the OWD put-back of other rows' edits, and the hooks agent-surface check (any draft counts). 3 failed, 10 passed: OWD "another row keeps its edit", and hooks "a person's own pending draft" and "no provenance".

Wider runs
  • Affected test files: 328/328 files, 2574/2574 tests.
  • @object-ui/app-shell tsc --noEmit exit 0, tsc -p tsconfig.test.json exit 0. ESLint on the changed files: 0 errors, 5 warnings that were already there.
  • Derived gates at 4fd9904: 38 of 38 run, all exit 0, dispatch-gates --ran accounted. pnpm --dir ui exec vitest run scripts/: 172 files passed, 2 skipped.
  • overlap-check: clean against origin/main and feat(app-shell): a create with no named package asks to pick or create one #38204 (shares the studio i18n files).
Browser reading, real console build

Vite console against a showcase backend, signed in, Studio → package → organization-wide defaults. Two objects in the package. The one with a copilot-stamped draft shows under its name: "This object has unpublished changes from the AI assistant. Saving this row makes all of them live too." with "Discard the AI’s changes" (1 line, 1 button). The other object's row shows no line.


Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01L9qibxGxp6swERUK2T9NML

…raft (failing first)

Claude-Session: https://claude.ai/code/session_01L9qibxGxp6swERUK2T9NML
Co-Authored-By: Claude <noreply@anthropic.com>
…ction and an OWD row gets the designers' line and discard

Claude-Session: https://claude.ai/code/session_01L9qibxGxp6swERUK2T9NML
Co-Authored-By: Claude <noreply@anthropic.com>
…d, and model the publish in the AI-draft pins

Claude-Session: https://claude.ai/code/session_01L9qibxGxp6swERUK2T9NML
Co-Authored-By: Claude <noreply@anthropic.com>
…raft line and confirm

Claude-Session: https://claude.ai/code/session_01L9qibxGxp6swERUK2T9NML
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 28, 2026
@objectstack-fleet

objectstack-fleet Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibwsYQqi3TBx2SFE978

L1-b, the seat's L1 thread for zone o3-studio · 2026-11-28T11:42Z

席位核对 — L1 ACCEPT @ 4fd990456c5c0f5f8de7a7a0191cecebdeaa57af

Verdict: ACCEPT. No L2 is owed: Clause-②: no, Metadata-protocol: none, no narrowing, no packages/spec/src file, no governed path. The diff is console UI plus two i18n keys.

Read at this head

  • Shape (l1-face.mjs --pr 38285, CLEAN): draft, base main, Fixes #36660, 12 files, no release path. The changeset covers the published @object-ui/i18n; @object-ui/app-shell is private.
  • Fixes is right. The premise was corrected at the claim (7237651878): the permission set (feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089) and the left-menu hook and action (Studio 重构(2-2):通用详情改成保存即生效,AI 草稿照设计器的规则提示和放弃;离开时拦未保存(浏览器后退除外) #36902) already carry the notice. The three surfaces left, (a) the Hooks tab, (b) a paired package's actions on a read-only base and (c) each OWD row, are all in the diff. With them the card's ask is met on every surface it named.
  • Claim against the surface. Every file sits in the claim's list: objectHooksBuffer.ts, ObjectHooksPanel.tsx, pairObjectActions.ts, ObjectActionsPanel.tsx, PackageOwdOverviewPanel.tsx, their three new tests, the studio i18n pair with its changeset, and StudioAiDraftNotice.tsx, which gains one optional text prop that the OWD row passes. No breach.
  • The rules, read in the code:
    • The line shows only when readDraftChanges(...) holds an entry that isAgentDraftSurface accepts (copilot, mcp), on all three surfaces.
    • The confirm shows only over an unsaved edit: the hook's dirty, the pair row's edited, the OWD row's own dirty.
    • Each discard drops one item's draft. A hook resets at the hook's package. A pair action resets at pairForWrite(), the ensure door's answer, never a spelled .custom, and a walled door is refused. An OWD row resets the whole object, as ruling Q1 = A says, at the package. The other OWD rows' unsaved edits are carried through the re-read (load(others) plus setEdits).
  • Changeset sentences read in person: two keys, en and zh, both naming the whole object; nothing renamed or removed. True.
  • Tests. Failing first: 15 red and 4 green, and the 4 green are the person's-draft and no-provenance controls. 19/19 after. The ablation turned 3 cases red, and they are the right three. The narrowed local run (328 files) is accepted: CI ran the whole UI suite on this head, Test UI 1–16 all success, with Type Check UI and Lint UI also success.
  • Browser reading: a copilot-stamped object on a real console's OWD page shows the line and the button, and the other object shows neither. The stamping method is stated in the body.
  • Checks: 45 success, 13 expected skip, 0 failed, 0 pending. Lint & Repo Gates and TypeScript Type Check are success, and mergeable_state is clean.

Out of scope

  • The never-published discard wording. The discard's tooltip says it goes "back to the live version", but for an item the AI created and never published, the discard removes the item. The card scoped this out, and seat ruling Q2 kept it out. After this PR, though, the same button and the same wording sit on five surfaces, it is a destructive action, and no card holds the note. ⇒ To the seat's filing gate, recommended as its own card (p3, wording for the never-published case on every StudioAiDraftNotice host).

Before landing

No governed path, and the PR is under 3000 lines, so Tier H is not owed. The seat lands it on this ACCEPT at this head.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Landing · 2026-11-28T13:58Z · zone o3-studio (seat card thread)
Head-sha: 7911dec3de39ef725ab7bbd3966bab875bcd5dda

  • L1 ACCEPT 7238734970 (L1-b) at 4fd99045. No L2 owed.
  • Delta since that head, read by the seat: only merges of origin/main, the last being 7911dec3. git show --cc is empty. The net diff from the merge base has the same stable patch-id as 4fd99045's (53f367b6), so the PR's own change is byte-identical. Main touched none of the PR's 12 files.
  • Reran by the thread at this head: affected tests 328 files / 2574 passed; derived gates 38/38 exit 0; ui scripts 172 passed, 2 skipped; overlap-check clean.
  • check-governed-merges.mjs --pr 38285: NOT governed (0 of 12 paths). Size +992 / −13, under the human-review line.
  • K: 10 < 15.
  • Checks at this head: 45 success, 13 expected skips, 0 failed, 0 pending. mergeable_state clean.
  • Action: mark ready for review and enable auto-merge (queue).

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 28, 2026 13:58
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 5f741ed Nov 28, 2026
59 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-yb4rne branch November 28, 2026 14:20
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…udio in the other languages (objectstack-ai#38339)

<!-- claude-projects-attribution: {"github_login":"os-tesla"} -->
_Requested by **Tesla** · [project
thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoTBeBeWuhs82hXPgJRyTok8)_

Fixes objectstack-ai#37618
repo:objectstack#3 · os-tesla · session_01L9qibz59TqsYwACVq1LPf9

Clause-②: no
Metadata-protocol: none

## 维护者速读
-
用户能看到什么变化:中文界面里所有提到搭建工具的句子都改叫「应用搭建」,比如「在应用搭建中编辑」「这个对象在应用搭建里有未发布的改动」「应用搭建菜单」;英文和其他语言改叫「App
Studio」。标志、入口和句子里的叫法从此一致。
- 为什么做:属于「App Studio 改版」专题。上一步只改了标志、应用名和入口,句子里还写着「Studio」,中文界面两个名字混着出现。
- 出错会怎样:最坏是某句话的叫法或语序不顺,不影响任何功能;地址、权限名和包名都没动,可以直接撤回。
- 要你做什么:无。

## What changes

Display text only, per ADR-0084's 2026-11-26 amendment
(`docs/adr/0084-application-builder-information-architecture.md:368`:
"Its name is App Studio, and 应用搭建 in a Chinese interface … A Chinese
interface shows 应用搭建 and not the English name"). The `/studio` address,
the `studio.access` capability name, package names, identifiers, code
comments and `skills/**` are untouched. PR objectstack-ai#37581 already renamed the
brand, the app label and the doors; this PR renames every sentence that
still said "Studio".

- **UI packs (`ui/packages/i18n/src/locales/`)**: 24 keys, in every
pack. `en`, `zh-Hans`, `ar`, `de`, `es`, `fr`, `ja`, `ko`, `pt-BR` and
`ru` are edited by hand (240 values); `zh-Hant` is regenerated with
`pnpm --filter @object-ui/i18n gen:zh-hant` (24 values, 應用搭建), never
hand-edited.
- `zh-Hans` reads 应用搭建 and drops the spaces that only separated the
Latin word from Chinese text (「在 Studio 中编辑」 → 「在应用搭建中编辑」).
- Every other pack swaps `Studio` for `App Studio` inside the existing
sentence, as objectstack-ai#37581 did for the doors, the non-Latin packs included.
`de` writes its compounds with the coupling hyphen
(`App-Studio-Zugriff`, `App-Studio-Liste`).
- `common.editInStudio`'s `en` value was lowercase (`Edit in studio`);
it now reads `Edit in App Studio`.
- The capability label `capability.label.studio_access` is included
(seat ruling Q1 A on the claim). The spec registry's English label
(`packages/spec/src/security/capabilities.ts:55`) stays, so this PR
touches nothing under `packages/spec/src/**`. The picker reads the pack
key, so the interface shows the new name.
- **`studio` namespace
(`ui/packages/i18n/src/namespaces/studio/{en,zh}.ts`)**: 20 keys, among
them the refusal sentence `engine.studio.refusal.draftUnreadable`,
`engine.studio.menu.label`, `engine.studio.backToAppTitle(NoApp)` and
`engine.studio.landingHome`. The namespace ships only `en` and `zh`.
- **Inline fallbacks**: `check-i18n-call-site-keys` requires every
literal `defaultValue` to equal its `en` value, so 20 literals in 11
files follow (`StudioRoute.tsx`, `AppNoAccessEmptyState.tsx`,
`DesignModeHeaderPinsPanel.tsx`, `DesignModeMenu.tsx`,
`DashboardView.tsx`, `PageView.tsx`, `RecordDetailView.tsx`,
`RecordTabsConfig.tsx`, `StudioReturnButton.tsx`, `DraftReviewCard.tsx`,
and the capability fallback row in `useFieldTranslation.ts`). No logic
changes. The `studio` namespace's call sites carry no inline fallbacks.
- **Docs** (seat ruling Q2 A, only the two lines the card names):
`content/docs/build-without-code.mdx:22` quotes the top bar's door as
"Design in App Studio", and the `content/docs/ui/apps.mdx` example reads
`label: 'App Studio'`, as `STUDIO_APP.label` does.
- **Changeset** `.changeset/37618-app-studio-prose-name.md`: patch for
`@object-ui/i18n`, `@object-ui/app-shell`, `@object-ui/fields`,
`@object-ui/plugin-chatbot` and `@object-ui/console`.

## Tests

Pins that read these sentences move to the new text; none is loosened,
deleted or skipped.

- **Pack pins**:
`ui/packages/i18n/src/__tests__/residue-namespaces-3546.test.tsx`
(`common.editInStudio` in `en`, `zh-Hans`, `ja`, `ko`, `ar`, the
inline-default source pin on `PageView.tsx`, and its comment's quoted
label), `studioAccessGrantor-27521.test.ts`,
`DraftReviewCard.i18n-38048.test.tsx`.
- **Rendered-name pins** (inline fallbacks or the resident `studio`
catalogue): `StudioRoute.test.tsx`,
`CapabilityMultiSelectField.test.tsx` (the rendered chip; the registry
fixture's own English label stays `Studio Access`, as the spec registry
does), `DraftReviewCard-38048.test.tsx`,
`DashboardView.inPageEdit-36372.test.tsx`,
`PageView.editInStudioFollowsPackagePosture-12615.test.tsx`,
`PackageFormDialog.newAppStep-36748.test.tsx`,
`MetadataListCreateDialog.newObjectJoinsAppMenu-36748.test.tsx`,
`StudioDesignSurface.backToApp-36501.test.tsx`,
`StudioDesignSurface.homeLoop-12513.test.tsx`,
`StudioDesignSurface.packageLessFlows-11553.test.tsx`,
`StudioDesignSurface.packageListErrorPosture.test.tsx`,
`StudioMenu.test.tsx`.
- Two of those are absence pins (`queryByRole(... 'Studio home')` and
`/Open app|Studio home/` expected null); they now name `App Studio
home`, so they still look for the label that exists.

<details><summary>Local runs (final head 0519b38)</summary>

- The 108 app-shell files and the 9 fields / chatbot / console files ran
at 8880f66; the only later change is the
`report.builder.savedOutsideApp` revert (pack values only) and the
changeset count. The i18n suite, the i18n gates and the derived gates
ran on the final tree.
- i18n gates (from `ui/`): `check-i18n-en-drift` exit 0 ("24 en value(s)
changed … 240 pack value(s) followed"; "20 en value(s) changed … 20 zh
value(s) followed"), `check-i18n-call-site-keys` exit 0,
`check-i18n-dead-keys` exit 0.
- `dispatch-gates.mjs --commands`: 72 derived, 71 exit 0, 1 NOT
MEASURED: `pnpm --filter @objectstack/spec run check:skill-examples`
exits 3 (PREREQUISITE NOT MET, it reads a built client SDK this worktree
did not build). `--ran` reconciliation: 72 accounted, 0 unrun. CI runs
it.
- `overlap-check.mjs` at 0519b38: clean against origin/main 4ebe9a1
and the 5 open PRs that share files (objectstack-ai#38318, objectstack-ai#38304, objectstack-ai#38285, objectstack-ai#38284,
objectstack-ai#38204).

- `vitest run packages/i18n/` (from `ui/`): Test Files 110 passed (110),
Tests 1874 passed, 13 skipped.
- `vitest run` on the 9 fields / plugin-chatbot / console StudioRoute
files: Test Files 9 passed (9), Tests 119 passed (119).
- `vitest run` on the 108 app-shell test files that name these sentences
(assertions or fixtures): Test Files 108 passed (108), Tests 1409 passed
(1409).
- The full `fields`, `plugin-chatbot` and console runs did not finish
inside the container's command limit and are left to CI (NOT MEASURED
locally).

</details>

<details><summary>Ablation</summary>

- Put `zh-Hans` `common.editInStudio` back to 「在 Studio 中编辑」:
`residue-namespaces-3546.test.tsx` goes red, 2 failed, `expected '在
Studio 中编辑' to be '在应用搭建中编辑'`. Restored, green.
- Put the `chatbot.draftReview.hint` inline default back to the old `en`
sentence: `check-i18n-call-site-keys` exits 1,
`DraftReviewCard.tsx:113:10 [default-value-drift]
chatbot.draftReview.hint`. Restored, exit 0.

</details>

## Acceptance notes

- **Residue grep after the change**: walking the loaded catalogues key
by key (case-insensitive), the only value left that names Studio outside
"App Studio" / 应用搭建 is `report.builder.savedOutsideApp`, left on purpose
(next note). Each of the 10 hand-edited packs changed exactly the same
24 keys, both `studio` catalogues the same 20, and no key was added or
removed.
- **`report.builder.savedOutsideApp` is left unchanged** (seat amendment
to the claim): PR objectstack-ai#38204 removes its last use and a follow-up on objectstack-ai#38149
deletes the key, so renaming it here would only conflict.
- **Not in this PR, filed by the seat** (claim ruling Q3): five Chinese
strings in `packages/platform-objects` generated translations still say
Studio (`zh-CN.metadata-forms.generated.ts` and
`zh-CN.objects.generated.ts`). They are generated from spec form help
and the `sys_email` field help, outside `domain:ui`.
- **Positional fallbacks are not paired by the call-site gate**:
`tt(key, 'fallback')` in `StudioReturnButton.tsx` and
`DashboardView.tsx` were updated by hand here; reverting one of them
leaves `check-i18n-call-site-keys` at exit 0 (measured). Noted, not
filed.
- The docs pages' other prose mentions of "Studio" are left as the
shorthand for the surface (seat ruling Q2 A; ADR-0084:368 uses it the
same way).

## 44 keys, before and after

<details><summary>en and zh values</summary>

| # | Catalogue | Key | en before → after | zh before → after |
|--:|:--|:--|:--|:--|
| 1 | main | `capability.label.studio_access` | Studio Access → **App
Studio Access** | 访问 Studio → **访问应用搭建** |
| 2 | main | `common.editInStudio` | Edit in studio → **Edit in App
Studio** | 在 Studio 中编辑 → **在应用搭建中编辑** |
| 3 | main | `studioReturn.close` | Back to Studio → **Back to App
Studio** | 返回 Studio → **返回应用搭建** |
| 4 | main | `studioReturn.closeLabel` | Close and go back to the Studio
list → **Close and go back to the App Studio list** | 关闭并返回 Studio 列表 →
**关闭并返回应用搭建列表** |
| 5 | main | `dashboard.inPageEdit.pendingDraft` | This dashboard has
unpublished changes in Studio. Publish or discard them there, then edit
it here. → **This dashboard has unpublished changes in App Studio.
Publish or discard them there, then edit it here.** | 这个仪表盘在 Studio
里有未发布的改动。请先在那里发布或放弃,再在这里编辑。 → **这个仪表盘在应用搭建里有未发布的改动。请先在那里发布或放弃,再在这里编辑。**
|
| 6 | main | `console.studio.accessRequired` | You need Studio access to
open Studio. An administrator can grant it with a permission set in
Setup → Permission Set Assignment. → **You need App Studio access to
open App Studio. An administrator can grant it with a permission set in
Setup → Permission Set Assignment.** | 你需要 Studio 访问权限才能打开
Studio。管理员可以在“设置 → 权限集分配”中通过权限集授予。 → **你需要应用搭建访问权限才能打开应用搭建。管理员可以在“设置 →
权限集分配”中通过权限集授予。** |
| 7 | main | `designMode.menu.pendingDraft` | This app has unpublished
changes in Studio. Publish or discard them there, then save again. →
**This app has unpublished changes in App Studio. Publish or discard
them there, then save again.** | 这个应用在 Studio 里有未发布的改动。请先在那里发布或丢弃,再保存。 →
**这个应用在应用搭建里有未发布的改动。请先在那里发布或丢弃,再保存。** |
| 8 | main | `designMode.menu.translationPendingDraft` | This app's menu
names in this language have unpublished changes in Studio. Publish or
discard them there, then save again. → **This app's menu names in this
language have unpublished changes in App Studio. Publish or discard them
there, then save again.** | 这个应用在当前语言下的菜单名称在 Studio
里有未发布的改动。请先在那里发布或放弃,再保存。 →
**这个应用在当前语言下的菜单名称在应用搭建里有未发布的改动。请先在那里发布或放弃,再保存。** |
| 9 | main | `designMode.menu.newItemLeft` | The new dashboard
"{{name}}" could not be removed again; remove it in Studio. → **The new
dashboard "{{name}}" could not be removed again; remove it in App
Studio.** | 新建的仪表盘「{{name}}」没能删除,请在 Studio 里删除它。 →
**新建的仪表盘「{{name}}」没能删除,请在应用搭建里删除它。** |
| 10 | main | `designMode.pins.pendingDraft` | This object has
unpublished changes in Studio. Publish or discard them there, then save
again. → **This object has unpublished changes in App Studio. Publish or
discard them there, then save again.** | 这个对象在 Studio
里有未发布的改动。请先在那里发布或丢弃,再保存。 → **这个对象在应用搭建里有未发布的改动。请先在那里发布或丢弃,再保存。** |
| 11 | main | `designMode.recordTabs.pendingDraft` | This object has
unpublished changes in Studio. Publish or discard them there, then save
again. → **This object has unpublished changes in App Studio. Publish or
discard them there, then save again.** | 此对象在 Studio
中有未发布的改动。请先在那里发布或丢弃,再保存。 → **此对象在应用搭建中有未发布的改动。请先在那里发布或丢弃,再保存。** |
| 12 | main | `empty.recordPagePlacesNoComponentDescription` | The
record page "{{name}}" places no component in its regions, so it shows
nothing for any record. An administrator can fix it in Studio: add
components to a region, make the page slotted to show the default record
page, or delete the page so the default record page shows. → **The
record page "{{name}}" places no component in its regions, so it shows
nothing for any record. An administrator can fix it in App Studio: add
components to a region, make the page slotted to show the default record
page, or delete the page so the default record page shows.** | 记录页
“{{name}}” 的区域中没有放置任何组件,因此对任何记录都不显示内容。管理员可以在 Studio 中修复:向某个区域添加组件、将页面设为
slotted 以显示默认记录页,或删除该页面以显示默认记录页。 → **记录页 “{{name}}”
的区域中没有放置任何组件,因此对任何记录都不显示内容。管理员可以在应用搭建中修复:向某个区域添加组件、将页面设为 slotted
以显示默认记录页,或删除该页面以显示默认记录页。** |
| 13 | main | `empty.recordPagePlacesNoComponentDescriptionUnnamed` |
This record page places no component in its regions, so it shows nothing
for any record. An administrator can fix it in Studio: add components to
a region, make the page slotted to show the default record page, or
delete the page so the default record page shows. → **This record page
places no component in its regions, so it shows nothing for any record.
An administrator can fix it in App Studio: add components to a region,
make the page slotted to show the default record page, or delete the
page so the default record page shows.** |
该记录页的区域中没有放置任何组件,因此对任何记录都不显示内容。管理员可以在 Studio 中修复:向某个区域添加组件、将页面设为 slotted
以显示默认记录页,或删除该页面以显示默认记录页。 →
**该记录页的区域中没有放置任何组件,因此对任何记录都不显示内容。管理员可以在应用搭建中修复:向某个区域添加组件、将页面设为 slotted
以显示默认记录页,或删除该页面以显示默认记录页。** |
| 14 | main | `empty.appMenuEmptyDescription` | Create objects for this
app in Studio and they join its menu, or add entries in Design layout. →
**Create objects for this app in App Studio and they join its menu, or
add entries in Design layout.** | 在 Studio
里为这个应用新建对象,它们会自动加入菜单;也可以在设计布局里添加。 →
**在应用搭建里为这个应用新建对象,它们会自动加入菜单;也可以在设计布局里添加。** |
| 15 | main | `empty.openInStudio` | Open in Studio → **Open in App
Studio** | 在 Studio 中打开 → **在应用搭建中打开** |
| 16 | main | `chatbot.draftReview.hint` | Nothing is published yet.
Review the drafts and publish them in Studio. → **Nothing is published
yet. Review the drafts and publish them in App Studio.** | 还没有发布。请在
Studio 中审阅并发布这些草稿。 → **还没有发布。请在应用搭建中审阅并发布这些草稿。** |
| 17 | main | `chatbot.draftReview.reviewAndPublishAria` | Review and
publish the drafts of package {{name}} in Studio → **Review and publish
the drafts of package {{name}} in App Studio** | 在 Studio 中审阅并发布包
{{name}} 的草稿 → **在应用搭建中审阅并发布包 {{name}} 的草稿** |
| 18 | main | `chatbot.draftReview.reviewAria` | Review the draft
{{name}} in Studio → **Review the draft {{name}} in App Studio** | 在
Studio 中审阅草稿 {{name}} → **在应用搭建中审阅草稿 {{name}}** |
| 19 | main | `packagedAutomation.actionsSubtitle` | Actions shipped by
installed packages. Turn one off for this deployment and it stops
running everywhere it is offered. Authoring your own action alongside it
stays open in Studio. → **Actions shipped by installed packages. Turn
one off for this deployment and it stops running everywhere it is
offered. Authoring your own action alongside it stays open in App
Studio.** | 由已安装软件包提供的动作。在本部署中停用后,它在所有提供它的位置都不再运行。你仍然可以在 Studio
中另行编写自己的动作。 →
**由已安装软件包提供的动作。在本部署中停用后,它在所有提供它的位置都不再运行。你仍然可以在应用搭建中另行编写自己的动作。** |
| 20 | main | `packagedAutomation.actionsEmptyBody` | No installed
package declares an action on this deployment. Actions you author
yourself live in Studio. → **No installed package declares an action on
this deployment. Actions you author yourself live in App Studio.** |
本部署中没有任何已安装软件包声明动作。你自己编写的动作在 Studio 中。 →
**本部署中没有任何已安装软件包声明动作。你自己编写的动作在应用搭建中。** |
| 21 | main | `publicFormsSetup.designHint` | Switch a form off to stop
taking submissions; its address then opens nothing. Forms are designed
in Studio. → **Switch a form off to stop taking submissions; its address
then opens nothing. Forms are designed in App Studio.** |
关掉一个表单就不再接收提交,它的地址也打不开了。表单的设计在 Studio 里做。 →
**关掉一个表单就不再接收提交,它的地址也打不开了。表单的设计在应用搭建里做。** |
| 22 | main | `publicFormsSetup.emptyBody` | Public forms are designed
in Studio. Once an app has one, it is listed here. → **Public forms are
designed in App Studio. Once an app has one, it is listed here.** |
对外表单在 Studio 里设计。应用里有了对外表单,就会列在这里。 → **对外表单在应用搭建里设计。应用里有了对外表单,就会列在这里。**
|
| 23 | main | `publicFormsSetup.pendingDraft` | {{name}} has unpublished
changes in Studio. Publish or discard them there first. → **{{name}} has
unpublished changes in App Studio. Publish or discard them there
first.** | {{name}} 在 Studio 里有未发布的修改,请先在那里发布或放弃。 → **{{name}}
在应用搭建里有未发布的修改,请先在那里发布或放弃。** |
| 24 | main | `publicFormsSetup.switchedOnEarlierVersion` | {{name}} is
on. It stays on the app's earlier version {{version}}, which this
environment customized; to take the app's current form, restore the
original in Studio. → **{{name}} is on. It stays on the app's earlier
version {{version}}, which this environment customized; to take the
app's current form, restore the original in App Studio.** | {{name}}
已开启。它仍沿用本环境定制时的应用旧版本 {{version}};如需使用应用当前版本的表单,请在 Studio 中恢复原样。 →
**{{name}} 已开启。它仍沿用本环境定制时的应用旧版本 {{version}};如需使用应用当前版本的表单,请在应用搭建中恢复原样。**
|
| 25 | studio | `perm.field.systemCapabilitiesHelp` | Platform / org
capabilities granted to holders of this set (e.g. Studio access, user
management). Designed here; Setup shows them read-only. → **Platform /
org capabilities granted to holders of this set (e.g. App Studio access,
user management). Designed here; Setup shows them read-only.** |
授予此权限集持有者的平台/组织能力(如 Studio 访问、用户管理)。在此设计,Setup 中只读展示。 →
**授予此权限集持有者的平台/组织能力(如应用搭建访问、用户管理)。在此设计,Setup 中只读展示。** |
| 26 | studio | `engine.studio.refusal.draftUnreadable` | This item has
an unpublished draft you are not allowed to read, so Studio has not
opened it: editing the published version here would overwrite that
draft. Someone who holds the permissions the draft requires can edit or
publish it. Details show what the server answered. → **This item has an
unpublished draft you are not allowed to read, so App Studio has not
opened it: editing the published version here would overwrite that
draft. Someone who holds the permissions the draft requires can edit or
publish it. Details show what the server answered.** |
此项有一份您无权读取的未发布草稿,因此 Studio
没有打开它:在这里编辑已发布版本会覆盖那份草稿。持有该草稿所需权限的人可以编辑或发布它。详情中有服务器的答复。 →
**此项有一份您无权读取的未发布草稿,因此应用搭建没有打开它:在这里编辑已发布版本会覆盖那份草稿。持有该草稿所需权限的人可以编辑或发布它。详情中有服务器的答复。**
|
| 27 | studio | `engine.inspector.servedLabel.kept` | Readers in this
language see “{served}”: a translation of this name comes ahead of the
text saved here. To change what they see, edit that translation in
Studio › All metadata › Translation. → **Readers in this language see
“{served}”: a translation of this name comes ahead of the text saved
here. To change what they see, edit that translation in App Studio › All
metadata › Translation.** |
使用该语言的读者看到的是「{served}」:这个名称有一条译文,排在这里保存的文字之前。要改读者看到的文字,请到 Studio
›「全部元数据」›「翻译」里修改这条译文。 →
**使用该语言的读者看到的是「{served}」:这个名称有一条译文,排在这里保存的文字之前。要改读者看到的文字,请到应用搭建
›「全部元数据」›「翻译」里修改这条译文。** |
| 28 | studio | `engine.inspector.servedLabel.ifKept` | Readers in this
language now see the translation “{served}”. If it is kept in this
environment’s own translations or in its customization package, they
keep seeing it after you save. To change it, edit that translation in
Studio › All metadata › Translation. → **Readers in this language now
see the translation “{served}”. If it is kept in this environment’s own
translations or in its customization package, they keep seeing it after
you save. To change it, edit that translation in App Studio › All
metadata › Translation.** |
使用该语言的读者现在看到的是译文「{served}」。如果这条译文存放在本环境自己的翻译或定制包的翻译里,保存后读者仍会看到它。要改它,请到
Studio ›「全部元数据」›「翻译」里修改这条译文。 →
**使用该语言的读者现在看到的是译文「{served}」。如果这条译文存放在本环境自己的翻译或定制包的翻译里,保存后读者仍会看到它。要改它,请到应用搭建
›「全部元数据」›「翻译」里修改这条译文。** |
| 29 | studio | `engine.packages.admin.description` | Turn the packages
installed in this system on or off, or delete one. A new package opens
in Studio, where it is designed. → **Turn the packages installed in this
system on or off, or delete one. A new package opens in App Studio,
where it is designed.** | 启用、停用或删除本系统中安装的软件包。新建的软件包会在 Studio 中打开,在那里设计。
→ **启用、停用或删除本系统中安装的软件包。新建的软件包会在应用搭建中打开,在那里设计。** |
| 30 | studio | `engine.packages.detail.openInStudio` | Open in Studio →
**Open in App Studio** | 在 Studio 中打开 → **在应用搭建中打开** |
| 31 | studio | `engine.packages.customizations.customize` | Customize
in Studio → **Customize in App Studio** | 在 Studio 中定制 → **在应用搭建中定制** |
| 32 | studio | `engine.packages.customizations.customizeTitle` | Open
this app in Studio, where its items are customized → **Open this app in
App Studio, where its items are customized** | 在 Studio
中打开这个应用,在那里定制它的条目 → **在应用搭建中打开这个应用,在那里定制它的条目** |
| 33 | studio | `engine.packages.customizations.rowTitle` | Open {name}
in Studio → **Open {name} in App Studio** | 在 Studio 中打开 {name} →
**在应用搭建中打开 {name}** |
| 34 | studio | `engine.studio.data.appMenu.pendingDraft` | The app has
unpublished changes in Studio. → **The app has unpublished changes in
App Studio.** | 这个应用在 Studio 里有尚未发布的改动。 → **这个应用在应用搭建里有尚未发布的改动。** |
| 35 | studio | `engine.studio.desktopHint` | Studio is built for a
desktop screen. → **App Studio is built for a desktop screen.** | Studio
专为桌面屏幕设计。 → **应用搭建专为桌面屏幕设计。** |
| 36 | studio | `engine.studio.notFound.pillar` | This page does not
exist. Studio has no "{pillar}" section; pick Data, Automations,
Interfaces, Access or All metadata above. → **This page does not exist.
App Studio has no "{pillar}" section; pick Data, Automations,
Interfaces, Access or All metadata above.** | 页面不存在。Studio
没有“{pillar}”这一栏,请在上方选择数据、自动化、界面、权限或全部元数据。 →
**页面不存在。应用搭建没有“{pillar}”这一栏,请在上方选择数据、自动化、界面、权限或全部元数据。** |
| 37 | studio | `engine.studio.menu.label` | Studio menu → **App Studio
menu** | Studio 菜单 → **应用搭建菜单** |
| 38 | studio | `engine.setup.accessDirectory.notAllowed` | Opening this
page needs the {capability} capability, the one Studio asks. → **Opening
this page needs the {capability} capability, the one App Studio asks.**
| 打开此页需要 {capability} 权限,即进入 Studio 所需的权限。 → **打开此页需要 {capability}
权限,即进入应用搭建所需的权限。** |
| 39 | studio | `engine.studio.backToAppTitle` | Leave Studio and go
back to {app} → **Leave App Studio and go back to {app}** | 离开 Studio,回到
{app} → **离开应用搭建,回到 {app}** |
| 40 | studio | `engine.studio.backToAppTitleNoApp` | Leave Studio and
go back to your apps → **Leave App Studio and go back to your apps** |
离开 Studio,回到你的应用 → **离开应用搭建,回到你的应用** |
| 41 | studio | `engine.studio.customize.pendingDraft` | This item has
unpublished changes in {package}. Publish or discard them in Studio,
then edit it here. → **This item has unpublished changes in {package}.
Publish or discard them in App Studio, then edit it here.** | 此项在
{package} 中有未发布的更改。请先在 Studio 中发布或丢弃它们,再在这里编辑。 → **此项在 {package}
中有未发布的更改。请先在应用搭建中发布或丢弃它们,再在这里编辑。** |
| 42 | studio | `engine.catalog.readOnly.walled` | Read-only for
organization administrators. On this deployment the platform operator
defines {type} items for every organization in Studio; your organization
assigns them. → **Read-only for organization administrators. On this
deployment the platform operator defines {type} items for every
organization in App Studio; your organization assigns them.** |
组织管理员只能查看。此部署中由平台运营方在 Studio 中为所有组织定义{type};您的组织负责分配。 →
**组织管理员只能查看。此部署中由平台运营方在应用搭建中为所有组织定义{type};您的组织负责分配。** |
| 43 | studio | `engine.studio.landingHome` | Studio home → **App Studio
home** | Studio 首页 → **应用搭建首页** |
| 44 | studio | `engine.studio.landing.customizations.pairTitle` | Open
the customization package {pair} in Studio → **Open the customization
package {pair} in App Studio** | 在 Studio 中打开定制包 {pair} → **在应用搭建中打开定制包
{pair}** |

</details>

## Verification

Read first, in risk order:

1. `ui/packages/i18n/src/locales/zh-Hans.ts`: the Chinese sentences,
where the old Latin word took spaces with it.
2. `ui/packages/i18n/src/locales/de.ts`: the only pack with compounds
(`App-Studio-Zugriff`, `App-Studio-Liste`).
3. `ui/packages/i18n/src/namespaces/studio/zh.ts`: the Studio front's
own sentences (menu label, the way back, the refusal).

Two-minute check: open `/_console/studio/PACKAGE_ID` in a Chinese UI.
The left menu's accessible name is 「应用搭建菜单」, and the way back's tooltip
reads 「离开应用搭建,回到 …」; in an English UI they read "App Studio menu" and
"Leave App Studio and go back to …".

---
_Generated by [Claude
Code](https://claude.ai/code/session_01L9qibz59TqsYwACVq1LPf9)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xl tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants