zed/assets
Mikayla Maki fc0bfd75ad
Fix usability issues with new panel system. (#2544)
This PR updates the dock key bindings according to the following model:

There are three bits: 
Visible: Opened / closed.
Focus: Panel focused / center focused.
Zoom: Zoomed / Not zoomed.

Each of these variables is 'sticky' in that they won't effect each other
unless they need to. 'Zooming' a panel conceptually merges the visible
and focus bits.

cmd-shift-j/b/r have all been removed.

cmd-j/b/r have been updated to mean 'toggle visibility of a certain
dock', firing them should *always* reveal the panel to you (where you
last left it), or hide it, without moving focus (unless the focused
element is invisible). This means that, when the terminal panel is
zoomed, cmd-j has the same effect as ctrl-`

ctrl-` and cmd-shift-e now toggle a panel's focus, without updating the
zoom state of a panel. Toggling the focus of a zoomed panel causes it to
automatically hide itself, without losing the zoom bit.

When focused or made visible, panels which cannot be zoomed
automatically unzoom everything else so as to preserve user intent of
'show me this panel' and 'everything stays where it is if I don't take
an action'

Release Notes:

- cmd-shift-j/b/r have been removed.  (preview only)
- cmd-j/b/r unconditionally show or hide their associated dock,
respecting zoom settings. (preview only)
- ctrl-` and cmd-shift-e now retain zoom state. (preview only)
- Fixed a bug where terminal dock tab would always be in the active
state (preview only)
- Fixed a bug where terminals would not always open in the terminal
panel
- Changed the look of zoomed panels to fill more of the screen (preview
only)
2023-05-30 16:43:22 -07:00
..
contexts Introduce the ability to talk to GPT-4 within buffers on preview and dev (#2524) 2023-05-25 10:16:06 -04:00
fonts Move assets to their own crate, load keymaps in vim tests 2022-04-11 15:54:52 -07:00
icons Introduce a version control branch icon 2023-05-08 14:33:58 -07:00
keymaps Fix usability issues with new panel system. (#2544) 2023-05-30 16:43:22 -07:00
settings Merge remote-tracking branch 'origin/main' into panels 2023-05-23 08:24:28 +02:00
themes WIP Re-case internal and experiment theme folders 2022-10-21 13:04:24 -04:00