Skip to content

fix(ui): rename the design mode door and bar back to 设计模式 / Design mode - #39425

Draft
objectstack-fleet[bot] wants to merge 2 commits into
mainfrom
claude/issue-39370-wip
Draft

objectstack-fleet[bot] wants to merge 2 commits into
mainfrom
claude/issue-39370-wip

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread

Fixes #39370
Claim: 7395299261

Clause-②: no
Metadata-protocol: none

维护者速读

What changes

  • The app-menu door and the design-mode bar title read 「设计模式」 / "Design mode" (zh-Hant 「設計模式」; de Designmodus, es Modo de diseño, fr Mode conception, ja デザインモード, ko 디자인 모드, pt-BR Modo de design, ru Режим дизайна, ar وضع التصميم).
  • Strings that name the mode follow: leave prompt, editor-open notice, menu-editor note, report notice, empty-app hint, and the two engine.studio.data.appMenu.failed* strings.
  • Doc comments, the app-shell README and content/docs/ui/actions.mdx follow. The i18n key topbar.designLayout keeps its name; only values changed. The 「编辑应用」 / 「在 Studio 中查看」 row is untouched.
  • Patch changeset for @object-ui/app-shell and @object-ui/i18n.

Tests

  • Label-pinning tests updated (SidebarAppMenu-36112, designMode-36362, DesignModeMenu-36363, UnifiedSidebar.hiddenCollapse-35062, RecordTabsConfig-36499): 5 files, 167 tests pass.

Acceptance notes

  • git grep for 「设计布局」 / "Design layout" under ui/, content/docs, skills/ now hits only CHANGELOG.md history. docs/adr/** untouched.
  • check:authorable-style gates not derived; ran changeset, doc-authoring, frontmatter, single-h1, nul-bytes, doc-anchors, role-word, sdui-manifest, published-readme-links: all exit 0. overlap-check could not answer on a shallow checkout (NOT MEASURED).

Verification

Open the app menu as an admin who may author: the row reads 「设计模式」; entering it shows the bar titled 「设计模式」.

🤖 Generated with Claude Code

https://claude.ai/code/session_016WV4cypQd6ZDPDmXL5MaWR

@github-actions github-actions Bot added size/m 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 Dec 3, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cypQd6ZDPDmXL5MaWR

Final head for L1: 9ab8b8de0e704bbdd8a962970f28ad2458752df8 (zone dm-39368, card #39370). Every check run on it is green or an expected skip (the 23:12Z PR-body guard failure is superseded by its 23:17Z re-run, success). overlap-check exit 0 after deepening. L1 requested from thread L1-a.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czfEjskBjZM6jhKWFR

2026-12-03T23:52Z · L1-a verdict: REWORK at head 9ab8b8de0e (zone dm-39368, card #39370) — one patch round, three text edits

席位核对

What holds. Shape: open, draft, base main, Fixes #39370 first line, no keyword on another card; Fixes is right (door, bar, the strings that name the mode, docs; the 「编辑应用」 / 「在 Studio 中查看」 row untouched). Clause-②: no · Metadata-protocol: none; changeset covers both published packages touched (@object-ui/app-shell, @object-ui/i18n). Card acceptance grep holds: git grep -e 设计布局 -e "Design layout" pr -- ui content/docs skills ':!*CHANGELOG.md' → 0 hits. content/docs/ui/actions.mdx sentence read: 「Design mode」 is the menu row's new label, correct. Lint & Repo Gates and TypeScript Type Check success; 53 success, 14 expected skip, 0 pending.

Asked fixes:

  1. Changeset headline. .changeset/design-mode-name.md's body opens with Clause-②: no, so the CHANGELOG bullet for @object-ui/app-shell and @object-ui/i18n would read - <sha>: Clause-②: no and push the summary to a later paragraph. Every changeset on main opens its body with the summary line, then the Clause-②: / Metadata-protocol: lines (the shape release-github-releases.mjs's own fixtures use). Move the fix(console): … sentence to the first body line.
  2. designMode.editorOpen in en.ts still reads "…before designing the layout." while zh-Hans, zh-Hant and ja now say "before entering design mode". Make en say the same ("…before entering Design mode."), and check the other locales the same way.
  3. report.builder.designModeOnTitle (ReportNewPage.tsx's empty-state title over the designModeOn notice this PR rewrote): en "Finish designing the layout first", zh-Hans 「请先完成布局设计」, zh-Hant 「請先完成佈局設計」 still name the old word beside a body that now says 设计模式. Align the title in every locale (e.g. "Finish Design mode first" / 「请先退出设计模式」).

Label-pinning tests need no change for 2 and 3 unless one pins those strings; re-run the five test files the PR body names.

Gates. PR-body guards (claim · duplicate · Part-of · single-writer path) is red at this head (check:closing-target-claim: it ran 23:12Z, before the restated claim 7395299261 named claude/issue-39370-wip at 23:14Z). The next push re-runs it; landing needs it green with every other check.

Next: zone sends the delta head; L1-a reads the delta only.

…n mode name; changeset headline first

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4cypQd6ZDPDmXL5MaWR

This branch has not been deployed

No deployments
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/m tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

design mode 1/9: rename the door and bar from 「设计布局」 back to 「设计模式」

2 participants