Commit Graph

89 Commits

Author SHA1 Message Date
bcfe39b32c refactor(theme): 将主题逻辑提取到可复用组合式函数
- 从 App.vue 中移除内联主题管理代码
- 创建 useTheme 组合式函数集中处理主题状态、切换和系统主题监听
- 在 TopNav 组件中集成主题切换按钮和样式
- 保持原有功能不变,仅重构代码结构以提高可维护性
2026-03-18 22:35:33 +08:00
f8094b40b7 feat: update UI components and add benchmark analysis feature
- Disable close button in Toaster notifications
- Add padding to TopNav header and UserDropdown username span
- Import vue-sonner CSS for toast notifications
- Update Agents page header with gradient background
- Add benchmark_analyze business type to Profile view
- Replace storage space stat card with redeem code functionality
- Reorder profile statistics cards and update their content
2026-03-18 22:30:39 +08:00
69e96412ff 优化 2026-03-17 23:41:49 +08:00
f0ecab4350 优化 2026-03-17 00:46:51 +08:00
4a5fdd3961 feat: 样式升级 2026-03-16 23:54:01 +08:00
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
8fdce94c47 feat: 优化 2026-03-16 01:13:32 +08:00
6639a751bc feat: 优化 2026-03-16 00:35:45 +08:00
c8c62a1427 feat: 优化 2026-03-15 23:54:45 +08:00
6fa977b229 优化 2026-03-15 23:40:31 +08:00
a546774e0a style: shadcn 2026-03-15 23:31:45 +08:00
790f1751f2 feat:z 优化 2026-03-15 21:50:13 +08:00
711e412afb refactor(StyleSelector): simplify component by removing agent integration and using unified prompt list
Removed separate user prompts and favorite agents groups, replaced with a single unified list from /ai/user-prompt/my-list endpoint. Removed agent-related functionality including API calls, filtering logic, and type handling since the component now only works with user prompts. Simplified the UI structure and filtering mechanism to work with the new data model.
2026-03-15 21:47:33 +08:00
1da5d283a9 feat: enhance prompt selector with category tags and improve benchmark task processing
Add visual indicators for prompt categories and source types in the prompt selector component, and refactor benchmark task execution to use Dify streaming analysis with proper error handling and text extraction from Alibaba Cloud transcription results.
2026-03-15 21:38:14 +08:00
4ab1efbc12 feat: 功能优化 2026-03-15 15:36:29 +08:00
29e11056dc 优化 2026-03-11 01:29:43 +08:00
a12cb5e75a 优化 2026-03-11 00:42:46 +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
27d1c53b49 feat(material): remove video cover extraction and simplify upload API
- Remove extractVideoCoverOptional function and related video cover processing
- Update MaterialService.uploadFile method signature to remove coverBase64 parameter
- Simplify uploadAndIdentifyVideo function by removing cover generation logic
- Remove loading indicator from VideoSelector component during video preview
- Add presignGetUrlWithProcess method to FileClient interface for processed file URLs
- Add logging support to S3FileClient implementation
2026-03-04 22:37:31 +08:00
2d7ba035ca 修复 2026-03-04 19:00:06 +08:00
7f5d9d9f19 feat: 优化 2026-03-04 02:13:16 +08:00
7b32191987 feat: enhance sidebar quota display with progress bar and improve upload modal UX
- Replace percentage-based quota with point-based display in sidebar
- Add visual progress bar for remaining quota with gradient styling
- Implement upload progress tracking in material upload modal
- Add loading indicators and progress information during file uploads
- Prevent modal interaction while uploading by disabling close controls
- Show current upload status including file index and completion percentage
2026-03-03 22:15:06 +08:00
2c8664b41e feat: 优化 2026-03-03 04:18:19 +08:00
6ecc82b675 优化 2026-03-02 02:59:47 +08:00
ce3d529f80 feat: 优化 2026-03-02 01:28:46 +08:00
9c4d39e29d 优化 2026-02-26 21:22:32 +08:00
b76e3ff47d feat: 优化 2026-02-26 18:52:09 +08:00
116e363e83 样式整改 2026-02-25 23:44:01 +08:00
c8518a381f fix: 前端优化 2026-02-25 21:57:05 +08:00
79a5c1f3ed feat: 配额优化 2026-02-25 21:30:24 +08:00
2e93211697 dify历史记录 2026-02-25 18:21:25 +08:00
0efca50be3 语音优化 2026-02-25 16:28:31 +08:00
cfaf8cab49 feat: 优化 2026-02-24 23:58:17 +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
07388db632 优化 2026-02-23 22:29:43 +08:00
5bd74a4628 feat: 功能优化 2026-02-23 20:36:50 +08:00
c02f5d36c8 优化 2026-02-23 19:49:12 +08:00
6eb2c96506 feat: 优化 2026-02-23 15:42:55 +08:00
af23c8779e 增加个人中心 2026-02-23 02:27:32 +08:00
5b3047f675 优化 2026-02-23 02:05:48 +08:00
c8598d3dea 优化 2026-02-23 01:04:00 +08:00
ff11f04b43 feat: 优化 2026-02-22 21:36:47 +08:00
a03e14492b 修复 2026-02-12 23:35:39 +08:00
a704b26b26 优化 2026-02-12 01:06:29 +08:00