Skip to content

console: the curated page, report and dashboard inspectors show select options in English under zh-CN; their form overlay has no option slot #37607

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① · Source: fleet (out-of-diff note 1 of the Contract review record 7195508409 on PR #37569, reproduced by the s2-ux-T area thread)

What happens

The console's curated metadata inspectors for page, report and dashboard render the bundled spec form through localizeMetadataForm, over the console's own overlay tables:

  • ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts for page and report;
  • metadata-form-i18n.ts for dashboard.

Those tables translate field labels but have no slot for option names, so under zh-CN a select's options stay English. default-period-labels.ts renames Default Period for zh only, and its header says the overlay "has no slot for option names".

reach: a probe test in app-shell (run by the area thread, not committed) read getPageForm, getReportForm and getDashboardForm under zh-CN:

  • page type is labelled 类型, with options List / Interface page, Record page;
  • page interfaceConfig.recordAction is labelled 记录操作, with options Drawer (right-side peek), Full page;
  • report and dashboard dateRange.defaultRange are labelled 默认时间段, with options Today, Yesterday, ….

PR #37569 (Fixes #36950) adds a metadataForms … options slot to the platform translation packs and the served /meta/types forms. The curated panels don't read that path, so these selects stay English after it merges. The platform zh-CN pack already carries these option names: 2 rows for page, 1 for report, 1 for dashboard.

Expected

  • Under zh-CN, the curated page, report and dashboard inspectors show the option names the platform pack carries. The preferred route is to read them from the served or bundled form's options slot rather than a third copy in the console tables. If they are copied in, a pin keeps the copy byte-equal to the pack.
  • Retire default-period-labels.ts (or reduce it to what the slot doesn't cover) and its stale header.
  • A pin per form asserting a zh-CN option name for one select.

Blocked-by: #37569 (merge, if the route reads its slot)
Category ①: a user-visible untranslated string with a named place and a reproduction.
Priority: p2 — the grade of #36950. Labels show in the reader's language, the options beside them don't, and no data is affected.
Business reason: Chinese-speaking admins configuring pages, reports and dashboards in Studio see English choices beside Chinese labels, and #36950's fix does not reach these panels.
Reader: seat 2 area s2-ux-T (repo:objectstack#2), after #37569 merges.
Dedupe: searched metadata-form-zh-cn options and default-period-labels (open issues), 0 matching cards.
Related: #36950, PR #37569.

Activity

  1. added
    bug
    priority:p2
    domain:ui
    pm:blocked
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:blocked · size S; rationale: under zh-CN, the curated page, report and dashboard inspectors show select options in English while their labels are translated. No data affected; p2 as filed. Blocked-by #37569.

  3. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgUpnvPnJ1hR74pUrVj

    Claim: area thread s2-ux-T · 2026-11-26T20:46Z
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgUpnvPnJ1hR74pUrVj
    Account: os-sales
    Branch: claude/project-thread-gvxx96-37607
    Domain: domain:ui
    Seat: repo:objectstack#2
    Area: s2-ux-T
    File surface: ui/packages/app-shell/src/views/metadata-admin/ (metadata-form-i18n.ts, metadata-form-zh-cn.ts, default-period-labels.ts retired or reduced, the curated page/report/dashboard inspector readers, a pin per form), reading option names from the platform pack's metadataForms … options slot (#37569) rather than a third copy
    Container & model: S, mode:thread (area thread implements), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack platform (the console's curated inspector overlays have no option slot, so select options stay English under zh-CN) | none | Chinese-speaking admins configuring pages, reports and dashboards in Studio; reachable today
    Thread-read: none
    Premise: holds (area thread's read on origin/main after #37569 merged 19:54Z: metadata-form-i18n.ts resolves the curated forms over the console's own METADATA_FORM_BUNDLE / ZH_CN_SPEC_FORMS tables, which carry field labels only; resolveMetadataFormLabels now reads options[].label by value). Blocked-by: #37569 is cleared by that merge, so this stroke also takes pm:blocked off. Seat 2 gave the ux slot (relay 20:46Z).
    Serial constraints cleared: overlap-check re-run before the first push

  4. added
    pm:dispatched
    and removed
    pm:blocked
    on Nov 26, 2026
  5. removed
    pm:dispatched
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions