Commit 0bff09ec by 黄南光

新增项目知识库

1 parent 90acd053
"use client";
import NotesPanel from "@/components/notes/NotesPanel";
/** 知识录入页:登录后的默认落地页,侧边栏「知识录入」入口。 */
export default function NotesPage() {
return <NotesPanel />;
}
/**
* 采集笔记枚举镜像(与后端 src/api/routes/notes.py 的 NOTE_CATEGORIES / NOTE_STATUSES 一致)。
*/
export const NoteCategoryLabel: Record<string, string> = {
project: "项目知识",
lesson: "经验教训",
sop: "操作流程",
term: "术语概念",
idea: "想法",
pitfall: "踩坑",
reference: "参考链接",
meeting: "会议纪要",
other: "其他",
};
export const NoteCategoryOrder = [
"project", "lesson", "sop", "term", "idea", "pitfall", "reference", "meeting", "other",
] as const;
export const NoteStatusLabel: Record<string, string> = {
draft: "草稿",
pending: "待整理",
archived: "已归档",
};
export const NoteStatusOrder = ["draft", "pending", "archived"] as const;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!