fix(webui): use consistent chat names for scheduled tasks

This commit is contained in:
Xubin Ren committed 2026-10-07 01:12:23 +08:00
1 parent 61ab136e58
commit 9a5542bc15
17 files changed
+138 -27

No files matched your search

@@ -2,7 +2,7 @@ import { SettingsPage } from "@/components/settings/SettingsPage";
import type { SettingsExitGuard, SettingsSectionKey } from "@/components/settings/contracts";
import { useSettingsController } from "@/components/settings/useSettingsController";
import type { SendAttachment, SendOptions } from "@/hooks/useNanobotStream";
import type { SettingsPayload, SkillSummary } from "@/lib/types";
import type { ChatSummary, SettingsPayload, SkillSummary } from "@/lib/types";
export type { SettingsSectionKey } from "@/components/settings/contracts";
@@ -25,6 +25,7 @@ interface SettingsViewProps {
modelPreset?: string | null,
) => boolean | void | Promise<boolean | void>;
titleOverrides?: Record<string, string>;
sessions?: ChatSummary[];
onSectionChange?: (section: SettingsSectionKey) => void;
onLogout?: () => void;
onRestart?: () => void;
@@ -47,6 +48,7 @@ export function SettingsView({
skills = [],
onStartAutomationChat,
titleOverrides,
sessions,
onSectionChange,
onLogout,
onRestart,
@@ -76,6 +78,7 @@ export function SettingsView({
skills={skills}
onStartAutomationChat={onStartAutomationChat}
titleOverrides={titleOverrides}
sessions={sessions}
onLogout={onLogout}
isRestarting={isRestarting}
hostChromeInset={hostChromeInset}