mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
feat(admin): sidebar entry for app-logs
Adds the `app-logs` row to `<AdminShell>` 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) <noreply@anthropic.com>
This commit is contained in:
1 parent
d5c891244b
commit
6520ae4e0f
1 file changed
+6
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user