diff --git a/apps/web/app/api/tasks.ts b/apps/web/app/api/tasks.ts index b654a292..44b3d5a0 100644 --- a/apps/web/app/api/tasks.ts +++ b/apps/web/app/api/tasks.ts @@ -110,7 +110,7 @@ const TASK_STATUS_TEXT: Record = { const TASK_KIND_LABEL: Partial> = { submitDownload: "提交下载", - verifyAndImport: "核验入库", + verifyAndImport: "核验整理", evaluateAcquisition: "评估候选", cleanupDownloadCache: "清理缓存", resolveDecision: "处理待处理事项", diff --git a/apps/web/app/components/console/nav.test.ts b/apps/web/app/components/console/nav.test.ts index b5037f67..6aa25a87 100644 --- a/apps/web/app/components/console/nav.test.ts +++ b/apps/web/app/components/console/nav.test.ts @@ -88,7 +88,7 @@ describe("控制台导航", () => { }); it("settingsPath 只认新分区名", () => { - expect(settingsPath("automation", "cache")).toBe("/console/settings#automation/cache"); + expect(settingsPath("downloaders", "cache")).toBe("/console/settings#downloaders/cache"); expect(settingsPath("agent")).toBe("/console/settings#agent"); }); }); diff --git a/apps/web/app/components/console/nav.ts b/apps/web/app/components/console/nav.ts index ba8f07b3..e5b63e39 100644 --- a/apps/web/app/components/console/nav.ts +++ b/apps/web/app/components/console/nav.ts @@ -51,7 +51,7 @@ export const NAV_GROUPS: NavGroup[] = [ to: "/console", label: "首页", icon: House, - description: "在忙什么、要我处理什么、最近入库了什么", + description: "在忙什么、要我处理什么、最近整理了什么", }, { to: "/console/agent", @@ -139,15 +139,18 @@ export const NAV_ITEMS = NAV_GROUPS.flatMap((g) => g.items); /** 设置页深链(IA-2):`/console/settings#分区[/节]`。调用方只认新分区名 */ export type SettingsSection = - | "automation" - | "sites" | "downloaders" - | "library" | "media-servers" + | "sites" | "metadata" + | "acquire" + | "library" + | "organize" | "agent" - | "api-keys" - | "account"; + | "system" + | "cache" + | "account" + | "interface"; export function settingsPath(section: SettingsSection, anchor?: string): string { return `${CONSOLE_BASE}/settings#${section}${anchor ? `/${anchor}` : ""}`; } diff --git a/apps/web/app/components/downloads/business-tasks.tsx b/apps/web/app/components/downloads/business-tasks.tsx index 3b02d5fc..941a58ad 100644 --- a/apps/web/app/components/downloads/business-tasks.tsx +++ b/apps/web/app/components/downloads/business-tasks.tsx @@ -28,7 +28,7 @@ export const TASK_KIND_LABEL: Record = { resolveObservation: "识别资源", evaluateAcquisition: "评估候选", submitDownload: "提交下载", - verifyAndImport: "核验入库", + verifyAndImport: "核验整理", refreshMetadata: "刷新元数据", reconcileLibrary: "文件核对", cleanupDownloadCache: "清理缓存", @@ -246,7 +246,7 @@ export function BusinessTasks() { empty={{ icon: ListTodo, title: f.active ? "没有符合筛选的任务" : "还没有业务任务", - description: f.active ? undefined : "提交下载、核验入库、清理缓存、对账等后台任务会出现在这里。", + description: f.active ? undefined : "提交下载、核验整理、清理缓存、对账等后台任务会出现在这里。", }} /> 下载盘