From 6520ae4e0fb8c612b77ec9534e031ef3cc5f986e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 10 May 2026 00:10:00 +0200 Subject: [PATCH] feat(admin): sidebar entry for app-logs Adds the `app-logs` row to `` so the new section shows up in the admin sidebar (desktop) and mobile section strip alongside Login Overview and Backups. Uses `lucide-react`'s `FileText` icon because nothing else in the bundle reads as "structured log lines". The mobile-strip / desktop-sidebar pattern follows the conditional admin-only nav established in v1.4.15 A1 and v1.4.16 A1: the global sidebar still surfaces a single `/admin` link, and the per-section nav lives inside the admin shell. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/admin/admin-shell.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/admin/admin-shell.tsx b/src/components/admin/admin-shell.tsx index ec2cbe593..6217cb910 100644 --- a/src/components/admin/admin-shell.tsx +++ b/src/components/admin/admin-shell.tsx @@ -20,6 +20,7 @@ import { AlertTriangle, Bell, Database, + FileText, KeyRound, Inbox, Plug, @@ -93,6 +94,11 @@ export const ADMIN_SECTIONS: readonly AdminSection[] = [ titleKey: "admin.section.login-overview.title", icon: ScrollText, }, + { + slug: "app-logs", + titleKey: "admin.section.app-logs.title", + icon: FileText, + }, { slug: "backups", titleKey: "admin.section.backups.title",