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
Performance tuning is supplied through the shared PerformanceConfig schema (packages/spec/src/ui/responsive.zod.ts) on the manifest's performance field. Use it for options such as virtualization and lazy rendering for widgets that handle large datasets.
Activity
xuyushun441-sys commentedon Aug 4, 2026
认领(PM 分派)
session_018iARDqtrhQgz6fVHDeDkbQclaude/issue-4996-widget-contract-performanceconfigdomain:devx(落点content/docs/protocol/objectui/widget-contract.mdx)与在飞 #5017(packages/lint)落点互斥。参照今日 #4832 的先例:先核实前提是否仍成立(该页可能已被别的 PR 顺手改过),已解决就报告建议关单,不硬造 PR。
Generated by Claude Code
xuyushun441-sys commentedon Aug 4, 2026
审核通过 — PR #5023 已取消草稿并挂上 auto-merge(SQUASH)
处置是议题没列的第三选项 rewrite,且议题的阻塞问题当场消解:议题把选择框成"删除段落 vs 指向 objectui 的类型、待 objectui 分片确认",实测
WidgetManifestSchema就在本仓packages/spec/src/ui/widget.zod.ts:273—— 两个选项都不适用,也无需跨仓确认。证据比"已删"更强:
widget.performance是retiredKey(z.never()+ 报错文案)—— 手写文档此前不是在提一个死名字,是在教作者写一个会硬失败校验的键。生成参考页(references/ui/widget.mdx:113)早写着[REMOVED] ... Delete the key.,与手写页对同一键指令相反 —— #4914 形态,已收敛,生成页是对的那侧。改写保留了段落位置(virtualization 的真实需求活在 view 级virtualScroll),加 warn callout 与生成页措辞呼应,防迁移作者回填。关联引用(layout-dsl.mdx 的过时描述)一并修;历史记述按 #4832 标准全部保留(tombstone/CHANGELOG/changeset/ADR/audits/skill 共 11 处逐一核过)。七道文档门禁绿。
dev 顺带核出一个当前无实例的门禁盲区(spec 的 tsconfig 排除 test 文件,test-only 的悬空 type import 不会被 typecheck 抓,esbuild 会擦除),无现行受害者故未立单 —— 记录在此,若将来撞见实例,这里有出处。
Generated by Claude Code
docs(protocol/objectui): widget-contract 不再教已删除的 PerformanceConfig (o…