diff --git a/surfsense_web/components/layout/ui/sidebar/AllSharedChatsSidebar.tsx b/surfsense_web/components/layout/ui/sidebar/AllSharedChatsSidebar.tsx
index 843eb13f1..2600d68aa 100644
--- a/surfsense_web/components/layout/ui/sidebar/AllSharedChatsSidebar.tsx
+++ b/surfsense_web/components/layout/ui/sidebar/AllSharedChatsSidebar.tsx
@@ -335,7 +335,10 @@ export function AllSharedChatsSidebar({
{isLoading ? (
{[75, 90, 55, 80, 65, 85].map((titleWidth) => (
-
+
diff --git a/surfsense_web/components/layout/ui/sidebar/NavSection.tsx b/surfsense_web/components/layout/ui/sidebar/NavSection.tsx
index 6b3a4315a..18ff24e4d 100644
--- a/surfsense_web/components/layout/ui/sidebar/NavSection.tsx
+++ b/surfsense_web/components/layout/ui/sidebar/NavSection.tsx
@@ -73,10 +73,10 @@ export function NavSection({ items, onItemClick, isCollapsed = false }: NavSecti
const Icon = item.icon;
const indicator = item.statusIndicator;
- const joyrideAttr =
- item.title === "Inbox" || item.title.toLowerCase().includes("inbox")
- ? { "data-joyride": "inbox-sidebar" }
- : {};
+ const joyrideAttr =
+ item.title === "Inbox" || item.title.toLowerCase().includes("inbox")
+ ? { "data-joyride": "inbox-sidebar" }
+ : {};
if (isCollapsed) {
return (
diff --git a/surfsense_web/components/layout/ui/sidebar/SidebarSection.tsx b/surfsense_web/components/layout/ui/sidebar/SidebarSection.tsx
index 48135ff10..b8ea5e1ee 100644
--- a/surfsense_web/components/layout/ui/sidebar/SidebarSection.tsx
+++ b/surfsense_web/components/layout/ui/sidebar/SidebarSection.tsx
@@ -39,30 +39,34 @@ export function SidebarSection({
className
)}
>
-
-
- {title}
-
-
+
+
+ {title}
+
+
- {action && (
-
- {action}
-
- )}
+ {action && (
+
+ {action}
+
+ )}
- {persistentAction && (
-
{persistentAction}
- )}
-
+ {persistentAction && (
+
{persistentAction}
+ )}
+
diff --git a/surfsense_web/components/new-chat/chat-share-button.tsx b/surfsense_web/components/new-chat/chat-share-button.tsx
index 472dd874c..88c8faeef 100644
--- a/surfsense_web/components/new-chat/chat-share-button.tsx
+++ b/surfsense_web/components/new-chat/chat-share-button.tsx
@@ -4,7 +4,6 @@ import { useQuery, useQueryClient } from "@tanstack/react-query";
import { useAtomValue, useSetAtom } from "jotai";
import { Earth, User, Users } from "lucide-react";
-
import { useCallback, useMemo, useState } from "react";
import { toast } from "sonner";
import { currentThreadAtom, setThreadVisibilityAtom } from "@/atoms/chat/current-thread.atom";
diff --git a/surfsense_web/components/new-chat/model-selector.tsx b/surfsense_web/components/new-chat/model-selector.tsx
index 35bb25062..62e666001 100644
--- a/surfsense_web/components/new-chat/model-selector.tsx
+++ b/surfsense_web/components/new-chat/model-selector.tsx
@@ -237,7 +237,10 @@ export function ModelSelector({
size="sm"
role="combobox"
aria-expanded={open}
- className={cn("h-8 gap-2 px-3 text-sm bg-main-panel hover:bg-accent/50 dark:hover:bg-white/[0.06] border border-border/40 select-none", className)}
+ className={cn(
+ "h-8 gap-2 px-3 text-sm bg-main-panel hover:bg-accent/50 dark:hover:bg-white/[0.06] border border-border/40 select-none",
+ className
+ )}
>
{isLoading ? (
<>
@@ -281,9 +284,7 @@ export function ModelSelector({
)}
>
)}
-
+
diff --git a/surfsense_web/components/public-chat-snapshots/public-chat-snapshot-row.tsx b/surfsense_web/components/public-chat-snapshots/public-chat-snapshot-row.tsx
index 45f6f60ef..d58f7422d 100644
--- a/surfsense_web/components/public-chat-snapshots/public-chat-snapshot-row.tsx
+++ b/surfsense_web/components/public-chat-snapshots/public-chat-snapshot-row.tsx
@@ -58,52 +58,52 @@ export function PublicChatSnapshotRow({
{/* Header: Title + Actions */}
-
-
-
- {snapshot.thread_title}
-
-
-
-
-
-
-
-
- Open link
-
-
- {canDelete && (
+
+
+
+ {snapshot.thread_title}
+
+
+
- Delete
+ Open link
- )}
-
+ {canDelete && (
+
+
+
+
+
+ Delete
+
+
+ )}
+
{/* Message count badge */}
@@ -127,25 +127,25 @@ export function PublicChatSnapshotRow({
{snapshot.public_url}
-
-
-
-
-
- {copied ? "Copied!" : "Copy link"}
-
-
+
+
+
+
+
+ {copied ? "Copied!" : "Copy link"}
+
+
{/* Footer: Date + Creator */}
@@ -154,33 +154,33 @@ export function PublicChatSnapshotRow({
{member && (
<>
·
-
-
-
-
- {member.avatarUrl ? (
-
- ) : (
-
-
- {getInitials(member.name)}
-
-
- )}
-
- {member.name}
-
-
-
- {member.email || member.name}
-
-
+
+
+
+
+ {member.avatarUrl ? (
+
+ ) : (
+
+
+ {getInitials(member.name)}
+
+
+ )}
+
+ {member.name}
+
+
+
+ {member.email || member.name}
+
+
>
)}
diff --git a/surfsense_web/components/settings/image-model-manager.tsx b/surfsense_web/components/settings/image-model-manager.tsx
index 976df30e6..db7bf5f60 100644
--- a/surfsense_web/components/settings/image-model-manager.tsx
+++ b/surfsense_web/components/settings/image-model-manager.tsx
@@ -272,25 +272,25 @@ export function ImageModelManager({ searchSpaceId }: ImageModelManagerProps) {
{/* Header */}
-
- {canCreate && (
- )}
+ {canCreate && (
+
+ )}
{/* Errors */}
@@ -420,114 +420,114 @@ export function ImageModelManager({ searchSpaceId }: ImageModelManagerProps) {
return (
-
-
- {/* Header: Name + Actions */}
-
-
-
- {config.name}
-
- {config.description && (
-
- {config.description}
-
- )}
-
- {(canUpdate || canDelete) && (
-
- {canUpdate && (
-
-
-
-
-
- Edit
-
-
- )}
- {canDelete && (
-
-
-
-
-
- Delete
-
-
- )}
-
+
+
+ {/* Header: Name + Actions */}
+
+
+
+ {config.name}
+
+ {config.description && (
+
+ {config.description}
+
)}
-
- {/* Provider + Model */}
-
- {getProviderIcon(config.provider, { className: "size-3.5 shrink-0" })}
-
- {config.model_name}
-
-
-
- {/* Footer: Date + Creator */}
-
-
- {new Date(config.created_at).toLocaleDateString(undefined, {
- year: "numeric",
- month: "short",
- day: "numeric",
- })}
-
- {member && (
- <>
-
·
+ {(canUpdate || canDelete) && (
+
+ {canUpdate && (
-
- {member.avatarUrl ? (
-
- ) : (
-
-
- {getInitials(member.name)}
-
-
- )}
-
- {member.name}
-
-
+
-
- {member.email || member.name}
-
+ Edit
- >
- )}
-
-
-
+ )}
+ {canDelete && (
+
+
+
+
+
+ Delete
+
+
+ )}
+
+ )}
+
+
+ {/* Provider + Model */}
+
+ {getProviderIcon(config.provider, { className: "size-3.5 shrink-0" })}
+
+ {config.model_name}
+
+
+
+ {/* Footer: Date + Creator */}
+
+
+ {new Date(config.created_at).toLocaleDateString(undefined, {
+ year: "numeric",
+ month: "short",
+ day: "numeric",
+ })}
+
+ {member && (
+ <>
+
·
+
+
+
+
+ {member.avatarUrl ? (
+
+ ) : (
+
+
+ {getInitials(member.name)}
+
+
+ )}
+
+ {member.name}
+
+
+
+
+ {member.email || member.name}
+
+
+
+ >
+ )}
+
+
+
);
})}
@@ -705,20 +705,20 @@ export function ImageModelManager({ searchSpaceId }: ImageModelManagerProps) {
)}
- {/* Actions */}
-
-
-
diff --git a/surfsense_web/components/settings/more-pages-content.tsx b/surfsense_web/components/settings/more-pages-content.tsx
index 324a67a23..6b02cf92a 100644
--- a/surfsense_web/components/settings/more-pages-content.tsx
+++ b/surfsense_web/components/settings/more-pages-content.tsx
@@ -85,16 +85,16 @@ export function MorePagesContent() {
{isLoading ? (
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
) : (
{data?.tasks.map((task) => (
@@ -122,14 +122,14 @@ export function MorePagesContent() {
+{task.pages_reward} pages
-
handleTaskClick(task)}
- asChild={!task.completed}
- className="text-muted-foreground hover:text-foreground"
- >
+ handleTaskClick(task)}
+ asChild={!task.completed}
+ className="text-muted-foreground hover:text-foreground"
+ >
{task.completed ? (
Done
) : (
@@ -185,11 +185,7 @@ export function MorePagesContent() {
-
+
Schedule a Meeting
diff --git a/surfsense_web/components/settings/prompt-config-manager.tsx b/surfsense_web/components/settings/prompt-config-manager.tsx
index 49da0a43e..b9c9c2fc8 100644
--- a/surfsense_web/components/settings/prompt-config-manager.tsx
+++ b/surfsense_web/components/settings/prompt-config-manager.tsx
@@ -176,17 +176,17 @@ export function PromptConfigManager({ searchSpaceId }: PromptConfigManagerProps)
- {/* Action Buttons */}
-
-
- {saving ? "Saving" : "Save Instructions"}
-
-
+ {/* Action Buttons */}
+
+
+ {saving ? "Saving" : "Save Instructions"}
+
+
);
}
diff --git a/surfsense_web/components/settings/roles-manager.tsx b/surfsense_web/components/settings/roles-manager.tsx
index 36d31d4c8..23b9aa4b6 100644
--- a/surfsense_web/components/settings/roles-manager.tsx
+++ b/surfsense_web/components/settings/roles-manager.tsx
@@ -682,11 +682,11 @@ function PermissionsEditor({
return (
-
toggleCategoryExpanded(category)}
- >
+ toggleCategoryExpanded(category)}
+ >
{config.label}
@@ -702,10 +702,7 @@ function PermissionsEditor({
aria-label={`Select all ${config.label} permissions`}
/>
-
-
- Cancel
-
-
+
+
+ Cancel
+
+
{creating ? (
<>
@@ -1091,10 +1088,10 @@ function EditRoleDialog({
/>
-
-
onOpenChange(false)}>
- Cancel
-
+
+ onOpenChange(false)}>
+ Cancel
+
{saving ? (
<>
diff --git a/surfsense_web/components/settings/settings-dialog.tsx b/surfsense_web/components/settings/settings-dialog.tsx
index c6809ca96..057d7643a 100644
--- a/surfsense_web/components/settings/settings-dialog.tsx
+++ b/surfsense_web/components/settings/settings-dialog.tsx
@@ -60,11 +60,11 @@ export function SettingsDialog({
type="button"
onClick={() => onItemChange(item.value)}
className={cn(
- "flex items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors text-left focus:outline-none focus-visible:outline-none",
- activeItem === item.value
- ? "bg-accent text-accent-foreground"
- : "text-muted-foreground hover:bg-accent/50 hover:text-foreground"
- )}
+ "flex items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors text-left focus:outline-none focus-visible:outline-none",
+ activeItem === item.value
+ ? "bg-accent text-accent-foreground"
+ : "text-muted-foreground hover:bg-accent/50 hover:text-foreground"
+ )}
>
{item.icon}
{item.label}
@@ -94,11 +94,11 @@ export function SettingsDialog({
type="button"
onClick={() => handleItemChange(item.value)}
className={cn(
- "flex items-center gap-2 whitespace-nowrap rounded-full px-3 py-1.5 text-xs font-medium transition-colors shrink-0 focus:outline-none focus-visible:outline-none",
- activeItem === item.value
- ? "bg-accent text-accent-foreground"
- : "text-muted-foreground hover:bg-accent/50 hover:text-foreground"
- )}
+ "flex items-center gap-2 whitespace-nowrap rounded-full px-3 py-1.5 text-xs font-medium transition-colors shrink-0 focus:outline-none focus-visible:outline-none",
+ activeItem === item.value
+ ? "bg-accent text-accent-foreground"
+ : "text-muted-foreground hover:bg-accent/50 hover:text-foreground"
+ )}
>
{item.icon}
{item.label}
diff --git a/surfsense_web/components/shared/llm-config-form.tsx b/surfsense_web/components/shared/llm-config-form.tsx
index c423edf33..43bed93a1 100644
--- a/surfsense_web/components/shared/llm-config-form.tsx
+++ b/surfsense_web/components/shared/llm-config-form.tsx
@@ -562,17 +562,17 @@ export function LLMConfigForm({
compact ? "justify-end" : "justify-center sm:justify-end"
)}
>
- {onCancel && (
-
- Cancel
-
- )}
+ {onCancel && (
+
+ Cancel
+
+ )}