From 84ae9aff68f0a3492fc1e9b7cf08b8a1c259cce8 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Fri, 24 Jul 2026 10:38:11 +0700 Subject: [PATCH] feat: enhance sidebar functionality with icon-only mode and improved text/icon sizes - Changed sidebar collapsible mode from `offcanvas` to `icon`, allowing it to shrink to icon-only display on collapse. - Increased sizes for menu button height, text, and icons for better visibility. - Updated relevant components to reflect these changes, ensuring a more user-friendly sidebar experience. --- app/components/AppSidebar.vue | 21 ++++--- .../ui/sidebar/SidebarGroupLabel.vue | 2 +- .../2026-07-24-sidebar-icon-mode-and-sizes.md | 57 +++++++++++++++++++ 3 files changed, 72 insertions(+), 8 deletions(-) create mode 100644 docs/history/2026-07-24-sidebar-icon-mode-and-sizes.md diff --git a/app/components/AppSidebar.vue b/app/components/AppSidebar.vue index 8fb125b..702e816 100644 --- a/app/components/AppSidebar.vue +++ b/app/components/AppSidebar.vue @@ -26,7 +26,12 @@ const data = { navMain: [ { title: "Dashboard", - url: "#", + url: "/admin/dashboard", + icon: Grid, + }, + { + title: "Jenis Bisnis", + url: "/admin/business-types", icon: Grid, }, ], @@ -34,14 +39,14 @@ const data = {