Skip to content

workspace: Improve the multi-project UX#46641

Merged
danilo-leal merged 12 commits intomainfrom
multi-project-switcher
Jan 13, 2026
Merged

workspace: Improve the multi-project UX#46641
danilo-leal merged 12 commits intomainfrom
multi-project-switcher

Conversation

@danilo-leal
Copy link
Member

This PR introduces a project dropdown when working with multiple folders/projects in one workspace. Here are some interaction details that I hope improves the UX of working on this scenario significantly:

  • The dropdown shows the currently "active" project, which is determined by:
    • Either the file you're currently editing
    • Or the file you have just recently switched to
    • Some example cases:
      • If you are focused on file from project A but switch to project B in the titlebar, nothing happens. However, as soon as you type on the file from project A, the title bar will update and your active project will return to being project A.
      • If you're focused on file from project A and change tabs to a file from project B, the title bar will update, showing project B as the active one.
  • The content you'll see in the branch picker will correspond to the currently active project
  • It's still possible to reach the "Recent Projects" picker through the project dropdown
  • It's possible to do all interactions (trigger dropdown, select active project, and remove project from workspace) with the keyboard
Screenshot.2026-01-12.at.2.59.mp4

Note that this entire UX is valid only for a multiple folder workspace scenario; nothing changes for the single project case.

Release Notes:

  • Workspace: Improved the UX of working with multiple projects in the same workspace through introducing a project dropdown that more clearly shows the currently active project as well as allowing you to change it.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 12, 2026
@danilo-leal danilo-leal merged commit c9003e1 into main Jan 13, 2026
23 of 24 checks passed
@danilo-leal danilo-leal deleted the multi-project-switcher branch January 13, 2026 21:48
danilo-leal added a commit that referenced this pull request Feb 12, 2026
…48989)

Follow-up to #46641.

In the PR linked above, I had introduced a dropdown that'd show up in
the title bar when the workspace contained more than one project.
Although that helped improve the multi-project use case, it created some
quirky designs:

- The project dropdown and the recent project pickers looked too
different from one another
- The transition between the 2 project case to the 1 project scenario,
from the dropdown, was not great, because you'd be then seeing the
bigger recent projects picker
- The `workspace: switch project` action was still reachable in the
command palette even if you had one project in the workspace

So, what this PR does is essentially fixing all of this by consolidating
it all in the Recent Projects picker. If you are in a multi-project
scenario, the picker will display a section with all of the projects on
the workspace allowing you to activate each one of them. The picker also
looks simpler when you reach it by clicking on the project name in the
title bar, as opposed to through the keybinding. I've then removed the
project dropdown code as well as the action, given we don't need them
anymore due to the consolidation. Lastly, I tackled the inconsistent
wording used between "Folders", "Projects", and "Workspaces".

Here's the result:


https://github.com/user-attachments/assets/9d8ef3e3-e57b-4558-9bc0-dcc401dec469

- [x] Code Reviewed
- [x] Manual QA

Release Notes:

- Workspace: Improved the recent projects picker by making it also
display active projects in case of a multi-project workspace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant