ZIm/crates/workspace/src
Joseph T. Lyons 24e4446cd3
Refactor item-closing actions (#31838)
While working on 

- https://github.com/zed-industries/zed/pull/31783
- https://github.com/zed-industries/zed/pull/31786

... I noticed some areas that could be improved through refactoring. The
bug in https://github.com/zed-industries/zed/pull/31783 came from having
duplicate code. The fix had been applied to one version, but not the
duplicated code.

This PR attempts to do some initial clean up, through some refactoring.

Release Notes:

- N/A
2025-05-31 19:38:32 -04:00
..
persistence Use read-only access methods for read-only entity operations (#31479) 2025-05-26 23:04:31 -04:00
dock.rs Fix panel button context menu overlap with tooltip hint (#30108) 2025-05-07 12:33:13 +00:00
history_manager.rs History manager (#26369) 2025-04-11 21:34:51 +00:00
item.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
modal_layer.rs editor: Hide mouse context menu when modal is opened (#29127) 2025-04-21 20:13:26 +05:30
notifications.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
pane.rs Refactor item-closing actions (#31838) 2025-05-31 19:38:32 -04:00
pane_group.rs workspace: Ensure pane handle hitbox blocks mouse events (#31719) 2025-05-29 16:35:22 -06:00
persistence.rs zlog: Replace usages of env_logger in tests with zlog (#31436) 2025-05-26 11:48:50 -04:00
searchable.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
shared_screen.rs Add searchable global tab switcher (#28047) 2025-04-28 09:21:27 +00:00
status_bar.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tasks.rs Unify the tasks modal and the new session modal (#31646) 2025-05-29 21:33:52 -04:00
theme_preview.rs Rename debug: commands to dev: (#30675) 2025-05-14 11:15:27 +02:00
toast_layer.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
toolbar.rs Fix toolbar spacing regressions (#29964) 2025-05-05 22:28:35 -03:00
workspace.rs Refactor item-closing actions (#31838) 2025-05-31 19:38:32 -04:00
workspace_settings.rs Add setting to hide onboarding banners (#29709) 2025-05-06 18:54:09 +00:00