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
polish(app-showcase): i18n labels, My Work layout, nav IA, history via feed (#2063)
Round of surface polish on the enterprise pages, all browser-verified.
i18n field labels — account / invoice / preference fields were rendering as
uppercased machine names (WEBSITE / TAX_ID / THEME …) on Account 360 and
Settings because the translation bundle only covered task/project. Added
en + zh-CN labels for all three objects; now 网站 / 税号 / 主题 etc. resolve.
My Work layout —
• KPI tiles now sit in a horizontal row via a `flex` container (the obvious
`grid` type is aliased to ObjectGrid by plugin-grid, so it 404s with
"object name required" — flex is the correct layout primitive here);
• sidebar uses plain element:text lines for Shortcuts (region containers
don't render nested page:card bodies — direct components are reliable);
• dropped the role-gated card: page-component `visible` expressions get no
`current_user` in the renderer's eval context, so true per-role gating
belongs in object/field permissions + sharing, not a card expression.
History — `record:history` reads an audit store that trackHistory doesn't
populate, so its tab was always "No history yet". Removed the redundant tab;
field changes already surface in the synthesized discussion feed
(verified live: "Industry: Retail → Finance"). Kept trackHistory on
account.status + industry since that is what feeds the feed entries.
Nav IA — new "Workspace" group (My Work / Approvals / New Project / Settings)
at the top, separated from the demo "Pages" gallery.
typecheck + 20 showcase tests pass.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments