From 4281e6f15d9b558f228f7a5ca79c44c2d1c20f81 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Thu, 15 Jan 2026 22:44:02 +0530 Subject: [PATCH] refactor: update ActiveConnectorsTab and ChatShareButton components for improved UI - Adjusted styling in ActiveConnectorsTab to enhance visual clarity by modifying the Cable component's class. - Removed unnecessary elements from ChatShareButton to streamline the UI and updated the loading text for consistency. --- .../connector-popup/tabs/active-connectors-tab.tsx | 9 +-------- .../components/new-chat/chat-share-button.tsx | 13 +------------ 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/surfsense_web/components/assistant-ui/connector-popup/tabs/active-connectors-tab.tsx b/surfsense_web/components/assistant-ui/connector-popup/tabs/active-connectors-tab.tsx index 4e4de39a4..9fab006e5 100644 --- a/surfsense_web/components/assistant-ui/connector-popup/tabs/active-connectors-tab.tsx +++ b/surfsense_web/components/assistant-ui/connector-popup/tabs/active-connectors-tab.tsx @@ -313,19 +313,12 @@ export const ActiveConnectorsTab: FC = ({ ) : (
- +

No active sources

Connect your first service to start searching across all your data.

-
)} diff --git a/surfsense_web/components/new-chat/chat-share-button.tsx b/surfsense_web/components/new-chat/chat-share-button.tsx index 56187bff5..5b49212dc 100644 --- a/surfsense_web/components/new-chat/chat-share-button.tsx +++ b/surfsense_web/components/new-chat/chat-share-button.tsx @@ -111,24 +111,13 @@ export function ChatShareButton({ thread, onVisibilityChange, className }: ChatS align="end" sideOffset={8} > -
-
-
-

Share Chat

-

- Control who can access this conversation -

-
-
-
-
{/* Updating overlay */} {isUpdating && (
- Updating... + Updating
)}