refactor: update sidebar components for improved styling and consistency

- Removed unused type import from `AllPrivateChatsSidebar` and `AllSharedChatsSidebar`.
- Adjusted class names for icons in sidebar components to enhance visual consistency.
- Updated `SidebarSection` to remove unnecessary gap classes for cleaner layout.
- Changed sync version in `client.ts` to v2 for user-specific database architecture.
- Modified search chat placeholder text in `en.json` for clarity.
This commit is contained in:
Anish Sarkar 2026-01-15 17:17:51 +05:30
parent 351f6eb23d
commit aea3040271
6 changed files with 13 additions and 15 deletions

View file

@ -49,8 +49,8 @@ let initPromise: Promise<ElectricClient> | null = null;
const activeSyncHandles = new Map<string, SyncHandle>();
// 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-";