-
Notifications
You must be signed in to change notification settings - Fork 88
[DRAFT] Implement Rider-style sidebar tool layout with drag-and-drop reordering #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Hi, thanks for working on this! I think I would prefer a more Rider approach to docking, ie the toolbar icons are the draggable parts, and you drag them to other toolbars to move them. This would necessitate a new toolbar being added on the right of the code editor, which is fine. |
I think perhaps making hidden toolbars visible while dragging a panel, makes the UX better whilst also not wasting space when there are no panels docked in that particular toolbar.
I have no problem with a title bar in general, but you're right that the content of the title bar needs to be fairly flexible, and when the title bar is filled up with buttons, it may not be intuitive where is actually clickable/draggable. IMO, dragging the panel's icon in the toolbar is the most intuitive to me, (Like Rider does, see below) and is probably all I would implement if I were doing this. RiderDragging.mp4 |
|
I'd also probably only implement Left, Bottom and Right panel locations for now :) |
|
Hey, I updated my implementation to a Rider-style tool managment system with the two sidebars where you can move the tools between them. I also updated the PR description and title to reflect this. To achieve this I had to rework a lot of the UI which meant deleting/moving a lot of files and as such there are a lot of files changed. I don't know how you would like to proceed with this PR as it has become pretty big. |
|
Apologies for the delay, I'm in the process of finishing up some debugger work, and then will get back to this 😊 |




Description
This pull request introduces a centralized, Rider-inspired tool layout system with support for sidebar anchors, drag-and-drop reordering, and visual drop previews.
Related issues: #47
Overview
Tool Layout Management
IdeMainLayout) responsible for:Sidebar & Tool Areas
Drag-and-Drop System
ToolDragOverlayto handle:ToolMoveData) instead of directly mutating layout state.Demo