diff --git a/surfsense_web/app/globals.css b/surfsense_web/app/globals.css index 7324ffeb3..cf6f48437 100644 --- a/surfsense_web/app/globals.css +++ b/surfsense_web/app/globals.css @@ -113,6 +113,8 @@ --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); + --radius-2xl: calc(var(--radius) + 8px); + --radius-3xl: calc(var(--radius) + 12px); --color-sidebar: var(--sidebar); --color-sidebar-foreground: var(--sidebar-foreground); --color-sidebar-primary: var(--sidebar-primary); diff --git a/surfsense_web/components/new-chat/chat-share-button.tsx b/surfsense_web/components/new-chat/chat-share-button.tsx index e0b28f2a1..bcb1f324c 100644 --- a/surfsense_web/components/new-chat/chat-share-button.tsx +++ b/surfsense_web/components/new-chat/chat-share-button.tsx @@ -8,6 +8,7 @@ import { toast } from "sonner"; import { currentThreadAtom, setThreadVisibilityAtom } from "@/atoms/chat/current-thread.atom"; import { Button } from "@/components/ui/button"; import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"; +import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"; import { type ChatVisibility, type ThreadRecord, @@ -99,34 +100,36 @@ export function ChatShareButton({ thread, onVisibilityChange, className }: ChatS return ( - - - + + + + + + + Share settings +
{/* Updating overlay */} {isUpdating && ( -
+
Updating @@ -169,11 +172,6 @@ export function ChatShareButton({ thread, onVisibilityChange, className }: ChatS {option.label} - {isSelected && ( - - Current - - )}

{option.description} diff --git a/surfsense_web/components/new-chat/model-selector.tsx b/surfsense_web/components/new-chat/model-selector.tsx index 48141ed64..34abf251d 100644 --- a/surfsense_web/components/new-chat/model-selector.tsx +++ b/surfsense_web/components/new-chat/model-selector.tsx @@ -170,31 +170,27 @@ export function ModelSelector({ onEdit, onAddNew, className }: ModelSelectorProp {/* Switching overlay */} {isSwitching && ( -

+
Switching model... diff --git a/surfsense_web/components/new-chat/source-detail-panel.tsx b/surfsense_web/components/new-chat/source-detail-panel.tsx index df2809fdb..158a8ea63 100644 --- a/surfsense_web/components/new-chat/source-detail-panel.tsx +++ b/surfsense_web/components/new-chat/source-detail-panel.tsx @@ -4,7 +4,6 @@ import { useQuery } from "@tanstack/react-query"; import { BookOpen, ChevronDown, - ChevronUp, ExternalLink, FileText, Hash, @@ -387,7 +386,7 @@ export function SourceDetailPanel({
-

Loading document...

+

Loading document

)} diff --git a/surfsense_web/components/notifications/NotificationButton.tsx b/surfsense_web/components/notifications/NotificationButton.tsx index acecc06af..8596c9148 100644 --- a/surfsense_web/components/notifications/NotificationButton.tsx +++ b/surfsense_web/components/notifications/NotificationButton.tsx @@ -31,7 +31,7 @@ export function NotificationButton() { -