From bf340f9b95a72dd1c1dd50f5dac0775bc7cf2538 Mon Sep 17 00:00:00 2001 From: Eric Lammertsma Date: Fri, 6 Feb 2026 13:56:51 -0500 Subject: [PATCH 1/2] UX: remove logs option from SidebarHeader component --- .../components/layout/ui/sidebar/SidebarHeader.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/surfsense_web/components/layout/ui/sidebar/SidebarHeader.tsx b/surfsense_web/components/layout/ui/sidebar/SidebarHeader.tsx index 28c359e64..6c747b9eb 100644 --- a/surfsense_web/components/layout/ui/sidebar/SidebarHeader.tsx +++ b/surfsense_web/components/layout/ui/sidebar/SidebarHeader.tsx @@ -1,6 +1,6 @@ "use client"; -import { ChevronsUpDown, Logs, Settings, Users } from "lucide-react"; +import { ChevronsUpDown, Settings, Users } from "lucide-react"; import { useParams, useRouter } from "next/navigation"; import { useTranslations } from "next-intl"; import { Button } from "@/components/ui/button"; @@ -56,10 +56,6 @@ export function SidebarHeader({ {t("manage_members")} - router.push(`/dashboard/${searchSpaceId}/logs`)}> - - {t("logs")} - From 179dd18e45caf45002b646f7cc0035d4eb151ed0 Mon Sep 17 00:00:00 2001 From: Eric Lammertsma Date: Fri, 6 Feb 2026 15:01:14 -0500 Subject: [PATCH 2/2] UX: replace doc delete confirmation with descriptive text --- .../documents/(manage)/components/RowActions.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/RowActions.tsx b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/RowActions.tsx index ec355f576..eb44d114a 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/RowActions.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/documents/(manage)/components/RowActions.tsx @@ -9,6 +9,7 @@ import { AlertDialogAction, AlertDialogCancel, AlertDialogContent, + AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, @@ -205,7 +206,10 @@ export function RowActions({ - Are you sure? + Delete document? + + This action cannot be undone. This will permanently delete this document from your search space. + Cancel