Repository navigation
fix(core): v0.4 browser acceptance — blank report page and audit calendar titles - #57
Merged
Merged
Conversation
The console renders a report's inline locale-map label and description as a React child (objectui#13470), so the report page crashed for every viewer. Use plain Chinese strings until the platform resolves report labels; switch back to the locale map (and restore English) then. Found in the v0.4 browser acceptance run. Claude-Session: https://claude.ai/code/session_01E7UNrUkwEKDrg7BXnKF5LU Co-authored-by: Claude <noreply@anthropic.com>
The calendar view titled events by the supplier lookup, which the console stringifies raw (objectui#13471). Title them by audit number until the platform resolves lookup titles. Found in the v0.4 browser acceptance run. Claude-Session: https://claude.ai/code/session_01E7UNrUkwEKDrg7BXnKF5LU Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by 田騏 · project thread
v0.4 出口浏览器验收(#34)中发现的两处控制台显示问题,都是平台渲染缺陷,hotsrm 先用临时写法绕开,代码注释指向平台 issue。
改了什么
srm_delivery_scorecard(供应商交付与质量(按期间)):label、description从内联多语言写法{ 'zh-CN', en }改为中文字符串。calendar.titleField从supplier(lookup)改为audit_no。为什么
React error #31 … object with keys {zh-CN, en}:ReportView把报表标签直接当文本渲染。报表在翻译包里没有词条组,内联写法是唯一的翻译途径,所以先退回中文字符串,英文暂缺。平台 issue:objectui#13470。平台修好后两处都改回原写法。
怎么验证的
pnpm dev、浏览器验收:修改前报表白屏、日历显示「[object Object]」;修改后报表正常显示 7 家供应商 2026-09 的交付行数、准时率、批次合格率、PPM(与样例表格手算一致:总计 15 行、OTD 60.0%、批次合格率 66.7%),日历显示 5 条年度审核计划的审核编号。pnpm validate、pnpm lint、pnpm typecheck、pnpm i18n:check本地通过;测试与构建看 CI。🤖 Generated with Claude Code
https://claude.ai/code/session_01E7UNrUkwEKDrg7BXnKF5LU