feat: enhance sidebar functionality with tooltips and improved sorting

- Added tooltips to chat and note items in the sidebars, displaying creation and update timestamps.
- Implemented sorting of chats and notes by their creation or update dates for better organization.
- Updated translation keys for new UI strings related to deletion and timestamps.
- Adjusted sidebar layout for improved user experience on mobile devices.
This commit is contained in:
Anish Sarkar 2025-12-19 21:40:40 +05:30
parent 60d57305a7
commit bb971f89ba
11 changed files with 293 additions and 113 deletions

View file

@ -98,6 +98,8 @@
"unknown_search_space": "Unknown Search Space",
"delete_chat": "Delete Chat",
"delete_chat_confirm": "Are you sure you want to delete",
"delete_note": "Delete Note",
"delete_note_confirm": "Are you sure you want to delete",
"action_cannot_undone": "This action cannot be undone.",
"deleting": "Deleting...",
"surfsense_dashboard": "SurfSense Dashboard",
@ -641,7 +643,7 @@
"search_chats": "Search chats...",
"no_chats_found": "No chats found",
"no_recent_chats": "No recent chats",
"view_all_chats": "View All Chats",
"view_all_chats": "View all chats",
"all_chats": "All Chats",
"all_chats_description": "Browse and manage all your chats",
"no_chats": "No chats yet",
@ -659,7 +661,15 @@
"no_notes": "No notes yet",
"create_new_note": "Create a new note",
"error_loading_notes": "Error loading notes",
"loading": "Loading..."
"loading": "Loading...",
"deleting": "Deleting...",
"delete": "Delete",
"created": "Created",
"updated": "Updated",
"more_options": "More options",
"clear_search": "Clear search",
"view_all_notes": "View all notes",
"add_note": "Add note"
},
"errors": {
"something_went_wrong": "Something went wrong",