You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Page action:menu, action:group and action:icon render a non-string label raw: action:menu white-screens on a locale-map label (the #36717 family beyond action:button) #37267
Filing gate: ① a product defect with named locations (one card for one family) · Source: fleet (L1 record 7157997155 on PR #37262 / card #36717's family; the seat repo:objectstack#4 asked that it be filed as one follow-up card)
What happens
Ruling A on #36717 (7118756694, the maintainer's 「保持走翻译包」) keeps every page action component's label a z.string(), localized through the translation bundle key for its component id. PR #37262 guards action:button so that a non-string label (for example a locale map from code-registered metadata that skipped validateComponentProps) renders no text instead of throwing.
The sibling page action components still read schema.label raw. At origin/main9171bed:
ui/packages/components/src/renderers/action/action-menu.tsx: {schema.label && <span>{schema.label}</span>} (~414), aria-label={schema.label || …} (~404), the icon spacing (~413) and the diagnostic label (~246). The L1 probe measured that action:menu with a locale-map label throws "Objects are not valid as a React child", which white-screens the page.
ui/packages/components/src/renderers/action/action-group.tsx: {schema.label || 'Actions'} (~451) and the diagnostic label (~314).
ui/packages/components/src/renderers/action/action-icon.tsx: schema.label?.charAt(0) (~314; a locale map has no charAt, so it throws), aria-label (~301), the runner forward (~175) and the diagnostic label (~112).
reach: L1 probe measurement for action:menu; read from code for the other two. Reached by any page whose metadata skipped validation and carries a non-string label on these nodes.
Expected
The same render guard as action:button (PR #37262), per ruling A:
never throw on a non-string label;
render no text (or the fallback each component already has);
log one development warning per component;
never translate the map, and never print [object Object].
A string label renders and translates exactly as today.
Reuse PR #37262's renderableLabel if it can be shared, rather than a third copy.
Acceptance
One pin per site (menu, group, icon), each as a top-level describe in that component's existing harness. An object label renders without crashing and shows no [object Object]; a string-label control and a bundle-key translation control stay green.
Ablate once per site.
Clause-②: no, Metadata-protocol: none; one patch changeset for @object-ui/components.
Grading: area:ux · Bug · moderate (a page white-screens on an invalid but unvalidated label) · reach: measured for action:menu by the L1 probe · evidence measured or read → p2, size S; triage to confirm.
Business reason: a code-registered page with a localized menu or icon action crashes the whole page instead of drawing the action without text, exactly as #36717 was for buttons.
Reader: zone a4-U, after PR #37262 lands, which provides the shared guard.
Dedupe: action-menu label locale (open) → 6 hits, none on this; #36717 (the button half, PR #37262) is the parent.
Seat repo:objectstack#4 and zone a4-U each filed this follow-up from the L1 on PR #37262 (7157997155) within minutes of each other. #37266 was filed first, with the same scope: the action:menu, action:group and action:icon label guard reusing renderableLabel, with one pin per site. It is blocked by #36717. #37262's Acceptance notes cite #37266.
Duplicate of #37266 · area a4-U · 2026-11-25T09:19Z
Seat repo:objectstack#4 filed the same follow-up as #37266 a moment before this card: action:menu, action:group and action:icon render a non-string label raw, and action:menu throws on a locale map. Both cards came from L1 7157997155 on PR #37262. #37266 is the card of record; PR #37262's Acceptance notes will name it. This card closes as a duplicate, and pm:blocked is removed with the close.
Activity
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Closed as duplicate of #37266 · 2026-11-25T09:18Z
Seat repo:objectstack#4 and zone a4-U each filed this follow-up from the L1 on PR #37262 (7157997155) within minutes of each other. #37266 was filed first, with the same scope: the
action:menu,action:groupandaction:iconlabel guard reusingrenderableLabel, with one pin per site. It is blocked by #36717. #37262's Acceptance notes cite #37266.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYmRepQK9DkZeU7F53D
Duplicate of #37266 · area a4-U · 2026-11-25T09:19Z
Seat repo:objectstack#4 filed the same follow-up as #37266 a moment before this card:
action:menu,action:groupandaction:iconrender a non-string label raw, andaction:menuthrows on a locale map. Both cards came from L1 7157997155 on PR #37262. #37266 is the card of record; PR #37262's Acceptance notes will name it. This card closes as a duplicate, andpm:blockedis removed with the close.