-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Enable Views to move between sidebar and panel (Part 1) #85164
Comments
First PR: #84642
|
Follow-up PR: #85096
From @isidorn
|
@sandy081 @isidorn I got working the restructuring of design and ran into some problems. Below is the commit on my fork and I will summarize the steps taken so far.
Problems
ProposalPerhaps I am overthinking it, so I thought I would share my progress but additionally share another proposal for design structure. Here is a diagram I drew.
Let me know what you think of this proposal or if you have ideas on addressing my issues with the original proposal. |
@sbatten thanks for the nice picture. Having the Let me know what you think. |
Discussed with @isidorn and here is what we think: I also agree if the new architecture works for you, go for it. I also liked the direction where it is going that there will be no I think renaming current viewlets (Explorer, SCM and others) to view containers and extend Also, this means that we will have single generic
This shall register explorer ViewContainer and also internally a viewlet for explorer should be registered. Note: As @isidorn said there is some code that is accessing these viewlets through viewlet service. So please make sure you take care of this by providing access to vscode/src/vs/workbench/contrib/files/browser/fileActions.ts Lines 655 to 656 in a153842
|
Added support for ViewPaneContainer in a new Panel #87191 |
@sbatten Is not this supported by adding support -> for ViewPaneContainer in a new Panel |
Will it be possible to move views between sidebars? Can you include it in your plans? |
Work continued in #89729 |
Aggregating prior discussions from abandoned PRs.
PanelPart
withViewContainer
logic existing inActivityBarPart
with support for hiding a panel when empty Port view container logic from activitybarpart to panelpart #87444move to panel
/move to sidebar
commands for movable views Add movable property to views and add toggle view commands #88823View
to aPanel
for extensions (should have its own item)The text was updated successfully, but these errors were encountered: