Skip to content

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

Description

@objectstack-fleet

repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2

Part of epic #39368 (rulings and invariants there).

Can run in parallel with every other child.

Reverses #36758's naming only. The 「编辑应用」 / 「在 Studio 中查看」 row stays as it is.

Change

  • Sidebar app menu row (ui/packages/app-shell/src/layout/SidebarAppMenu.tsx) and the bar title (DesignModeBar.tsx, designMode.title) read 「设计模式」. The i18n keys are in ui/packages/i18n/src/locales/zh-Hans.ts (designLayout around line 3822, title around line 3709) and the other locales: English "Design mode".
  • Update the strings that name the mode (e.g. designMode.leaveUnsaved), plus docs and skills that say 「设计布局」 (search content/docs, skills/).

Acceptance

  • Tests that pin the row label and the bar title are updated.
  • A grep for 「设计布局」 under ui/, content/docs and skills/ returns only history (changesets, ADR quotes).

Activity

  1. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Feature · p2 · pm:queue · size XS, touched 2026-12-03T16:15Z. Rationale: The maintainer approved the epic's rulings, scope and card split on 2026-12-03 (「按建议整体通过,立专题卡」), so the feature is pre-authorised. Runtime design mode is how the app looks and is used in place (area:ux ①②), and the grade is the epic's p2. Child 1 (rename 「设计布局」 back to 「设计模式」) runs in parallel with every other child.
    Grade: area:ux · Feature · p2 · admins in design mode · read (epic #39368).

  2. added
    domain:ui
    pm:queue
    priority:p2
    on Dec 3, 2026
  3. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim: PM loop round 1
    Session: session_016WV4cypQd6ZDPDmXL5MaWR
    Account: os-elon-musk
    Area: dm-39368
    Branch: claude/issue-39370-design-mode-name
    Worktree: objectstack-issue-39370
    Domain: domain:ui
    Seat: repo:objectstack@os-elon-musk
    File surface: ui/packages/app-shell/src/layout/SidebarAppMenu.tsx, ui/packages/app-shell/src/layout/DesignModeBar.tsx, ui/packages/app-shell/src/layout/designMode.tsx (doc comment and the leave-prompt default only), ui/packages/app-shell/src/layout/ConsoleLayout.tsx (comment), ui/packages/app-shell/src/console/AppNoAccessEmptyState.tsx, ui/packages/app-shell/README.md, ui/packages/i18n/src/locales/en.ts, ui/packages/i18n/src/locales/zh-Hans.ts, ui/packages/i18n/src/locales/zh-Hant.ts, ui/packages/i18n/src/locales/de.ts, ui/packages/i18n/src/locales/es.ts, ui/packages/i18n/src/locales/fr.ts, ui/packages/i18n/src/locales/ja.ts, ui/packages/i18n/src/locales/ko.ts, ui/packages/i18n/src/locales/pt-BR.ts, ui/packages/i18n/src/locales/ru.ts, ui/packages/i18n/src/locales/ar.ts, ui/packages/i18n/src/namespaces/studio/en.ts and ui/packages/i18n/src/namespaces/studio/zh.ts (the two engine.studio.data.appMenu.failed* keys only), content/docs/ui/actions.mdx, the tests that pin the label (SidebarAppMenu-36112, designMode-36362, DesignModeMenu-36363, UnifiedSidebar.hiddenCollapse-35062, RecordTabsConfig-36499)
    Container & model: S mechanical, mode:subagent, model: floor (dispatch-gates --tier: no path-derived mandate; text-only rename whose correctness the label tests and i18n gates judge), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7384564347
    Premise: holds (origin/main 301a378: designMode.title and topbar.designLayout read 「设计布局」 / "Design layout"; 18 files under ui/ plus content/docs/ui/actions.mdx carry the name; skills/ none)
    Serial constraints cleared: #39369 (same zone, p2) shares designMode.tsx and DesignModeBar.tsx; this card touches only their comments and default strings and lands first. studio/en.ts is in os-bill's p3 claims #39003 #38859 #38785 (no open PR); this p2 card touches two keys there and goes first (a split claim yields to a p1/p2 card). PR #39063 (os-bob) edits other keys of locales/en.ts / zh-Hans.ts: ordinary concurrency, the later lander resolves.
    Prior rulings read: check-prior-rulings.mjs --card 39370: #36758 (closed) is the naming ruling this card reverses, superseded by the maintainer's epic ruling on #39368 「我觉得 设计布局应该改为 设计模式」; the docs/adr/0146 quote of 「设计布局」 is history and stays.
    Pre-claim lane: domain:ui (ui/**), plus content/docs/ui/actions.mdx (docs that follow the surface they document).
    Pre-claim deps: none (the epic says child 1 runs in parallel with every other child).

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 3, 2026
  5. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim amendment (claim 7394633571, same session, nothing else changes):
    Branch: claude/issue-39370-wip
    Reason: this account's fleet project lets a cloud session push only claude/issue-N-wip branches (the maintainer's standing project rule), so the branch named in the claim is replaced by that spelling before any push.

  6. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {"issue":39370,"status":"done","branch":"claude/issue-39370-wip","pr":"https://github.com/objectstack-ai/objectstack/pull/39425","summary":"Renamed the design mode door and bar to 设计模式 / Design mode across ui/ (en, zh-Hans, zh-Hant, 8 other locales' values, studio appMenu.failed keys), comments, README and content/docs/ui/actions.mdx; key topbar.designLayout kept. Label tests updated.","tests":"vitest 5 label test files: 5 passed, 167 tests passed","gates":"changeset, doc-authoring, frontmatter, single-h1, nul-bytes, doc-anchors, role-word, sdui-manifest, published-readme-links all exit 0; overlap-check NOT MEASURED (shallow)","security_findings":"none","out_of_scope_findings":[]}
  7. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim: PM loop round 1 (restated with the amended branch; supersedes the Branch line of the earlier claim from this same session)
    Session: session_016WV4cypQd6ZDPDmXL5MaWR
    Account: os-elon-musk
    Area: dm-39368
    Branch: claude/issue-39370-wip
    Worktree: objectstack-issue-39370
    Domain: domain:ui
    Seat: repo:objectstack@os-elon-musk
    File surface: ui/packages/app-shell/src/layout/SidebarAppMenu.tsx, ui/packages/app-shell/src/layout/DesignModeBar.tsx, ui/packages/app-shell/src/layout/designMode.tsx (doc comment and the leave-prompt default only), ui/packages/app-shell/src/layout/ConsoleLayout.tsx (comment), ui/packages/app-shell/src/console/AppNoAccessEmptyState.tsx, ui/packages/app-shell/README.md, ui/packages/i18n/src/locales/en.ts, ui/packages/i18n/src/locales/zh-Hans.ts, ui/packages/i18n/src/locales/zh-Hant.ts, ui/packages/i18n/src/locales/de.ts, ui/packages/i18n/src/locales/es.ts, ui/packages/i18n/src/locales/fr.ts, ui/packages/i18n/src/locales/ja.ts, ui/packages/i18n/src/locales/ko.ts, ui/packages/i18n/src/locales/pt-BR.ts, ui/packages/i18n/src/locales/ru.ts, ui/packages/i18n/src/locales/ar.ts, ui/packages/i18n/src/namespaces/studio/en.ts and ui/packages/i18n/src/namespaces/studio/zh.ts (the two engine.studio.data.appMenu.failed* keys only), content/docs/ui/actions.mdx, the tests that pin the label (SidebarAppMenu-36112, designMode-36362, DesignModeMenu-36363, UnifiedSidebar.hiddenCollapse-35062, RecordTabsConfig-36499)
    Container & model: S mechanical, mode:subagent, model: floor (dispatch-gates --tier: no path-derived mandate; text-only rename whose correctness the label tests and i18n gates judge), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7384564347
    Premise: holds (origin/main 301a378: designMode.title and topbar.designLayout read 「设计布局」 / "Design layout"; 18 files under ui/ plus content/docs/ui/actions.mdx carry the name; skills/ none)
    Serial constraints cleared: #39369 (same zone, p2) shares designMode.tsx and DesignModeBar.tsx; this card touches only their comments and default strings and lands first. studio/en.ts is in os-bill's p3 claims #39003 #38859 #38785 (no open PR); this p2 card touches two keys there and goes first (a split claim yields to a p1/p2 card). PR #39063 (os-bob) edits other keys of locales/en.ts / zh-Hans.ts: ordinary concurrency, the later lander resolves.
    Prior rulings read: check-prior-rulings.mjs --card 39370: #36758 (closed) is the naming ruling this card reverses, superseded by the maintainer's epic ruling on #39368 「我觉得 设计布局应该改为 设计模式」; the docs/adr/0146 quote of 「设计布局」 is history and stays.
    Pre-claim lane: domain:ui (ui/**), plus content/docs/ui/actions.mdx (docs that follow the surface they document).
    Pre-claim deps: none (the epic says child 1 runs in parallel with every other child).

  8. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

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

    2026-12-04T02:14Z · Closed by PR #39425 (merged, Fixes #39370).

  9. removed
    pm:dispatched
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions