zed/crates/title_bar
Danilo Leal cd2248f76e
title_bar: Add "panel layout" menu to the user menu (#54771)
Closes https://github.com/zed-industries/zed/issues/54545

With the release of the parallel agents feature, we changed the default
panel positions optimizing for an agentic-first layout. Even though we
introduced a settings backfill _and_ the ability to revert after
interacting with the announcement toast, this change seems to be causing
a bit of frustration still. In response, this PR adds a "Panel Layout"
menu in the user menu that allows to quickly toggle between the
"Classic" layout and the "Agentic" layout. If you have a different set
up, you'll see a "custom" item there just confirming that.

| Panel Layout | Custom set up |
|--------|--------|
| <img width="1110" height="866" alt="Screenshot 2026-04-24 at 12 
52@2x"
src="https://github.com/user-attachments/assets/197fc4ec-b4b3-4b13-bcb3-9d3495cf0d0a"
/> | <img width="1156" height="866" alt="Screenshot 2026-04-24 at 12 
55@2x"
src="https://github.com/user-attachments/assets/ca791b1b-eb6a-47a9-8aa5-c2015f33e5bd"
/> |

Release Notes:

- Added a menu item in the user menu called "Panel Layout" which offers
the ability to quickly swap between the two standard panel layouts:
classic (project panel, git panel, etc., on the left) and agentic (agent
panel on the left, everything else on the right).
2026-04-24 12:47:15 +00:00
..
src title_bar: Add "panel layout" menu to the user menu (#54771) 2026-04-24 12:47:15 +00:00
build.rs Fix title bar spacing when building on the macOS Tahoe SDK (#45351) 2025-12-19 12:19:04 +00:00
Cargo.toml title_bar: Add "panel layout" menu to the user menu (#54771) 2026-04-24 12:47:15 +00:00
LICENSE-GPL