From 5824e8b98a5422f6572191cf837d19625019a084 Mon Sep 17 00:00:00 2001 From: Aleksander Grygier Date: Wed, 11 Feb 2026 12:11:20 +0100 Subject: [PATCH] refactor: Consolidate MCP resource attachment components --- .../ChatAttachmentMcpResourceStored.svelte | 69 ------------------- .../ChatAttachmentsList.svelte | 49 ++++++++----- .../src/lib/components/app/chat/index.ts | 6 -- 3 files changed, 32 insertions(+), 92 deletions(-) delete mode 100644 tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentMcpResourceStored.svelte diff --git a/tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentMcpResourceStored.svelte b/tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentMcpResourceStored.svelte deleted file mode 100644 index e8e28b8072..0000000000 --- a/tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentMcpResourceStored.svelte +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - -
- {#if favicon} - { - (e.currentTarget as HTMLImageElement).style.display = 'none'; - }} - /> - {/if} - - - {serverName} - -
-
-
diff --git a/tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList.svelte b/tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList.svelte index edeb988995..a3d37b42a3 100644 --- a/tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList.svelte +++ b/tools/server/webui/src/lib/components/app/chat/ChatAttachments/ChatAttachmentsList.svelte @@ -1,7 +1,7 @@