Skip to content

Close Menu#70

Merged
MaddieWright merged 1 commit intomainfrom
frontend/close-menu
Mar 11, 2026
Merged

Close Menu#70
MaddieWright merged 1 commit intomainfrom
frontend/close-menu

Conversation

@MaddieWright
Copy link
Collaborator

Pull Request Template

What?

  • made the sidebar Menu collapsible
  • clicking the X in the top-right corner hides the search bar and node list, leaving only the "Menu" header and a chevron arrow to expand it again

How?

  • added a collapsed boolean state to the Sidebar component
  • the header button toggles between a close icon and a chevron-down icon, both sized to 15×15 to keep the header height stable
  • the search input and node list are conditionally rendered with {!collapsed && ...}
  • the ResizableHandle and second panel remain mounted at all times (using invisible instead of unmounting) to prevent the card from expanding when collapsed.

@MaddieWright MaddieWright merged commit 4b39361 into main Mar 11, 2026
1 check failed
@MaddieWright MaddieWright deleted the frontend/close-menu branch March 11, 2026 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant