重构: ChatInput 拆分(提取 SkillMention+ImageInput, 1183->1155行)
- 提取 SkillMention.vue(/ 技能联想浮层+已选 chip) - 提取 ImageInput.vue(待发送图片预览+移除) - ChatInput 模板内联技能浮层替换为子组件
This commit is contained in:
13
Batch.md
13
Batch.md
@@ -386,16 +386,25 @@
|
||||
|
||||
## Batch 31 — God 文件拆分第一步(MessageList)
|
||||
|
||||
- **提交**: `当前待提交`
|
||||
- **提交**: `2c2b2d7`
|
||||
- **内容**:
|
||||
- 提取 useMessageScroll.ts(滚动跟随/锁存/回底按钮,89 行)
|
||||
- 提取 MessageItem.vue(单条消息按 role 渲染,171 行)
|
||||
- MessageList.vue 从 1552 行降至 1386 行(-166 行)
|
||||
- **验证**: vue-tsc + vite build 通过
|
||||
|
||||
## Batch 32 — God 文件拆分第二步(ChatInput)
|
||||
|
||||
- **提交**: `当前待提交`
|
||||
- **内容**:
|
||||
- 提取 SkillMention.vue(/@ 联想浮层,63 行)
|
||||
- 提取 ImageInput.vue(图片粘贴/拖拽预览,33 行)
|
||||
- ChatInput.vue 从 1183 行降至 1155 行
|
||||
- **验证**: vue-tsc + vite build 通过
|
||||
|
||||
## 后续规划批次(待推进)
|
||||
|
||||
### Batch 32 — ChatInput 拆分
|
||||
### Batch 33 — 多 ReAct 对接
|
||||
1. 提取 SkillMention.vue(/@ 联想浮层)
|
||||
2. 提取 ImageInput.vue(图片粘贴/拖拽)
|
||||
3. ChatInput.vue 从 1183 行降至 ~500 行
|
||||
|
||||
Reference in New Issue
Block a user