feat(#5099): implement collapsible sidebar functionality #5100
Draft
feat(#5099): implement collapsible sidebar functionality #5100
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new collapsible sidebar for the InstanceShell view, streamlining and modernizing the navigation experience. The sidebar can now be toggled open or closed, with its state persisted in local storage. Related code and style changes were made to support this feature, and some legacy sidebar logic was removed for clarity and maintainability.
Sidebar Refactor and Collapsible Functionality:
InstanceShell.vue, including a toggle button, dynamic width, and persistent open/close state using local storage. The sidebar's visibility and width now respond to user interaction, improving usability. [1] [2] [3]sidebar.vueto remove old sidebar open/close logic and classes, delegating sidebar state control to the parent component. Simplified sidebar rendering and removed unused toggle code. [1] [2] [3] [4] [5] [6] [7]UI and Layout Adjustments:
InstanceShell.vueto use a flex layout, ensuring the sidebar and main content area are displayed side by side and resize appropriately with the sidebar state.