Commit Graph

17 Commits

Author SHA1 Message Date
110fe62404 refactor: replace ant-design components with shadcn/ui and update toast notifications
This commit migrates from Ant Design Vue components to Shadcn/Vue components across multiple files in the web-gold frontend application. Key changes include:

- Replaced ant-design-vue imports with shadcn/ui components (Dialog, Button, Input, etc.)
- Swapped ant-design-vue message/toast system for vue-sonner toast notifications
- Updated icon usage from ant-design icons to lucide icons via @iconify/vue
- Removed unused token refresh logic that was incorrectly implemented client-side
- Applied consistent styling updates to match new component library

The token refresh functionality was removed since it should be handled server-side through axios interceptors rather than client-side intervals.
2026-03-16 02:41:26 +08:00
69835ae990 feat: 优化 2026-03-08 13:55:10 +08:00
52a1094144 feat(kling): add validation error display in timeline panel and update UI components
- Remove unused audio base64 reference and error message in VoiceSelector
- Rename CSS class from 'result-banner' to 'result-inline' and update button styling
- Pass validationError prop from GenerateStep to TimelinePanel
- Add validation error display in TimelinePanel with error state styling
- Update conditional rendering to show either validation error or duration diff
- Add CloseCircleOutlined icon for error status display
2026-03-05 23:43:27 +08:00
dff90abbb4 feat: 功能 2026-03-05 23:21:00 +08:00
9b132082d2 优化 2026-03-05 22:58:31 +08:00
c07a61c424 优化 2026-03-05 21:01:34 +08:00
ce3d529f80 feat: 优化 2026-03-02 01:28:46 +08:00
b76e3ff47d feat: 优化 2026-02-26 18:52:09 +08:00
9388f7d75b 修复 2026-02-24 21:41:05 +08:00
e01bb0bb5f 优化 2026-02-24 01:11:04 +08:00
02a7cf1981 feat: 枚举优化 2026-02-23 23:08:44 +08:00
a1dc4dc5c8 优化 2026-02-11 00:41:25 +08:00
409e976209 功能优化 2026-02-02 23:16:38 +08:00
42567c457b 优化 2026-02-02 22:42:15 +08:00
5cee704132 feat: 优化 2026-02-02 22:36:20 +08:00
ca82e41674 feat: 功能优化 2026-02-01 21:11:29 +08:00
36195ea55a feat: 重构 IdentifyFace.vue 为 Hooks 架构
- 新增 hooks/ 目录,包含三个专用 Hook:
  * useVoiceGeneration - 语音生成和校验逻辑
  * useDigitalHumanGeneration - 数字人视频生成逻辑
  * useIdentifyFaceController - 协调两个子 Hook 的控制器

- 新增 types/identify-face.ts 完整类型定义

- 重构 IdentifyFace.vue 使用 hooks 架构:
  * 视图层与业务逻辑分离
  * 状态管理清晰化
  * 模块解耦,逻辑清晰

- 遵循单一职责原则,每个 Hook 只负责一个领域
- 提升代码可测试性和可维护性
- 支持两种视频素材来源:素材库选择和直接上传
- 实现语音生成优先校验的业务规则

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-28 00:19:17 +08:00