feat: implement leave search space functionality for non-owners and update related UI components

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-01-13 02:06:35 -08:00
parent 6622a8c582
commit d140f6393e
6 changed files with 154 additions and 49 deletions

View file

@ -100,6 +100,7 @@
"leave": "Leave",
"leave_title": "Leave Search Space",
"leave_confirm": "Are you sure you want to leave \"{name}\"? You will lose access to all documents and chats in this search space.",
"leaving": "Leaving...",
"welcome_title": "Welcome to SurfSense",
"welcome_description": "Create your first search space to start organizing your knowledge, connecting sources, and chatting with AI.",
"create_first_button": "Create your first search space"
@ -162,6 +163,10 @@
"go_home": "Go Home",
"delete_search_space": "Delete Search Space",
"delete_space_confirm": "Are you sure you want to delete \"{name}\"? This action cannot be undone. All documents and chats in this search space will be permanently deleted.",
"leave": "Leave",
"leave_title": "Leave Search Space",
"leave_confirm": "Are you sure you want to leave \"{name}\"? You will lose access to all documents and chats in this search space.",
"leaving": "Leaving...",
"no_spaces_found": "No search spaces found",
"create_first_space": "Create your first search space to get started",
"created": "Created"