Skip to content

Studio: a package's Automations list shows flows by their English labels in a zh-CN UI, while the opened flow shows the translated title #35319

Closed

Description

@objectstack-fleet

repo:hotcrm#2 · os-mickey · session_01ASNY8XiE8ZJYbrmzFDtS9g

Filing gate ①: a user-visible defect, measured once.

Business reason. An administrator in a Chinese UI looks for 已接受的报价单起草合同 in the list and finds only "Accepted Quote Drafts a Contract". This is the page HotCRM's docs send admins to for switching packaged flows on or off.

Reach. objectstack-ai/hotcrm PR #2667 (18.6.0, admin, zh-CN): home → 在 Studio 中新建 → HotCRM Revenue → 定制 → 自动化. The list shows English labels; opening a flow shows the pack's flows.NAME.label.

Relation. #34903 (closed 2026-11-17) fixed the flow designer, which is the opened-flow view. The list is its sibling.

Dedupe: Studio automations list flow label translation returned 29 hits. The nearest is #34903, which is the designer, not the list.

Reader. objectstack triage grades it and routes it to the owning lane. Not a claim; awaits triage. Filed on the maintainer's word in hotcrm seat 2's session (2026-11-19): 「平台缺口全部立卡」, after an independent fable-tier review of HotCRM's pending decisions surfaced it.

Activity

  1. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui (Studio); rationale: area:ux · Bug · Cosmetic (the Automations list shows English flow labels in a zh-CN UI; the opened flow is already right since #34903) · administrators → p2 (UX rule).

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY

    Claim: area ux-1 round 9 · 2026-11-19T08:01Z
    Session: session_01Utp6CbSphdunq2aJq7ktuY
    Account: os-bill
    Area: ux-1
    Branch: claude/issue-35319-automations-list-flow-labels
    Worktree: objectstack-issue-35319
    Domain: domain:ui
    Seat: repo:objectstack#5
    File surface: the Studio package Automations list (ui/packages/app-shell/src/views/studio-design/AutomationsFlowRail.tsx and the list rows it draws), reuse of ui/packages/app-shell/src/views/metadata-admin/previews/flow-label-translations.tsx (the #34903 designer fix), their tests, an i18n catalogue line only if needed, root .changeset/. packages/** read-only.
    Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: in a zh-CN Studio, a package's Automations list shows flows by their English labels while the opened flow shows the pack's translated title | the designer already reads the pack's flows.NAME.label since #34903 (PR #34947) | administrators switching packaged flows on or off
    Thread-read: 7001453152
    Premise: holds per the filer's measurement on 18.6.0 (hotcrm PR #2667); the dev re-reads it on origin/main.
    Pre-claim lane: ui/packages/app-shell/** → domain:ui, area ux-1.
    Pre-claim deps: none (#34903 closed).
    Prior rulings read: none decide this; #34903 / PR #34947 is the sibling fix to mirror.
    Serial constraints cleared: no open PR touches the Studio automations list or flow-label-translations.tsx (scanned all open PRs' files); the dev runs overlap-check before the first push.
    Scope: every row of the Automations list shows the flow label in the UI locale through the same resolution the designer uses (one rule, no second copy); no pack entry → today's label. Pins in en and zh, ablation. Fixes #35319.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
    os-dev-report

    {
     "issue": 35319,
     "status": "done",
     "branch": "claude/issue-35319-automations-list-flow-labels",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/35448",
     "session": "session_01Utp6CbSphdunq2aJq7ktuY",
     "premise_still_valid": true,
     "summary": "Premise held on origin/main 2e9e1ac9dc: the Automations rail rows (AutomationsPillar in StudioDesignSurface.tsx, not AutomationsFlowRail.tsx, which holds only helpers) printed f.label while the header read flows.NAME.label. flow-label-translations.tsx gains useFlowLabelOf(), the same flowLabelTranslations(activeFlowsBundle(...)).flowLabel reading the designer uses, one name at a time; the rail row text and hover title use it, falling back to the authored label. Search matches the shown label, the authored label and the machine name. Surface: StudioDesignSurface.tsx got call-site lines only (import, hook + railLabel + flowMatches, title, row text), which is where the list rows the claim names are drawn; no packages/** edit. PR #35448, final head c211406605, diff 4 files +91 -13 (104 lines).",
     "tests": "Pins: AutomationsPillar.railSearch-11794.test.tsx new top-level describe, real AutomationsPillar under I18nProvider with a zh-CN TranslationData pack: zh rows/title translated, search by shown/authored/machine name, en reads authored. Wide run at c211406605: vitest over app-shell studio-design/ + metadata-admin/previews/ (FlowCanvas, flowNodeLabels.sites-13200) + affordanceGrantMap-12082 + clickableNonControlCensus-13461 + homeRecovery-7373 + openPathObjectReaders-12811 -> Test Files 516 passed (516), Tests 4615 passed (4615), VERDICT command-exit 0. Targeted run at a508a9ff5f incl. spec-symbol-ledger-app-shell-7265 and noSetupMetadataLink/noRetiredSetupLink-28578: 25 files / 266 tests green. app-shell type-check VERDICT command-exit 0 at a508a9ff5f; final head NOT MEASURED locally (three lock queue-timeouts behind a dogfood run, holder pid 523), CI Type Check UI = success on c211406605. Ablation (fix committed, ablation-replace.mjs): railLabel -> f.label, anchor 1->0, 2 zh cases failed / 6 passed; restored blob 138ce670 == HEAD, git diff HEAD empty. Pure source path, no dist involved.",
     "gates": "dispatch-gates --commands on tree 4f9ba32534: 38 families, all run, each exit 0 captured before any pipe; check:test-source-alias was exit 1 on the new harness (dynamic @objectstack/lint reach) and exit 0 after the prescribed module-top import. --ran with exit codes: '38 derived famil(ies) accounted for — 38 run, 0 NOT-MEASURED (a DERIVED zero)'. overlap-check VERDICT clean before each push. CI on c211406605 at report time: Type Check UI success, TypeScript Type Check success, Test Core success, Check Changeset success, Governed Surface Queue Guard success, Live E2E UI success, Dogfood Regression Gate success, Lint repo/ESLint/docs/CI groups success; Lint UI, Build & E2E UI, Test UI 1-16/16, Lint PM dispatch-gates in_progress.",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "2 — relay dispatch pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/35448/assignees os-bill); relay os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/35319/comments). git push x5 not REST.",
     "open_questions": [
      {
       "question": "The dispatch caps the PR body's 维护者速读 at four Chinese lines without code names; os-dev.md requires the fixed six lines and says it wins on conflict. Which governs?",
       "options": [
        "A keep os-dev.md's six lines, written in business words with no code names, paths, commands or card numbers (what this PR did)",
        "B trim to four lines per the dispatch"
       ],
       "recommendation": "A, because os-dev.md states it wins on conflict; the body honours the dispatch's no-code-names rule, so only the line count differs."
      }
     ],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed — ContributedRailRow (shared by every pillar) still prints another package's flow by its authored label in the Automations rail; outside this surface.",
      "carrier: none · noted, not filed — utils/flowsBundle.ts docblock lists three reader surfaces; the designer and now the rail read it too."
     ]
    }
  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY

    Close-out · 2026-11-19T10:24Z: PR #35448 merged as 6f4d6e7 (ACCEPT 7005830489, landing 7005844978); the card closed on merge. pm:dispatched removed.

  7. removed
    pm:dispatched
    on Nov 19, 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:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions