From bc700e24171f3f5fa165f3167317668eafb3070e Mon Sep 17 00:00:00 2001 From: Aleksander Grygier Date: Mon, 28 Sep 2026 16:23:38 +0200 Subject: [PATCH] ui : move mcp servers to the sidebar rail The add menu keeps to what it attaches to the conversation, so the MCP servers dialog moves to the sidebar rail and its menu entries and the form callback they used go with it. Assisted-by: pi:llama.cpp/DeepSeek-V4.1-Flash --- tools/ui/src/lib/enums/ui.enums.ts | 1 + tools/ui/src/lib/types/chat.d.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ui/src/lib/enums/ui.enums.ts b/tools/ui/src/lib/enums/ui.enums.ts index 20cfe47ffa..b190054894 100644 --- a/tools/ui/src/lib/enums/ui.enums.ts +++ b/tools/ui/src/lib/enums/ui.enums.ts @@ -23,6 +23,7 @@ export enum ScrollCarouselVariant { * Sidebar icon strip actions handled directly by the sidebar. */ export enum SidebarAction { + DISCOVER_MODELS = 'discover-models', MANAGE_MODELS = 'manage-models', MCP = 'mcp', NEW_CHAT = 'new-chat', diff --git a/tools/ui/src/lib/types/chat.d.ts b/tools/ui/src/lib/types/chat.d.ts index 835f2081d2..7950f0d240 100644 --- a/tools/ui/src/lib/types/chat.d.ts +++ b/tools/ui/src/lib/types/chat.d.ts @@ -334,6 +334,5 @@ export interface ChatFormActionsContext { readonly hasVideoModality: boolean; readonly hasVisionModality: boolean; onFileUpload?: () => void; - onMcpSettingsClick?: () => void; onSystemPromptClick?: () => void; }