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
Report and dashboard name edits in the current language are not served when there is no packaged base or the override pair translates the slot #36481
Follow-up owed by PR #36420 (card #36373), L2 S2 (record 7079950960). Filed by the seat.
What happens
The report and dashboard edit panels write a name in the current language as { default: SOURCE, LANG: EDIT }. PR #36420 makes the server serve that entry over the packaged base's translation. Two cases stay open:
No packaged base. A report or dashboard that no code package ships (built in the deployment). The panel stores { default: SOURCE, LANG: EDIT }, but the server still serves the translation bundle's entry for that language where one exists. After Save the box shows the bundle's translation again, and nothing tells the admin why.
Override whose pair translates the slot. On an installed package's item, once the paired .custom package ships a translation for that locale, the pair's translation answers ahead of the entry (ruling record 6631250894's order), so the same thing happens.
ui/packages/app-shell/src/views/metadata-admin/inspectors/servedLabel.ts states both cases in its header.
What should happen
The admin's edit is what readers in that language see, or the panel says why not. Two ways, pick one in the card:
Save writes the translation row (the bundle or pair entry for that locale) instead of, or as well as, the inline map entry.
The panel shows a note under the name box when a translation for this language will be served instead of the edit, naming where to change it.
Done when
In each of the two cases above, edit the name in zh-CN, Save, reload: the zh-CN reader sees the edit, or the panel showed the note before Save.
Pinned on both the report page and the dashboard card panel.
Triage: lands in domain:ui (report and dashboard names) · pm:queue; rationale: area:ux (i18n; was the legacy area:i18n) · Bug · report and dashboard name edits made in the current language are not served when there is no packaged base, so the user's rename does not show → p2 as filed · size S.
Claim: PM loop round 2 (area s2-C, area:ux p2 without a topic parent)
Session: session_01ADHkmQD4KwKe5BckFpeiuB
Account: os-steve
Branch: claude/issue-36481-served-name-edit
Worktree: objectstack-issue-36481
Domain: domain:ui
Seat: repo:objectstack#2
Area: s2-C
File surface: ui/packages/app-shell/src/views/metadata-admin/inspectors/{servedLabel,ReportDefaultInspector,DashboardWidgetInspector}.tsx? and their tests (new tests in a file named for this card); the studio i18n namespace (ui/packages/i18n/src/namespaces/studio/{en,zh}.ts) for a note string; .changeset/. ⛔ No server, packages/spec/src/** or translation-bundle write path change without reporting back first (stop on breach; explain in the report)
Container & model: M, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate, floor sonnet · default opus · ceiling fable), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: app-shell report/dashboard name boxes (objectstack repo): the edit lands in the inline locale map while the server serves the bundle or pair translation ahead of it | the serve order is the server's (translateReport/translateDashboard, ruling record 6631250894's order) | zh-CN admins renaming a deployment-built report or dashboard, or an installed one whose .custom pair translates the slot
Order: seat 2 order 2026-11-22T22:29Z relaying the maintainer's 「派」 for area:ux p2 cards with no topic parent
Thread-read: 7080118083
Route (the card's "pick one"): the dev measures first whether a translation-row write path the console already calls exists for these items; if yes and it needs no server change, route 1 (save writes that locale's row); otherwise route 2 (a note under the name box before save, naming where to change it). The choice and its reading go in the PR body.
Pre-claim lane: ui/** — domain:ui, this lane.
Pre-claim deps: no Blocked-by:; base PR #36420 merged. No open PR touches the three inspector files.
Prior rulings read: check-prior-rulings.mjs --card 36481 — 6 hit lines in 3 files, no id-shaped ruling; the card names ruling record 6631250894 (pair translation answers ahead of the inline entry), which both routes keep.
Premise: holds at origin/main87c7bba — servedLabel.ts header states both open cases ("an item with no packaged base: the bundle answers ahead of the entry … The panel does not say so yet").
Serial constraints cleared: none — no open PR on these files.
{
"issue": 36481,
"status": "done",
"branch": "claude/issue-36481-served-name-edit",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36572",
"session": "session_01ADHkmQD4KwKe5BckFpeiuB",
"premise_still_valid": true,
"summary": "Route 2: a note under the report name box (report page Edit panel and Studio) and the dashboard card title box (dashboard page card panel and Studio) says, before Save, that readers in the session language are served a translation instead of the saved text, names that translation and points to Studio > All metadata > Translation; the server order (ruling record 6631250894) is unchanged. servedLabelNote in servedLabel.ts judges on the served/authored pair alone: kind kept (the published label has its own entry for this language and another text is served; certain, shown before any edit, the state after Save in both card cases) and kind ifKept (no entry, a translation is served, the box holds an edit; worded conditionally because the pair cannot tell the package's own translation, where the edit wins, from the environment's or the pair's, where it loses). Route 1 measured out at origin/main 87c7bbaf: the console's only translation-row write is the All metadata translation form editor (whole-locale bundle records), and nothing in the console can read which translation record answers a report or widget slot because the server merges every bundle before translating, so writing the row needs a server read. Assignee untouched; overlap-check ran after the first content push, not before it (deviation).",
"tests": "New servedLabelNote-36481.test.tsx, 13 cases on the report page panel and the dashboard card panel with the hosts' own pairing (servedReportTextOf, servedWidgetTextOf): case 1 edit -> ifKept before Save, after Save+reload -> kept before any edit; case 2 pair translation -> kept; controls (entry served, no translation, untouched box) no note. Ablation via scripts/ablation-replace.mjs (anchor 1->0, blob f84b3edf->aeb19009, servedLabelNote returns null up front): 7 of 13 red (every note case), 6 controls green; restored blob == HEAD, git diff HEAD empty. At head e6db9972 (after merging origin/main, closure rebuilt, lock VERDICT command-exit 0): one locked vitest run of all inspector tests + servedReportText*/servedDashboardText*/ReportView*/DashboardView* + packages/i18n/: Test Files 370 passed, Tests 5309 passed 14 skipped; @object-ui/app-shell type-check (tsc --noEmit + tsconfig.test.json) VERDICT command-exit 0. Pre-merge 9959342b: 7 inspector files 84 passed; packages/i18n 106 files 1978 passed 13 skipped; @object-ui/i18n type-check exit 0. Clause-2 measured on the built closure: dist/namespaces/studio/en.d.ts declares STUDIO_EN as a string-to-string Record, new keys present in dist en.js/zh.js -> published type unchanged, Clause-2: no holds. Live round trip in a running console: NOT MEASURED, reason: no live stack run.",
"gates": "Local at e6db9972: dispatch-gates --commands --repo objectstack-ai/objectstack -> 38 families, each run with exit captured before any pipe, all exit 0 (vitest run scripts/: 172 files passed 2 skipped); dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN; record at /mnt/project-files/objectstack-seat2/36481-gates-ran.txt (re-read after 10s, 42 lines). overlap-check --branch=HEAD at 9959342b: VERDICT clean exit 0 (origin/main clean; #36543 shares studio en/zh, merges cleanly). CI on PR head e6db9972 at report time: 22 check-runs, 5 completed skipped, 17 in_progress, none concluded failure -> in_progress.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/36572/assignees os-steve), post-stamped.mjs os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/36481/comments); git push is not a REST write",
"open_questions": [
{
"question": "Make the first-edit note exact instead of conditional (ifKept)?",
"options": [
"A: leave as is — conditional note on a first edit over a translated plain-string source; exact kept note after Save",
"B: follow-up card widening the surface to the hosts (ReportView, DashboardInPageEditor, StudioDesignSurface) to pass whether the item has a packaged base (the layered read's code layer) and whether the pair translates the slot (a pair translation read), so the note shows only when the edit will lose; S-M, ui only"
],
"recommendation": "B as a separate card if the false-condition note on installed items without a pair translation is judged noisy; A meets the card's done-when as written"
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed: the report panel's note is not aria-describedby on its input because the input is the shared InspectorTextField atom (_shared.tsx), outside the file surface; PR Acceptance notes",
"carrier: none · noted, not filed: edge where a package ships an inline map equal to its base entry plus a bundle translation for that language would show kept while an edit wins; 0 such maps in #36373's census; PR Acceptance notes"
]
}
ACCEPT → PR #36572 (head e6db997, 2026-11-23T00:16Z); readied and auto-merge armed by area s2-C. Route 2 (note before Save); route 1 measured out (no console read of which translation row answers).
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui(report and dashboard names) ·pm:queue; rationale: area:ux (i18n; was the legacyarea:i18n) · Bug · report and dashboard name edits made in the current language are not served when there is no packaged base, so the user's rename does not show → p2 as filed · size S.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-36481-served-name-editWorktree:
objectstack-issue-36481Domain:
domain:uiSeat:
repo:objectstack#2Area: s2-C
File surface:
ui/packages/app-shell/src/views/metadata-admin/inspectors/{servedLabel,ReportDefaultInspector,DashboardWidgetInspector}.tsx?and their tests (new tests in a file named for this card); the studio i18n namespace (ui/packages/i18n/src/namespaces/studio/{en,zh}.ts) for a note string;.changeset/. ⛔ No server,packages/spec/src/**or translation-bundle write path change without reporting back first (stop on breach; explain in the report)Container & model:
M,mode:subagent,model: default (dispatch-gates --tier: no path-derived mandate, floor sonnet · default opus · ceiling fable),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
app-shell report/dashboard name boxes (objectstack repo): the edit lands in the inline locale map while the server serves the bundle or pair translation ahead of it | the serve order is the server's (translateReport/translateDashboard, ruling record 6631250894's order) | zh-CN admins renaming a deployment-built report or dashboard, or an installed one whose .custom pair translates the slotOrder: seat 2 order 2026-11-22T22:29Z relaying the maintainer's 「派」 for area:ux p2 cards with no topic parent
Thread-read: 7080118083
Route (the card's "pick one"): the dev measures first whether a translation-row write path the console already calls exists for these items; if yes and it needs no server change, route 1 (save writes that locale's row); otherwise route 2 (a note under the name box before save, naming where to change it). The choice and its reading go in the PR body.
Pre-claim lane:
ui/**—domain:ui, this lane.Pre-claim deps: no
Blocked-by:; base PR #36420 merged. No open PR touches the three inspector files.Prior rulings read:
check-prior-rulings.mjs --card 36481— 6 hit lines in 3 files, no id-shaped ruling; the card names ruling record 6631250894 (pair translation answers ahead of the inline entry), which both routes keep.Premise: holds at
origin/main87c7bba —servedLabel.tsheader states both open cases ("an item with no packaged base: the bundle answers ahead of the entry … The panel does not say so yet").Serial constraints cleared: none — no open PR on these files.
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB
os-dev-report
{ "issue": 36481, "status": "done", "branch": "claude/issue-36481-served-name-edit", "pr": "https://github.com/objectstack-ai/objectstack/pull/36572", "session": "session_01ADHkmQD4KwKe5BckFpeiuB", "premise_still_valid": true, "summary": "Route 2: a note under the report name box (report page Edit panel and Studio) and the dashboard card title box (dashboard page card panel and Studio) says, before Save, that readers in the session language are served a translation instead of the saved text, names that translation and points to Studio > All metadata > Translation; the server order (ruling record 6631250894) is unchanged. servedLabelNote in servedLabel.ts judges on the served/authored pair alone: kind kept (the published label has its own entry for this language and another text is served; certain, shown before any edit, the state after Save in both card cases) and kind ifKept (no entry, a translation is served, the box holds an edit; worded conditionally because the pair cannot tell the package's own translation, where the edit wins, from the environment's or the pair's, where it loses). Route 1 measured out at origin/main 87c7bbaf: the console's only translation-row write is the All metadata translation form editor (whole-locale bundle records), and nothing in the console can read which translation record answers a report or widget slot because the server merges every bundle before translating, so writing the row needs a server read. Assignee untouched; overlap-check ran after the first content push, not before it (deviation).", "tests": "New servedLabelNote-36481.test.tsx, 13 cases on the report page panel and the dashboard card panel with the hosts' own pairing (servedReportTextOf, servedWidgetTextOf): case 1 edit -> ifKept before Save, after Save+reload -> kept before any edit; case 2 pair translation -> kept; controls (entry served, no translation, untouched box) no note. Ablation via scripts/ablation-replace.mjs (anchor 1->0, blob f84b3edf->aeb19009, servedLabelNote returns null up front): 7 of 13 red (every note case), 6 controls green; restored blob == HEAD, git diff HEAD empty. At head e6db9972 (after merging origin/main, closure rebuilt, lock VERDICT command-exit 0): one locked vitest run of all inspector tests + servedReportText*/servedDashboardText*/ReportView*/DashboardView* + packages/i18n/: Test Files 370 passed, Tests 5309 passed 14 skipped; @object-ui/app-shell type-check (tsc --noEmit + tsconfig.test.json) VERDICT command-exit 0. Pre-merge 9959342b: 7 inspector files 84 passed; packages/i18n 106 files 1978 passed 13 skipped; @object-ui/i18n type-check exit 0. Clause-2 measured on the built closure: dist/namespaces/studio/en.d.ts declares STUDIO_EN as a string-to-string Record, new keys present in dist en.js/zh.js -> published type unchanged, Clause-2: no holds. Live round trip in a running console: NOT MEASURED, reason: no live stack run.", "gates": "Local at e6db9972: dispatch-gates --commands --repo objectstack-ai/objectstack -> 38 families, each run with exit captured before any pipe, all exit 0 (vitest run scripts/: 172 files passed 2 skipped); dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN; record at /mnt/project-files/objectstack-seat2/36481-gates-ran.txt (re-read after 10s, 42 lines). overlap-check --branch=HEAD at 9959342b: VERDICT clean exit 0 (origin/main clean; #36543 shares studio en/zh, merges cleanly). CI on PR head e6db9972 at report time: 22 check-runs, 5 completed skipped, 17 in_progress, none concluded failure -> in_progress.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/36572/assignees os-steve), post-stamped.mjs os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/36481/comments); git push is not a REST write", "open_questions": [ { "question": "Make the first-edit note exact instead of conditional (ifKept)?", "options": [ "A: leave as is — conditional note on a first edit over a translated plain-string source; exact kept note after Save", "B: follow-up card widening the surface to the hosts (ReportView, DashboardInPageEditor, StudioDesignSurface) to pass whether the item has a packaged base (the layered read's code layer) and whether the pair translates the slot (a pair translation read), so the note shows only when the edit will lose; S-M, ui only" ], "recommendation": "B as a separate card if the false-condition note on installed items without a pair translation is judged noisy; A meets the card's done-when as written" } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed: the report panel's note is not aria-describedby on its input because the input is the shared InspectorTextField atom (_shared.tsx), outside the file surface; PR Acceptance notes", "carrier: none · noted, not filed: edge where a package ships an inline map equal to its base entry plus a bundle translation for that language would show kept while an edit wins; 0 such maps in #36373's census; PR Acceptance notes" ] }objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB
ACCEPT → PR #36572 (head e6db997, 2026-11-23T00:16Z); readied and auto-merge armed by area s2-C. Route 2 (note before Save); route 1 measured out (no console read of which translation row answers).
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB
Delivered · 2026-11-23T00:37Z · PR #36572 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 report name box and the dashboard card title box …
feat(console): the report builder — one page to build or edit a report (