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
Studio canvas selection strip names the selected widget by its English source label in a zh-CN session #36480
Found in the live run of PR #36420 (card #36373), finding 3. Out of that card's scope. Filed by the seat.
What happens
In a zh-CN session, select the 「阶段管道分布」 widget (dataset widget of sales_dashboard, HotCRM) on Studio's dashboard design canvas. The canvas selection strip reads 「已选中:Pipeline by Stage」: the prefix is translated, the selected item's name is the English source. The strip reads selection.label in StudioDesignSurface, which carries the authored source label, not the served (current-language) one.
What should happen
The strip names the selection in the session's language, the same text the panels beside it show (「已选中:阶段管道分布」), using the served label PR #36420 introduces for the panels (servedLabel.ts) rather than a second reading.
Triage: lands in domain:ui (Studio canvas) · pm:queue; rationale: area:ux (i18n; was the legacy area:i18n) · Bug · the canvas selection strip names the selected widget by its English source label in a zh-CN session → p2 as filed · size XS.
Claim: PM loop round 2 (area s2-C, area:ux p2 without a topic parent)
Session: session_01ADHkmQD4KwKe5BckFpeiuB
Account: os-steve
Branch: claude/issue-36480-canvas-strip-served-label
Worktree: objectstack-issue-36480
Domain: domain:ui
Seat: repo:objectstack#2
Area: s2-C
File surface: ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (the canvas selection strip's selectionLabel only) and the helper that resolves a selection's served label (metadata-admin/inspectors/servedLabel.ts, studio-design/served*Text.ts, read or extended, not rewritten); a new test file named for this card; .changeset/ (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate, floor sonnet · default opus · ceiling fable), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: app-shell StudioDesignSurface (objectstack repo): the strip reads selection.label, the authored source | the served label PR #36420 added for the panels (servedLabel.ts) | zh-CN Studio users selecting a dashboard widget, report or page section on the canvas
Order: seat 2 order 2026-11-22T22:29Z relaying the maintainer's 「派」 for area:ux p2 cards with no topic parent
Thread-read: 7080111705
Pre-claim lane: ui/** — domain:ui, this lane.
Pre-claim deps: no Blocked-by:; the card's base PR #36420 is merged. Open PRs on StudioDesignSurface.tsx: #36519 and #36543 (both this seat's, not seat 7's); overlap-check.mjs decides before the first push.
Prior rulings read: check-prior-rulings.mjs --card 36480 — 26 hit lines in StudioDesignSurface.tsx, none on the canvas hint or the selection label (~L4415); no ruling bars reading the served label there.
Premise: holds at origin/main87c7bba — StudioDesignSurface.tsx builds selectionLabel from selection.label || selection.id and passes it to engine.studio.if.canvasHint.selected (~L4415-4421); selection.label is the authored label.
Serial constraints cleared: #36519, #36543 (same file, other hunks expected) — overlap-check before push; queue behind the named PR on exit 1.
{
"issue": 36480,
"status": "done",
"branch": "claude/issue-36480-canvas-strip-served-label",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36569",
"session": "session_01ADHkmQD4KwKe5BckFpeiuB",
"premise_still_valid": true,
"summary": "Premise held at origin/main 87c7bbaf: the strip built selectionLabel from selection.label, and selection.label is the authored title that DashboardPreview resolves from the buffer. The strip now names a selected dashboard widget through the panel's own reading. A new shownWidgetTitle in servedDashboardText.ts finds the widget in the draft by id and applies shownLabel to the servedWidgets pair, in the useLabelLanguage language. That is the same call DashboardWidgetInspector makes for its Title box, so the strip and the panel give one answer. It falls back to selection.label or selection.id as before. Other kinds checked: the report canvas (ReportPreview) emits no selection; a page block's strip and PageBlockInspector title both read the same authored selection.label, and the Studio has no served page text to pair; a nav entry already reads its panel's title. Deviation: the first code commit (542d9a19) was pushed about one minute before overlap-check ran. The check was clean: origin/main, and #36543 which shares StudioDesignSurface.tsx. Re-run after merging origin/main: clean.",
"tests": "At aef2a628 (origin/main d463c46f merged), after the app-shell dependency closure was rebuilt under the lock (VERDICT command-exit 0): locked pnpm --dir ui exec vitest run of 6 files (new StudioDesignSurface.canvasStripServedLabel-36480.test.tsx, servedDashboardText.test.ts, InterfacesPillar.componentListServedTitles-12688.test.tsx, StudioDesignSurface.rightSlot-12725.test.tsx, DashboardWidgetInspector.test.tsx, StudioDesignSurface.selectionLeafScope.test.tsx) gave 'Test Files 6 passed (6) / Tests 57 passed (57)', VERDICT command-exit 0. pnpm --filter @object-ui/app-shell type-check (tsc and tsconfig.test.json) gave VERDICT command-exit 0; this ran at 542d9a19, and the merge touched no app-shell file. eslint on the 3 touched ui files: 0 errors, and no warning on a changed line. Ablation with scripts/ablation-replace.mjs (the test imports StudioDesignSurface from src, so there is no dist step): the anchor 'shownWidgetTitle(draft, selection.id, servedWidgets, labelLanguage)' was replaced by 'undefined' (anchor x1 to x0, blob 124e7447 to ebf2756e). Result: 'reads 阶段管道分布 ... never the English source' failed, 'Tests 1 failed | 3 passed (4)'. Restore: blob after restore 124e7447 == HEAD, git diff HEAD empty.",
"gates": "node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at aef2a628 derived 38 families. All 38 ran with the exit code captured before any pipe, and all exited 0. --ran gives '38 derived famil(ies) accounted for — 38 run, 0 NOT-MEASURED (a DERIVED zero)', and the record is saved at /mnt/project-files/objectstack-seat2/36480-gates-ran.txt (re-read after the write). overlap-check --branch=HEAD gave VERDICT clean exit 0 (before the merge: origin/main and #36543; after the merge: origin/main). Changed lines 331, under 3000. CI at aef2a628 when this report was written: 22 check-runs, most in_progress (Lint lanes, Type Check lanes, Check Changeset, Governed Surface Queue Guard, PR-body guards) and 5 skipped. None concluded yet; this report does not wait on them.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 — pr_create via fleet-write relay (POST /repos/objectstack-ai/objectstack/pulls, draft forced, assignees [os-steve]; read-back 5939 bytes sent = stored); this os-dev-report comment via post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/36480/comments)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed. A translated page block title shows in its authored language in both the canvas strip and PageBlockInspector. The Studio pairs served text for dashboards and reports only, with no page counterpart of servedWidgetTextOf or servedReportTextOf. No live zh-CN reading was taken, so there is no reach; the item is in the PR's Acceptance notes."
]
}
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui(Studio canvas) ·pm:queue; rationale: area:ux (i18n; was the legacyarea:i18n) · Bug · the canvas selection strip names the selected widget by its English source label in a zh-CN session → p2 as filed · size XS.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB
Claim: PM loop round 2 (area s2-C, area:ux p2 without a topic parent)
Session:
session_01ADHkmQD4KwKe5BckFpeiuBAccount:
os-steveBranch:
claude/issue-36480-canvas-strip-served-labelWorktree:
objectstack-issue-36480Domain:
domain:uiSeat:
repo:objectstack#2Area: s2-C
File surface:
ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx(the canvas selection strip'sselectionLabelonly) and the helper that resolves a selection's served label (metadata-admin/inspectors/servedLabel.ts,studio-design/served*Text.ts, read or extended, not rewritten); a new test file named for this card;.changeset/(stop on breach; explain in the report)Container & model:
S,mode:subagent,model: default (dispatch-gates --tier: no path-derived mandate, floor sonnet · default opus · ceiling fable),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
app-shell StudioDesignSurface (objectstack repo): the strip reads selection.label, the authored source | the served label PR #36420 added for the panels (servedLabel.ts) | zh-CN Studio users selecting a dashboard widget, report or page section on the canvasOrder: seat 2 order 2026-11-22T22:29Z relaying the maintainer's 「派」 for area:ux p2 cards with no topic parent
Thread-read: 7080111705
Pre-claim lane:
ui/**—domain:ui, this lane.Pre-claim deps: no
Blocked-by:; the card's base PR #36420 is merged. Open PRs onStudioDesignSurface.tsx: #36519 and #36543 (both this seat's, not seat 7's);overlap-check.mjsdecides before the first push.Prior rulings read:
check-prior-rulings.mjs --card 36480— 26 hit lines inStudioDesignSurface.tsx, none on the canvas hint or the selection label (~L4415); no ruling bars reading the served label there.Premise: holds at
origin/main87c7bba —StudioDesignSurface.tsxbuildsselectionLabelfromselection.label || selection.idand passes it toengine.studio.if.canvasHint.selected(~L4415-4421);selection.labelis the authored label.Serial constraints cleared: #36519, #36543 (same file, other hunks expected) — overlap-check before push; queue behind the named PR on exit 1.
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB
os-dev-report
{ "issue": 36480, "status": "done", "branch": "claude/issue-36480-canvas-strip-served-label", "pr": "https://github.com/objectstack-ai/objectstack/pull/36569", "session": "session_01ADHkmQD4KwKe5BckFpeiuB", "premise_still_valid": true, "summary": "Premise held at origin/main 87c7bbaf: the strip built selectionLabel from selection.label, and selection.label is the authored title that DashboardPreview resolves from the buffer. The strip now names a selected dashboard widget through the panel's own reading. A new shownWidgetTitle in servedDashboardText.ts finds the widget in the draft by id and applies shownLabel to the servedWidgets pair, in the useLabelLanguage language. That is the same call DashboardWidgetInspector makes for its Title box, so the strip and the panel give one answer. It falls back to selection.label or selection.id as before. Other kinds checked: the report canvas (ReportPreview) emits no selection; a page block's strip and PageBlockInspector title both read the same authored selection.label, and the Studio has no served page text to pair; a nav entry already reads its panel's title. Deviation: the first code commit (542d9a19) was pushed about one minute before overlap-check ran. The check was clean: origin/main, and #36543 which shares StudioDesignSurface.tsx. Re-run after merging origin/main: clean.", "tests": "At aef2a628 (origin/main d463c46f merged), after the app-shell dependency closure was rebuilt under the lock (VERDICT command-exit 0): locked pnpm --dir ui exec vitest run of 6 files (new StudioDesignSurface.canvasStripServedLabel-36480.test.tsx, servedDashboardText.test.ts, InterfacesPillar.componentListServedTitles-12688.test.tsx, StudioDesignSurface.rightSlot-12725.test.tsx, DashboardWidgetInspector.test.tsx, StudioDesignSurface.selectionLeafScope.test.tsx) gave 'Test Files 6 passed (6) / Tests 57 passed (57)', VERDICT command-exit 0. pnpm --filter @object-ui/app-shell type-check (tsc and tsconfig.test.json) gave VERDICT command-exit 0; this ran at 542d9a19, and the merge touched no app-shell file. eslint on the 3 touched ui files: 0 errors, and no warning on a changed line. Ablation with scripts/ablation-replace.mjs (the test imports StudioDesignSurface from src, so there is no dist step): the anchor 'shownWidgetTitle(draft, selection.id, servedWidgets, labelLanguage)' was replaced by 'undefined' (anchor x1 to x0, blob 124e7447 to ebf2756e). Result: 'reads 阶段管道分布 ... never the English source' failed, 'Tests 1 failed | 3 passed (4)'. Restore: blob after restore 124e7447 == HEAD, git diff HEAD empty.", "gates": "node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at aef2a628 derived 38 families. All 38 ran with the exit code captured before any pipe, and all exited 0. --ran gives '38 derived famil(ies) accounted for — 38 run, 0 NOT-MEASURED (a DERIVED zero)', and the record is saved at /mnt/project-files/objectstack-seat2/36480-gates-ran.txt (re-read after the write). overlap-check --branch=HEAD gave VERDICT clean exit 0 (before the merge: origin/main and #36543; after the merge: origin/main). Changed lines 331, under 3000. CI at aef2a628 when this report was written: 22 check-runs, most in_progress (Lint lanes, Type Check lanes, Check Changeset, Governed Surface Queue Guard, PR-body guards) and 5 skipped. None concluded yet; this report does not wait on them.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — pr_create via fleet-write relay (POST /repos/objectstack-ai/objectstack/pulls, draft forced, assignees [os-steve]; read-back 5939 bytes sent = stored); this os-dev-report comment via post-stamped.mjs (POST /repos/objectstack-ai/objectstack/issues/36480/comments)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed. A translated page block title shows in its authored language in both the canvas strip and PageBlockInspector. The Studio pairs served text for dashboards and reports only, with no page counterpart of servedWidgetTextOf or servedReportTextOf. No live zh-CN reading was taken, so there is no reach; the item is in the PR's Acceptance notes." ] }objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB
ACCEPT → PR #36569 comment 7087998704 (head aef2a62, 2026-11-23T00:01Z); readied and auto-merge armed by area s2-C.
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB
Delivered · 2026-11-23T00:35Z · PR #36569 merged; the card closed on its
Fixesline.pm:dispatchedremoved in this stroke.feat(app-shell): report and widget panels speak business wording, and…
fix(app-shell): the Studio canvas selection strip names a selected da…