From 66bd7e6fc300682810b1daca3d8bce60828dd5cb Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Mon, 1 Jun 2026 20:21:21 -0700 Subject: [PATCH 1/2] refactor(chat): enhance chat example prompts layout and accessibility - Updated TabsContent component to include focus-visible outline for better accessibility. - Adjusted ScrollArea height to improve visual consistency and responsiveness. - Increased padding in the list for better spacing and usability. --- .../components/new-chat/chat-example-prompts.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/surfsense_web/components/new-chat/chat-example-prompts.tsx b/surfsense_web/components/new-chat/chat-example-prompts.tsx index 95d7a0eaa..4a204386a 100644 --- a/surfsense_web/components/new-chat/chat-example-prompts.tsx +++ b/surfsense_web/components/new-chat/chat-example-prompts.tsx @@ -57,9 +57,13 @@ export function ChatExamplePrompts({ onSelect }: ChatExamplePromptsProps) { {CHAT_EXAMPLE_CATEGORIES.map((category) => ( - - -
    + + +
      {category.prompts.map((prompt) => (
    • From 087057176533bcf80e0682f74e89a1d38bc035ad Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Mon, 1 Jun 2026 20:34:18 -0700 Subject: [PATCH 2/2] refactor(thread): improve layout and responsiveness of welcome message - Adjusted the structure of the ThreadWelcome component to enhance layout consistency across different screen sizes. - Updated CSS classes to ensure proper alignment and spacing for the welcome message and composer, improving overall user experience. --- surfsense_web/components/assistant-ui/thread.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/surfsense_web/components/assistant-ui/thread.tsx b/surfsense_web/components/assistant-ui/thread.tsx index 5748b441c..dbc831b2f 100644 --- a/surfsense_web/components/assistant-ui/thread.tsx +++ b/surfsense_web/components/assistant-ui/thread.tsx @@ -254,13 +254,15 @@ const ThreadWelcome: FC = () => { return (
      -
      -

      - {greeting} -

      -
      -
      - +
      +
      +

      + {greeting} +

      +
      +
      + +
      );