ZIm/crates/workspace/src
smit 44c6a54f95
pane: Improve close active item to better handle pinned tabs (#23488)
Closes #22247

- [x] Do not close pinned tab on keyboard shortcuts like `ctrl+w` or
`alt+f4`
- [x] Close pinned tab on context menu action, menu bar action, or vim
bang
- [x] While closing pinned tab via shortcut (where it won't close),
instead activate any other non-pinned tab in same pane
- [x] Else, if any other pane contains non-pinned tab, activate that
- [x] Tests

Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>

Release Notes:

- Pinned tab now stay open when using close shortcuts, auto focuses to
any other non-pinned tab instead.
2025-02-07 22:54:57 +05:30
..
persistence Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
shared_screen Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
dock.rs status_bar: Only show divider for left dock (#24178) 2025-02-04 08:02:29 +00:00
item.rs Rename model based variable names to entity (#24198) 2025-02-04 10:24:35 -08:00
modal_layer.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
notifications.rs Fix undismissed app notifications appearing on new workspaces (#24437) 2025-02-07 10:29:05 +00:00
pane.rs pane: Improve close active item to better handle pinned tabs (#23488) 2025-02-07 22:54:57 +05:30
pane_group.rs Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
persistence.rs Refactor to use SharedString in more places (#23813) 2025-01-28 19:04:21 -05:00
searchable.rs Allow buffer search in project search (#23819) 2025-01-31 00:13:46 -07:00
shared_screen.rs Simplify livekit config so that cargo check Just Works (#21661) 2024-12-06 13:50:59 -08:00
status_bar.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tasks.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
theme_preview.rs Introduce KeybindingHint (#24397) 2025-02-06 21:45:03 +00:00
toolbar.rs Allow buffer search in project search (#23819) 2025-01-31 00:13:46 -07:00
workspace.rs pane: Improve close active item to better handle pinned tabs (#23488) 2025-02-07 22:54:57 +05:30
workspace_settings.rs pane: Add settings to hide the tab bar buttons (#23752) 2025-01-27 21:36:33 -03:00