chore(shared): 删除零消费表单原语 FormField/Textarea/Checkbox/Radio,族文档如实化 - #2187
Merged
Conversation
- 删 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
force-pushed
the
chore/cleanup-round-42
branch
from
September 1, 2026 17:09
08bb1ab to
0723a95
Compare
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
删除
shared/ui表单族中零生产消费的 4 个原语(FormField/Textarea/Checkbox/Radio,共 16 文件 + barrel 8 行),把ui-core.md表单族段从「本族为表单输入的唯一实现」改写为如实状态并登记 adoption debt。#2154 前端遗留候选 A(round-38 探索取证)。先例:#2155 死 namespace、#2186 死组件族。取证
Input.test.tsx一个包装用例 +Input.stories.tsx一个 story(均已改造)。<input>+ 1 处裸<textarea>(AddContactModal / StartConversationModal / ProjectChromeViews 等)——[P2] 设计系统补全与文档漂移修复包(前端审计第二轮) #1827 建族时声称迁移 19 处,实际只落地 Input/Switch。Scope
app/shared/src/ui/{FormField,Textarea,Checkbox,Radio}.{tsx,module.css,test.tsx,stories.tsx}(16 文件)Input.test.tsx删 1 用例;Input.stories.tsxInFormField→WithLabel(原生 label);Input.tsx注释去陈旧引用docs/component-acceptance/ui-core.md表单族段重写(头+段+删 4 原语验收行);docs/component-acceptance.md索引同步验证证据(本地)
git diff --check✅风险与后续
纯删除(唯一活引用已改造);回退 = revert。后续项(#2154 登记):22 裸 input + 1 裸 textarea 的 adoption——属产品/设计排期,不在本轮。