Commit Graph

15 Commits

Author SHA1 Message Date
4d2c9e546c refactor(menu): 调整菜单结构并更新数据管理标题
- 将数据管理菜单项标题从"数据管理"改为"数集管理"
- 重新排列菜单项顺序,将数据标注和内容生成功能移至数据管理后
- 数据集统计页面标题从"数据管理"更新为"数据集统计"
- 移除重复的数据标注和内容生成菜单配置项
2026-02-01 21:40:21 +08:00
da6c7860cb refactor(routes): 重构路由配置和菜单结构
- 更新了路由定义文件以支持新的导航需求
- 调整了菜单组件的数据结构和渲染逻辑
- 统一了路由路径和菜单项的命名规范
- 优化了路由懒加载配置提升性能
- 修改了菜单权限验证机制
- 清理了废弃的路由配置项
2026-01-21 11:47:54 +08:00
ecec69422d Revert "feat(layout): 添加知识管理菜单项并优化侧边栏显示"
This reverts commit 2c7b027488.
2026-01-21 10:31:23 +08:00
2c7b027488 feat(layout): 添加知识管理菜单项并优化侧边栏显示
- 在菜单中新增了知识管理功能入口,支持数据标注和标记
- 移除了侧边栏中任务中心按钮的文本内容,优化界面显示
- 配置了新的绿色主题色用于知识管理模块标识
2026-01-21 09:15:58 +08:00
8d6b4a4265 refactor(home): 移除外部链接跳转功能并优化路由导航
- 移除百度链接跳转功能,改为内部路由导航到内容生成页面
- 删除无用的 isChecking 状态和 handleChatClick 处理函数
- 移除菜单项中的 externalLink 属性配置
- 简化侧边栏点击事件处理逻辑,移除外部链接检查代码
- 添加内容生成页面的路由配置
2026-01-20 10:34:13 +08:00
fa3d02ea83 feat(layout): 添加内容生成菜单项并支持外部链接跳转
- 在侧边栏菜单中新增内容生成选项
- 集成 Sparkles 图标用于内容生成功能
- 为菜单项添加外部链接跳转功能
- 实现点击外部链接时在新标签页打开
- 更新菜单配置以支持外部链接属性
2026-01-19 19:50:04 +08:00
efafe82a33 refactor(menu): 移除未使用的图标导入
- 注释掉 Shuffle 图标导入
- 注释掉 BarChart3 图标导入
- 注释掉 Database 图标导入
- 注释掉 Store 图标导入
- 注释掉 Merge 图标导入
- 保留其他必要的图标导入
2026-01-19 18:25:48 +08:00
d568de7d45 feat(layout): 隐藏数据归集和数据清洗菜单项并添加首页路由
- 注释掉数据归集菜单项
- 注释掉数据清洗菜单项
- 注释掉算子市场菜单项
- 注释掉侧边栏中的任务中心弹窗组件
- 添加首页路由配置
- 将根路径重定向改为首页组件渲染
2026-01-19 18:23:38 +08:00
acc284761f feat(menu): 移除数据合成菜单功能
- 注释掉数据合成主菜单项
- 移除合成任务子菜单
- 移除配比任务子菜单
- 保留数据评估菜单功能
2026-01-19 13:21:53 +08:00
4a986b5466 feat(menu): 隐藏数据评估菜单项
- 注释掉评估相关菜单配置项
- 移除数据评估功能入口
- 保留算子市场等其他菜单项功能
2026-01-19 10:17:36 +08:00
9356ee51ad feat(menu): 移除知识库功能入口和Webhook配置
- 从菜单中移除知识生成相关的BookOpen图标
- 删除知识库功能的导航项及其相关配置
- 移除Webhook配置页面和对应的菜单选项
- 简化设置页面的导入依赖和组件结构
2026-01-18 18:01:19 +08:00
Kecheng Sha
0df7a872e4 Revert "feat: fix the problem in the Operator Market frontend pages" 2025-12-29 12:00:37 +08:00
root
844add27ea feat: fix the problem in the Operator Market frontend pages 2025-12-29 11:38:47 +08:00
chenghh-9609
d89811f238 add knowledgebase page (#39)
* feat: Update site name to DataMate and refine text for AI data processing

* feat: Refactor settings page and implement model access functionality

- Created a new ModelAccess component for managing model configurations.
- Removed the old Settings component and replaced it with a new SettingsPage component that integrates ModelAccess, SystemConfig, and WebhookConfig.
- Added SystemConfig component for managing system settings.
- Implemented WebhookConfig component for managing webhook configurations.
- Updated API functions for model management in settings.apis.ts.
- Adjusted routing to point to the new SettingsPage component.

* feat: Implement Data Collection Page with Task Management and Execution Log

- Created DataCollectionPage component to manage data collection tasks.
- Added TaskManagement and ExecutionLog components for task handling and logging.
- Integrated task operations including start, stop, edit, and delete functionalities.
- Implemented filtering and searching capabilities in task management.
- Introduced SimpleCronScheduler for scheduling tasks with cron expressions.
- Updated CreateTask component to utilize new scheduling and template features.
- Enhanced BasicInformation component to conditionally render fields based on visibility settings.
- Refactored ImportConfiguration component to remove NAS import section.

* feat: Update task creation API endpoint and enhance task creation form with new fields and validation

* Refactor file upload and operator management components

- Removed unnecessary console logs from file download and export functions.
- Added size property to TaskItem interface for better task management.
- Simplified TaskUpload component by utilizing useFileSliceUpload hook for file upload logic.
- Enhanced OperatorPluginCreate component to handle file uploads and parsing more efficiently.
- Updated ConfigureStep component to use Ant Design Form for better data handling and validation.
- Improved PreviewStep component to navigate back to the operator market.
- Added support for additional file types in UploadStep component.
- Implemented delete operator functionality in OperatorMarketPage with confirmation prompts.
- Cleaned up unused API functions in operator.api.ts to streamline the codebase.
- Fixed number formatting utility to handle zero values correctly.

* Refactor Knowledge Generation to Knowledge Base

- Created new API service for Knowledge Base operations including querying, creating, updating, and deleting knowledge bases and files.
- Added constants for Knowledge Base status and type mappings.
- Defined models for Knowledge Base and related files.
- Removed obsolete Knowledge Base creation and home components, replacing them with new implementations under the Knowledge Base structure.
- Updated routing to reflect the new Knowledge Base paths.
- Adjusted menu items to align with the new Knowledge Base terminology.
- Modified ModelAccess interface to include modelName and type properties.
2025-10-30 21:33:33 +08:00
Dallas98
1c97afed7d init datamate 2025-10-21 23:00:48 +08:00