From 3703487c593c6ff8442976d0a0939d8437e37d61 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Tue, 23 Dec 2025 00:26:45 +0530 Subject: [PATCH] style: improve connector display and layout in the UI for better readability and user interaction --- .../components/assistant-ui/thread.tsx | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/surfsense_web/components/assistant-ui/thread.tsx b/surfsense_web/components/assistant-ui/thread.tsx index 30e2a42d9..aaf35c329 100644 --- a/surfsense_web/components/assistant-ui/thread.tsx +++ b/surfsense_web/components/assistant-ui/thread.tsx @@ -381,27 +381,36 @@ const ConnectorIndicator: FC = () => { onMouseLeave={handleMouseLeave} > {hasConnectors ? ( -
-

- Connected Sources ({connectors.length}) -

+
+
+

+ Connected Sources +

+ + {connectors.length} + +
{connectors.map((connector) => (
- {getConnectorIcon(connector.connector_type, "size-3")} + {getConnectorIcon(connector.connector_type, "size-3.5")} {connector.name}
))}
- - Manage connectors → - +
+ + + Manage connectors + + +
) : (