mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
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:
parent
351f6eb23d
commit
aea3040271
6 changed files with 13 additions and 15 deletions
|
|
@ -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({
|
|||
</div>
|
||||
) : isSearchMode ? (
|
||||
<div className="text-center py-8">
|
||||
<Search className="h-12 w-12 mx-auto text-muted-foreground/50 mb-3" />
|
||||
<Search className="h-12 w-12 mx-auto text-muted-foreground mb-3" />
|
||||
<p className="text-sm text-muted-foreground">
|
||||
{t("no_chats_found") || "No chats found"}
|
||||
</p>
|
||||
|
|
@ -420,7 +419,7 @@ export function AllPrivateChatsSidebar({
|
|||
</div>
|
||||
) : (
|
||||
<div className="text-center py-8">
|
||||
<Lock className="h-12 w-12 mx-auto text-muted-foreground/50 mb-3" />
|
||||
<Lock className="h-12 w-12 mx-auto text-muted-foreground mb-3" />
|
||||
<p className="text-sm text-muted-foreground">
|
||||
{showArchived
|
||||
? t("no_archived_chats") || "No archived chats"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue