feat: enhance chat sidebar functionality and UI

- Updated `LayoutDataProvider` to toggle sidebar states for shared and private chats more efficiently.
- Added new props to `MobileSidebar`, `Sidebar`, and `LayoutShell` to manage the open states of chat panels.
- Improved button interactions in the sidebar to show/hide chat panels with updated tooltip text.
- Enhanced styling for tab triggers in `AllPrivateChatsSidebar` and `AllSharedChatsSidebar` for better user experience.
- Added new localization strings for "show all" and "hide" actions in multiple languages.
This commit is contained in:
Anish Sarkar 2026-03-17 03:55:49 +05:30
parent 54156633ff
commit 651d381bcb
12 changed files with 94 additions and 98 deletions

View file

@ -655,6 +655,8 @@
"no_shared_chats": "No shared chats",
"view_all_shared_chats": "View all shared chats",
"view_all_private_chats": "View all private chats",
"show_all": "Show all",
"hide": "Hide",
"no_chats": "No chats yet",
"start_new_chat_hint": "Start a new chat",
"error_loading_chats": "Error loading chats",

View file

@ -655,6 +655,8 @@
"no_shared_chats": "No hay chats compartidos",
"view_all_shared_chats": "Ver todos los chats compartidos",
"view_all_private_chats": "Ver todos los chats privados",
"show_all": "Ver todo",
"hide": "Ocultar",
"no_chats": "Aún no hay chats",
"start_new_chat_hint": "Iniciar un nuevo chat",
"error_loading_chats": "Error al cargar chats",

View file

@ -655,6 +655,8 @@
"no_shared_chats": "कोई साझा चैट नहीं",
"view_all_shared_chats": "सभी साझा चैट देखें",
"view_all_private_chats": "सभी निजी चैट देखें",
"show_all": "सभी देखें",
"hide": "छिपाएँ",
"no_chats": "अभी तक कोई चैट नहीं",
"start_new_chat_hint": "नई चैट शुरू करें",
"error_loading_chats": "चैट लोड करने में त्रुटि",

View file

@ -655,6 +655,8 @@
"no_shared_chats": "Nenhum chat compartilhado",
"view_all_shared_chats": "Ver todos os chats compartilhados",
"view_all_private_chats": "Ver todos os chats privados",
"show_all": "Ver tudo",
"hide": "Ocultar",
"no_chats": "Nenhum chat ainda",
"start_new_chat_hint": "Iniciar um novo chat",
"error_loading_chats": "Erro ao carregar chats",

View file

@ -639,6 +639,8 @@
"no_shared_chats": "暂无共享对话",
"view_all_shared_chats": "查看所有共享对话",
"view_all_private_chats": "查看所有私人对话",
"show_all": "查看全部",
"hide": "隐藏",
"no_chats": "暂无对话",
"start_new_chat_hint": "开始新对话",
"error_loading_chats": "加载对话时出错",