Skip to content

UI: Add dock for switching viewlets/panels #15262

@octref

Description

@octref

#1105 - Provide an option to hide the activity bar currently has 79 upvotes.

Per today's discussion in UX meeting #15217, I came up with this idea:

(Ignore the blank part on the right, just a quick hack to get the idea across)

dock

It'll work similarly to Windows's Ctrl+Tab or macOS's Cmd+Tab. Say if you have Cmd+B assigned to it:

Workflow

  • Cmd+B brings up this dock

    • If sidebar is hidden, also bring up the dimmed Viewlet
    • If sidebar is shown, dim active Viewlet

    dock

  • While Cmd is pressed, additional B selects next Viewlet, both the highlight item on the dock and dimmed Viewlet background update

    flow 2

  • When Cmd is released, dock is gone. The last selected Viewlet is shown.

    image

Additional

  • This could also apply to panels, where we can have a horizontal dock.

What does everyone think?

@Microsoft/vscode

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityuxUser experience issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions