chore(shared): 删除零消费 ArtifactVersionTimeline 组件族与孤儿 ArtifactCard 样式 - #2186
Merged
Conversation
- 删 ArtifactVersionTimeline.tsx/.module.css/.test.tsx/.stories.tsx(全仓零消费者,workbench artifacts 面走自研实现) - 删 barrel 导出 2 行(index.ts) - 删 ArtifactCard.module.css(123 行孤儿,零引用) - 同步删 component-acceptance/ui-core.md 验收段与 component-acceptance.md 索引行 - 历史快照 docs/reference/ux-benchmark-2026-08.md 的 ArtifactCard 提及为存档记录,保留 - #2154 前端遗留候选 B(round-38 探索取证);先例 #2155 死 namespace 清理 Co-authored-by: Cursor <cursor@vectorcontrol.tech>
DeliciousBuding
added a commit
that referenced
this pull request
Sep 1, 2026
- 删 4 原语 × 4 文件(组件/module.css/test/stories,共 16 文件)+ barrel 8 行 - Input.test.tsx 删 FormField 包装用例;Input.stories.tsx InFormField → WithLabel(原生 label);Input.tsx 注释去陈旧引用 - ui-core.md 表单族段重写:头/段如实化(6 原语仅 Input/Switch 被采用),删 4 原语验收行,登记 22 裸 input + 1 裸 textarea adoption debt - component-acceptance.md 索引同步 - #2154 前端遗留候选 A(round-38 探索取证);先例 #2155/#2186 Co-authored-by: Cursor <cursor@vectorcontrol.tech>
DeliciousBuding
added a commit
that referenced
this pull request
Sep 1, 2026
) - 删 4 原语 × 4 文件(组件/module.css/test/stories,共 16 文件)+ barrel 8 行 - Input.test.tsx 删 FormField 包装用例;Input.stories.tsx InFormField → WithLabel(原生 label);Input.tsx 注释去陈旧引用 - ui-core.md 表单族段重写:头/段如实化(6 原语仅 Input/Switch 被采用),删 4 原语验收行,登记 22 裸 input + 1 裸 textarea adoption debt - component-acceptance.md 索引同步 - #2154 前端遗留候选 A(round-38 探索取证);先例 #2155/#2186 Co-authored-by: DeliciousBuding <DeliciousBuding@users.noreply.github.com> Co-authored-by: Cursor <cursor@vectorcontrol.tech>
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.
Summary
删除全仓零消费者的
ArtifactVersionTimeline组件族(4 文件)与孤儿ArtifactCard.module.css(123 行,零引用),同步清理 barrel 与验收文档。#2154 前端遗留候选 B(round-38 探索取证)。先例:#2155 死 namespace 清理。取证
ArtifactVersionTimeline:除自身三件套、barrel(app/shared/src/ui/index.ts:100-101)、验收文档外全仓(含 mobile-rn)零引用;workbench artifacts 面走自研实现(ProjectsPage.module.css.artifactRow+ProjectPanelParts.tsx),从未接线。[P2] 设计系统收口与组件生命周期治理:孤儿组件/icon 收敛/token 化/验收补全 #1820 补 stories 凑齐三件套后目标消费面始终未采用。ArtifactCard.module.css:无对应组件文件、全仓零导入(孤儿样式)。Scope(-6 文件 +4 行)
app/shared/src/ui/ArtifactVersionTimeline.{tsx,module.css,test.tsx,stories.tsx}app/shared/src/ui/ArtifactCard.module.cssdocs/component-acceptance/ui-core.md验收段(11 行)与docs/component-acceptance.md索引 1 行docs/reference/ux-benchmark-2026-08.md:103的 ArtifactCard 提及(带日期的历史存档快照,非活文档)验证证据(本地)
git diff --check✅风险
纯删除无运行时消费者;回退 = revert。若产品后续要接 artifact 版本历史面,从 git 历史恢复并接线 ProjectsPage(已在 #2154 登记为决策项)。