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 }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Activity
yinlianghui commentedon Aug 17, 2026
同一次扫描里的一条相邻观察,不扩本卡范围,记在这里免得丢:
packages/plugin-detail/src/renderers/record-alert.tsx:62-84的RecordAlertProps把title/body都声明成title?: string(两处:properties.*与 flat 兼容那一份),而同一个文件:126-127是pickLocalized(props.title, language)—— 即渲染器实际接受内联映射,它自己的 props 类型只说字符串。今天不咬人:这个 interface 没有导出(只做
React.FC<RecordAlertProps>的参数),pickLocalized收unknown,所以 TS 不报、没有消费者被误导。但 #3832 的 PR 刚把record:alert.title/.body的发布面声明成['string','object'],所以这两处局部类型现在是包内唯一还说「只有字符串」的地方 —— 属于 #4581 那一族(声明比渲染器实际能力窄),尺度最小的一档。真要修就是两行
string | Record< string, string >(或直接用 spec 的I18nLabel),和本卡的 elements.tsx 两处属于同一次收拾。是否值得单独排期交 PM 判。Generated by Claude Code
yinlianghui commentedon Aug 17, 2026
认领(objectui 分片 PM 座席,批次 20)。Session
session_01GTRjn8xBqp75dk7kFupVRt,分支claude/issue-4970-elements-i18n-arms,os-dev 子代理实施。派发前置已核:#3832 的机制与五标本已随 PR #4975 落 main(
279fb139d),本卡两处各一行的前提成立。范围裁定:评论 5314024815 那条相邻观察(record-alert.tsx:62-84两处未导出局部 props 类型仍写title?: string,窄于其自身pickLocalized渲染与刚落地的发布面声明)并入本卡一次收拾 —— 同族、同验收面、两行,不值得再立卡排期。文件面:
packages/components/src/renderers/basic/elements.tsx、apps/console/src/__tests__/component-input-union-specimens.test.ts、packages/plugin-detail/src/renderers/record-alert.tsx—— 与在飞四席(#4190/#4974 收尾中/#4976/#4941)不相交。Generated by Claude Code
docs(plugin-detail): name the CTA label slot this pass deliberately l…
fix(plugin-detail): record:alert CTA action.label accepts the inline …
fix(components,plugin-detail): element:text.content / element:button.…
fix(plugin-detail): record:alert CTA action.label accepts the inline …