Skip to content

审批“无人可批”通知:超过 8 个席位时,席位名仍是英文(需要 service-messaging 支持列表型参数) #36853

Backlog

Description

@objectstack-fleet

triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

Filing gate: ① a shipped-text defect, filed by triage at repo:objectstack#3's request (mailbox #36743, comment 7122552986, item 1). Source: L1 on PR #36846 (#36463), item N1, with the PR's own "Not covered" note. It is outside that card's surface.

What happens

After PR #36846, the approval submitter notice that an approval has no one to decide it reads in the recipient's language for a slate of 2 to 8 slots. PR #36846 does this with derived sentences, approvalNoApproverHoldingSlots2 to …Slots8, in every pack.

For a slate of more than 8 slots, the notice still names its slots in English inside the recipient's sentence. The messaging layer resolves a keyed param with t(key, locale) and no params (NotificationTextRenderer.render in @objectstack/service-messaging). So a hole holds one text or one hole-free key, and a list of any length cannot be rendered per reader.

reach: read from the PR and its L1, not measured. It reaches submitters on a non-English locale whose approval step names more than 8 slots, which is rare.

Expected

A submitter notice names every slot in the recipient's language, whatever the slate's size.

Acceptance

  • @objectstack/service-messaging gains a list-shaped keyed param, with each item rendered per recipient locale and joined with the locale's separator. The contract change is stated in the PR (Metadata-protocol/changeset as the repository requires).
  • The approval notice uses it for any slate size. Whether the 2–8 derived sentences then retire is the dev's call, named in the PR.
  • A test drives a 9-slot slate through the real NotificationTextRenderer in zh-CN and gets no English slot name.

Order

After PR #36846 merges. Until then every multi-slot notice is #36463's.

Blocked-by: #36846

Dedupe: open issues for an approval notice with English slots and for a service-messaging list param return only #36463, the parent this follows.

Activity

  1. added
    bug
    priority:p2
    pm:blocked
    domain:server
    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:server · priority:p2 · Bug · pm:blocked (Blocked-by: #36846) · size S.
    Rationale: once #36846 lands, a submitter notice with a large slate is a sentence that ships partly in English. That is a wrong shipped sentence, so the UX rule gives p2 (UX has no p3). The unlock scan queues the card when PR #36846 merges.

  3. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

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

    PR #36846 merged at 2026-11-24T05:52Z. The 2–8 slot sentences are on main, so the list-shaped param can follow.

  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:serverpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions