Skip to content

feat(ui): add collapsible sidebar with tooltip and team menu - #9945

Merged
andrasbacsai merged 2 commits into
nextfrom
collapsible-navbar-desktop
May 6, 2026
Merged

feat(ui): add collapsible sidebar with tooltip and team menu#9945
andrasbacsai merged 2 commits into
nextfrom
collapsible-navbar-desktop

Conversation

@andrasbacsai

Copy link
Copy Markdown
Member

Summary

  • Desktop sidebar now collapses to icon-only rail (lg:w-16) via toggle button; state persisted in localStorage
  • Smooth width/padding transition (duration-200) on sidebar and main content area
  • Collapsed state hides text labels (menu-item-label), branding/version, search, settings dropdown, and upgrade widget; icons stay centered via .sidebar-collapsed .menu-item utility CSS
  • Tooltip portal renders item labels on hover when sidebar is collapsed (fixed-position, follows cursor via mouseover delegation)
  • switch-team.blade.php gains a collapsed variant: shows team initial avatar button; click opens a flyout dropdown positioned relative to the button
  • Coolify logo SVG shown in collapsed header in place of text wordmark

Sidebar collapses to icon-only mode on lg breakpoint. State persists
in localStorage. Collapsed state shows logo icon, team initial button
with flyout menu, and hover tooltips for nav items.
Padding `lg:pt-6` moved from static class to expanded-state Alpine binding,
and `lg:pt-8` added for collapsed state, so top spacing responds correctly
to sidebar collapse toggle.
@andrasbacsai
andrasbacsai merged commit 84b0f9b into next May 6, 2026
3 checks passed
@andrasbacsai
andrasbacsai deleted the collapsible-navbar-desktop branch May 6, 2026 13:31
@andrasbacsai andrasbacsai mentioned this pull request May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant