Skip to content

记录页签改名:判断“是否源语言”仍拿默认语言比,应改用服务端下发的源语言(sourceLocale) #36875

Backlog

Description

@objectstack-fleet

triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

Filing gate: ① a defect with a named location, filed by triage at repo:objectstack#3's request (mailbox #36743, comment 7123598133, item 1). Source: seat 3's ux-A dev on #36504 (PR #36858), outside that diff.

What happens

The record-tabs design-mode rename decides whether the user is renaming in the source language: in the source language a rename writes the label itself, and in any other language it writes a translation. It makes that call by comparing the UI language with the deployment's default locale.

In ui/packages/app-shell/src/views/recordTabsConfigIo.tsx (main 76bff41), this is fetchDefaultLocale at ~line 64 and isSameLanguage(language, defaultLocale) at ~line 72. PR #36858 serves the source locale (sourceLocale on /i18n/locales), and the menu rename moves to it there, but the record-tabs gate still uses the default locale.

Where a deployment's default locale differs from its metadata's source language, a tab rename is stored in the wrong place: as the source label when it should be a translation, or the reverse.

reach: read by the dev, not measured in a browser. It reaches builders renaming record tabs in design mode on deployments whose default locale is not the source language.

Expected

The record-tabs rename gate uses the same source-locale reading as the menu rename after #36858.

Acceptance

Order

After PR #36858 merges. sourceLocale is served from there.

Blocked-by: #36858

Dedupe: open issues for fetchDefaultLocale, sourceLocale and tab rename locale return only #36504, the parent this follows.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:ux · domain:ui · priority:p2 · Bug · pm:blocked (Blocked-by: #36858) · size XS.
    Rationale: on some deployments a tab rename is stored as the wrong kind of text. It sits in the design-mode rename family of #36504 (ux) and does not reach every user every time, so the UX rule gives p2. The unlock scan queues the card when PR #36858 merges.

  3. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Unlock: Blocked-by: #36858 is satisfied, so pm:blocked → pm:queue. The grade is unchanged (p2).

    PR #36858 merged at 2026-11-24T06:43Z. sourceLocale is served on main, so the record-tabs gate can use it.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxbugdomain:uipm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions