diff --git a/surfsense_web/components/layout/ui/sidebar/AllPrivateChatsSidebar.tsx b/surfsense_web/components/layout/ui/sidebar/AllPrivateChatsSidebar.tsx index 117f8acef..0d1dd281e 100644 --- a/surfsense_web/components/layout/ui/sidebar/AllPrivateChatsSidebar.tsx +++ b/surfsense_web/components/layout/ui/sidebar/AllPrivateChatsSidebar.tsx @@ -34,7 +34,6 @@ import { deleteThread, fetchThreads, searchThreads, - type ThreadListItem, updateThread, } from "@/lib/chat/thread-persistence"; import { cn } from "@/lib/utils"; @@ -410,7 +409,7 @@ export function AllPrivateChatsSidebar({ ) : isSearchMode ? (
- +

{t("no_chats_found") || "No chats found"}

@@ -420,7 +419,7 @@ export function AllPrivateChatsSidebar({
) : (
- +

{showArchived ? t("no_archived_chats") || "No archived chats" diff --git a/surfsense_web/components/layout/ui/sidebar/AllSharedChatsSidebar.tsx b/surfsense_web/components/layout/ui/sidebar/AllSharedChatsSidebar.tsx index d2e7bf1d1..f50cb028a 100644 --- a/surfsense_web/components/layout/ui/sidebar/AllSharedChatsSidebar.tsx +++ b/surfsense_web/components/layout/ui/sidebar/AllSharedChatsSidebar.tsx @@ -34,7 +34,6 @@ import { deleteThread, fetchThreads, searchThreads, - type ThreadListItem, updateThread, } from "@/lib/chat/thread-persistence"; import { cn } from "@/lib/utils"; @@ -410,7 +409,7 @@ export function AllSharedChatsSidebar({

) : isSearchMode ? (
- +

{t("no_chats_found") || "No chats found"}

@@ -420,7 +419,7 @@ export function AllSharedChatsSidebar({
) : (
- +

{showArchived ? t("no_archived_chats") || "No archived chats" diff --git a/surfsense_web/components/layout/ui/sidebar/Sidebar.tsx b/surfsense_web/components/layout/ui/sidebar/Sidebar.tsx index a23bec11a..9a632506c 100644 --- a/surfsense_web/components/layout/ui/sidebar/Sidebar.tsx +++ b/surfsense_web/components/layout/ui/sidebar/Sidebar.tsx @@ -156,10 +156,10 @@ export function Sidebar({ @@ -197,10 +197,10 @@ export function Sidebar({ diff --git a/surfsense_web/components/layout/ui/sidebar/SidebarSection.tsx b/surfsense_web/components/layout/ui/sidebar/SidebarSection.tsx index 4d161e3fa..52d681199 100644 --- a/surfsense_web/components/layout/ui/sidebar/SidebarSection.tsx +++ b/surfsense_web/components/layout/ui/sidebar/SidebarSection.tsx @@ -37,14 +37,14 @@ export function SidebarSection({ {/* Action button - visible on hover (always visible on mobile) */} {action && ( -

+
{action}
)} {/* Persistent action - always visible */} {persistentAction && ( -
{persistentAction}
+
{persistentAction}
)}
diff --git a/surfsense_web/lib/electric/client.ts b/surfsense_web/lib/electric/client.ts index 473e06461..0a881c235 100644 --- a/surfsense_web/lib/electric/client.ts +++ b/surfsense_web/lib/electric/client.ts @@ -49,8 +49,8 @@ let initPromise: Promise | null = null; const activeSyncHandles = new Map(); // Version for sync state - increment this to force fresh sync when Electric config changes -// Incremented to v5 for user-specific database architecture -const SYNC_VERSION = 5; +// Set to v2 for user-specific database architecture +const SYNC_VERSION = 2; // Database name prefix for identifying SurfSense databases const DB_PREFIX = "surfsense-"; diff --git a/surfsense_web/messages/en.json b/surfsense_web/messages/en.json index a066aee4a..0c6fe63a8 100644 --- a/surfsense_web/messages/en.json +++ b/surfsense_web/messages/en.json @@ -658,7 +658,7 @@ "sidebar": { "chats": "Private Chats", "shared_chats": "Shared Chats", - "search_chats": "Search chats...", + "search_chats": "Search chats", "no_chats_found": "No chats found", "no_shared_chats": "No shared chats", "view_all_shared_chats": "View all shared chats",