From 96a4ad4db5743fbf99012ea39c8b93b4b60fd59c Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 25 Apr 2026 07:52:02 -0500 Subject: [PATCH] add chat and features group to mobile menu Co-authored-by: Copilot --- web/public/locales/en/common.json | 1 + web/src/components/menu/GeneralSettings.tsx | 52 ++++++++++++++------- 2 files changed, 35 insertions(+), 18 deletions(-) diff --git a/web/public/locales/en/common.json b/web/public/locales/en/common.json index de17f444b..8b86b69d4 100644 --- a/web/public/locales/en/common.json +++ b/web/public/locales/en/common.json @@ -257,6 +257,7 @@ "export": "Export", "actions": "Actions", "uiPlayground": "UI Playground", + "features": "Features", "faceLibrary": "Face Library", "classification": "Classification", "chat": "Chat", diff --git a/web/src/components/menu/GeneralSettings.tsx b/web/src/components/menu/GeneralSettings.tsx index a84cd0aa2..d1a1322ac 100644 --- a/web/src/components/menu/GeneralSettings.tsx +++ b/web/src/components/menu/GeneralSettings.tsx @@ -6,6 +6,7 @@ import { LuLifeBuoy, LuList, LuLogOut, + LuMessageSquare, LuMoon, LuSquarePen, LuScanFace, @@ -482,21 +483,25 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) { )} - {isAdmin && isMobile && config?.face_recognition.enabled && ( - <> - - - - {t("menu.faceLibrary")} - - - - )} - {isAdmin && isMobile && ( - <> + + {isMobile && isAdmin && ( + <> + + {t("menu.features")} + + + + {config?.face_recognition.enabled && ( + + + + {t("menu.faceLibrary")} + + + )} {t("menu.classification")} - - )} - + {config?.genai?.model !== "none" && ( + + + + {t("menu.chat")} + + + )} + + + )} {t("menu.appearance")}