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
This commit is contained in:
Aleksander Grygier
2026-10-01 16:51:16 +02:00
parent c9b22114ab
commit a8ce4abecb
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -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',
-1
View File
@@ -334,6 +334,5 @@ export interface ChatFormActionsContext {
readonly hasVideoModality: boolean;
readonly hasVisionModality: boolean;
onFileUpload?: () => void;
onMcpSettingsClick?: () => void;
onSystemPromptClick?: () => void;
}