You've already forked DataMate
refactor(menu): 调整菜单结构并更新数据管理标题
- 将数据管理菜单项标题从"数据管理"改为"数集管理" - 重新排列菜单项顺序,将数据标注和内容生成功能移至数据管理后 - 数据集统计页面标题从"数据管理"更新为"数据集统计" - 移除重复的数据标注和内容生成菜单配置项
This commit is contained in:
@@ -329,7 +329,7 @@ export default function DatasetManagementPage() {
|
|||||||
<div className="gap-4 h-full flex flex-col">
|
<div className="gap-4 h-full flex flex-col">
|
||||||
{/* Header */}
|
{/* Header */}
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<h1 className="text-xl font-bold">数据管理</h1>
|
<h1 className="text-xl font-bold">数据集统计</h1>
|
||||||
<div className="flex gap-2 items-center">
|
<div className="flex gap-2 items-center">
|
||||||
{/* tasks */}
|
{/* tasks */}
|
||||||
<TagManager
|
<TagManager
|
||||||
|
|||||||
@@ -24,11 +24,25 @@ export const menuItems = [
|
|||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
id: "management",
|
id: "management",
|
||||||
title: "数据管理",
|
title: "数集管理",
|
||||||
icon: FolderOpen,
|
icon: FolderOpen,
|
||||||
description: "创建、导入和管理数据集",
|
description: "创建、导入和管理数据集",
|
||||||
color: "bg-blue-500",
|
color: "bg-blue-500",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "annotation",
|
||||||
|
title: "数据标注",
|
||||||
|
icon: Tag,
|
||||||
|
description: "对数据进行标注和标记",
|
||||||
|
color: "bg-green-500",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "content-generation",
|
||||||
|
title: "内容生成",
|
||||||
|
icon: Sparkles,
|
||||||
|
description: "智能内容生成与创作",
|
||||||
|
color: "bg-purple-500",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "knowledge-management",
|
id: "knowledge-management",
|
||||||
title: "知识管理",
|
title: "知识管理",
|
||||||
@@ -43,20 +57,6 @@ export const menuItems = [
|
|||||||
// description: "数据清洗和预处理",
|
// description: "数据清洗和预处理",
|
||||||
// color: "bg-purple-500",
|
// color: "bg-purple-500",
|
||||||
// },
|
// },
|
||||||
{
|
|
||||||
id: "annotation",
|
|
||||||
title: "数据标注",
|
|
||||||
icon: Tag,
|
|
||||||
description: "对数据进行标注和标记",
|
|
||||||
color: "bg-green-500",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: "content-generation",
|
|
||||||
title: "内容生成",
|
|
||||||
icon: Sparkles,
|
|
||||||
description: "智能内容生成与创作",
|
|
||||||
color: "bg-purple-500",
|
|
||||||
},
|
|
||||||
// {
|
// {
|
||||||
// id: "synthesis",
|
// id: "synthesis",
|
||||||
// title: "数据合成",
|
// title: "数据合成",
|
||||||
|
|||||||
Reference in New Issue
Block a user