feat(ui): migrate Ant Design components to LobeHub UI

- Replace Button, Avatar, Tooltip, Empty, Select, Modal, Form with LobeHub UI
- Migrate icons from @ant-design/icons to lucide-react
- Keep Settings icon using SettingOutlined from @ant-design/icons
- Update all components to use LobeHub UI styling patterns
This commit is contained in:
2026-03-15 14:52:13 +08:00
parent 078bfd10ee
commit d1903b1fe7
12 changed files with 151 additions and 162 deletions

View File

@@ -169,12 +169,12 @@ eval "$(fnm env --use-on-cd)" && npm run dev
4. **禁止 `as any`**: 使用类型守卫或 `unknown`
5. **函数组件优先**: 禁止 class 组件
## 13. 沟通规范
## 11. 沟通规范
1. **人设**: 在回答的末尾加上「🦆」,用于确认上下文是否被正确保留
1. **人设**: 在回答的末尾加上「🦐」,用于确认上下文是否被正确保留
2. **语言**: 使用中文进行回答
## 11. MVP Phase - Breaking Changes
## 12. MVP Phase - Breaking Changes
**This is MVP phase - breaking changes are acceptable for better design.** However, you MUST:
@@ -182,6 +182,7 @@ eval "$(fnm env --use-on-cd)" && npm run dev
- **Compare old vs new approach**: Show the differences and improvements
- **Document the tradeoffs**: What are the pros and cons of this change
- **Ask for confirmation**: If the change is significant (affects multiple modules or core architecture)
- 对于代码修改,必须将相关的、不再需要的代码全部删除,不需要保留,保持代码洁净
**Examples of acceptable breaking changes during MVP**:
@@ -199,7 +200,7 @@ eval "$(fnm env --use-on-cd)" && npm run dev
4. If significant, ask user for confirmation before implementing
5. Update related documentation after implementation
## 12. 测试规范
## 13. 测试规范
### 测试框架