Skip to content

chore(shared): 删除零消费 ArtifactVersionTimeline 组件族与孤儿 ArtifactCard 样式 - #2186

Merged
DeliciousBuding merged 1 commit into
masterfrom
chore/cleanup-round-41
Sep 1, 2026
Merged

chore(shared): 删除零消费 ArtifactVersionTimeline 组件族与孤儿 ArtifactCard 样式#2186
DeliciousBuding merged 1 commit into
masterfrom
chore/cleanup-round-41

Conversation

@DeliciousBuding

Copy link
Copy Markdown
Collaborator

Summary

删除全仓零消费者的 ArtifactVersionTimeline 组件族(4 文件)与孤儿 ArtifactCard.module.css(123 行,零引用),同步清理 barrel 与验收文档。#2154 前端遗留候选 B(round-38 探索取证)。先例:#2155 死 namespace 清理。

取证

Scope(-6 文件 +4 行)

  • app/shared/src/ui/ArtifactVersionTimeline.{tsx,module.css,test.tsx,stories.tsx}
  • app/shared/src/ui/ArtifactCard.module.css
  • 删 barrel 2 行;删 docs/component-acceptance/ui-core.md 验收段(11 行)与 docs/component-acceptance.md 索引 1 行
  • 保留:docs/reference/ux-benchmark-2026-08.md:103 的 ArtifactCard 提及(带日期的历史存档快照,非活文档)

验证证据(本地)

  • shared typecheck + workbench typecheck ✅(barrel 删导出无消费者,tsc 证明)
  • shared vitest 全量 154 文件 / 2749 tests 全绿(较基线 -7 = 被删组件自身测试)
  • 6 项 verifier(doc-ssot/ci-gates/i18n-deadkeys/openapi-contract/migration-idempotency/i18n-terminology)+ git diff --check

风险

纯删除无运行时消费者;回退 = revert。若产品后续要接 artifact 版本历史面,从 git 历史恢复并接线 ProjectsPage(已在 #2154 登记为决策项)。

- 删 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
DeliciousBuding merged commit 4dc2623 into master Sep 1, 2026
40 checks passed
@DeliciousBuding
DeliciousBuding deleted the chore/cleanup-round-41 branch September 1, 2026 16:50
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant