-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Default sidebar width should not trigger narrow mode for extensionsViewlet #118511
Comments
@digitarald you are referring to the side bar, not the activity bar. See https://code.visualstudio.com/docs/getstarted/userinterface#_basic-layout and the annotated screenshot above that section. Please update the issue. |
Good observation! Strongly agree that that showing icons, the starred recommended ones, and download count would provide a richer view and catch new users' eyes. |
Please note that the SideBar probably takes the "optimal" width of the explorer since that is the initial view shown. Anyways leaving this up to @sbatten to decide |
I am leaning towards the lower hanging proposal to change the min-width for narrow. For changing the default sidebar width I'd have to dig deeper into seen window sizes. I am also not aware that other panels have problems with narrow width; which would otherwise strengthen the case. The middle-ground would be increasing sidebar default width a bit and making the narrow min-width a bit wider. |
@sandy081 for the narrow breakpoint in extensions viewlet |
Ah, ok I see what you mean now. That makes sense to me as well, this is handled here: vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts Lines 564 to 572 in 17c6796
|
And the initial default width comes from |
It seems showing icon, title, version, rating & downloads in 250 px is too clumsy - title and version are shown partially with ellipsis. What do you think not showing |
@sandy081 I think when you are installing an extension for the first time you are less concerned about the version so that sounds good to me. Screenshot? |
Improved the viewlet representation when the width is small. It also has other improvements which are part of #126479. Feedback is appreciated Kapture.2021-07-15.at.15.33.51.mp4 |
The default sidebar width is dynamically calculated but ends up being 251px for most window sizes I tested. The
narrow
mode for theextensionsViewlet
is triggered for ⪬ 300px.While
narrow
is great for small spaces, it hides key information like the icon, rating and download numbers. For users who don't discover the resizing, important context is lost for extensions. I noticed this during my work on getting started, as it guides users early into the extension panel; which looks no very inviting without expanded.Ideas for solutions
Tooltips on descriptions to read cut off text.
cc @sana-ajani @misolori @fiveisprime
The text was updated successfully, but these errors were encountered: