From da2c77dc1593bd77676e800721ce36a06565ac59 Mon Sep 17 00:00:00 2001 From: busya Date: Tue, 19 May 2026 11:34:58 +0300 Subject: [PATCH] feat(sidebar): redesign with sections, new navigation items, profile footer - Split sidebar into 3 groups: Resources / Operations / System - Added Migration section (Overview + Mappings) - was hidden in routes - Added Git section (Repository Status) - was hidden in routes - Added Tools section (Mapper, Debug, Storage, Backups) - was hidden in routes - Moved Settings gear icon to footer (quick link to /settings) - Moved Profile to footer (avatar + username) - Moved Collapse button to header (always visible) - Organized Admin with all sub-items (Users, Roles, ADFS, LLM) - Reduced visual noise: section labels collapse independently - Kept existing features: RBAC filtering, health badges, mobile overlay, collapse animation - Updated tests to match new structure - Updated i18n (en/ru) with new keys --- .../src/lib/components/layout/Sidebar.svelte | 403 ++++++++++-------- .../__tests__/sidebarNavigation.test.js | 77 +++- .../components/layout/sidebarNavigation.js | 356 ++++++++-------- frontend/src/lib/i18n/locales/en/nav.json | 50 ++- frontend/src/lib/i18n/locales/ru/nav.json | 52 ++- 5 files changed, 528 insertions(+), 410 deletions(-) diff --git a/frontend/src/lib/components/layout/Sidebar.svelte b/frontend/src/lib/components/layout/Sidebar.svelte index 729a999b..a92db059 100644 --- a/frontend/src/lib/components/layout/Sidebar.svelte +++ b/frontend/src/lib/components/layout/Sidebar.svelte @@ -1,5 +1,5 @@ - - + + @@ -8,47 +8,11 @@ - + +