zed/crates
Aaron Feickert 4ed3c133cf
Remember active panel after closing dock (#23207)
A recent change in #22730 (to reduce workspace serialization) means that
a dock "forgets" its active panel whenever it is closed. When opened
again, the change in #22346 (which establishes a panel activation order)
takes effect, always opening the highest-priority panel for that dock
instead of the panel the user previously manually activated.

The result is that if you have, say, the outline panel active on the
right dock, and toggle the dock closed and then back open again, the
assistant panel will always appear instead.

This PR reverts part of the change in #22730 to ensure a dock remembers
its active panel when it is closed.

Closes #22923.

Release Notes:

- Fixed an issue where docks did not remember the active panel.
2025-01-17 10:01:50 +02:00
..
activity_indicator
anthropic anthropic: Allow specifying additional beta headers for custom models (#20551) 2025-01-03 23:46:32 +00:00
assets
assistant Add streaming_diff crate (#23264) 2025-01-16 23:12:46 +00:00
assistant2 ui: Track changes to UI font size made via actions with settings (#23265) 2025-01-16 23:28:18 +00:00
assistant_settings Dedupe AssistantSettings (#23190) 2025-01-15 18:52:54 +00:00
assistant_slash_command Move SlashCommandWorkingSet to assistant_slash_command (#23252) 2025-01-16 19:13:30 +00:00
assistant_slash_commands Extract slash commands to their own crate (#23261) 2025-01-16 22:17:07 +00:00
assistant_tool
assistant_tools
audio
auto_update
auto_update_ui Dequalify WindowContext and ViewContext references (#22477) 2024-12-28 23:09:55 +00:00
breadcrumbs chore: Remove outline dependency from breadcrumbs (#22504) 2024-12-30 12:08:26 +00:00
call windows: Make collab run on Windows (#23117) 2025-01-17 09:39:13 +02:00
channel
cli linux: Fix issue with project-specific env not being found via .envrc (direnv) (#22803) 2025-01-08 16:38:19 +00:00
client Migrate more events to telemetry::event (#22178) 2025-01-14 21:00:24 +00:00
clock
collab windows: Make collab run on Windows (#23117) 2025-01-17 09:39:13 +02:00
collab_ui collab_ui: Show the chat panel icon when the chat panel is active (#22593) 2025-01-02 22:53:34 +00:00
collections Move git status out of Entry (#22224) 2025-01-04 01:00:16 +00:00
command_palette
command_palette_hooks
context_server Dequalify WindowContext and AsyncWindowContext identifiers (#22444) 2024-12-28 21:21:32 +00:00
context_server_settings
copilot Show configuration in language server debug logs (#23084) 2025-01-13 21:00:03 +00:00
db
diagnostics Add Diagnostics key context (#23043) 2025-01-13 16:07:04 +00:00
docs_preprocessor
editor editor: Fix editor: copy path not working in SSH remoting (#23235) 2025-01-16 20:47:47 -07:00
evals
extension Add infrastructure for loading icon themes from extensions (#23203) 2025-01-15 23:33:47 +00:00
extension_api
extension_cli
extension_host Add infrastructure for loading icon themes from extensions (#23203) 2025-01-15 23:33:47 +00:00
extensions_ui extensions_ui: Show an error toast when a dev extension fails to install (#22914) 2025-01-09 19:38:16 +00:00
feature_flags Check for predict-edits feature flag, remove is_staff check (#23165) 2025-01-15 13:52:10 +00:00
feedback Dequalify WindowContext and AsyncWindowContext identifiers (#22444) 2024-12-28 21:21:32 +00:00
file_finder Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
file_icons file_icons: Fall back to the default icon theme for icons (#23196) 2025-01-15 22:06:20 +00:00
fireworks zeta: Report Fireworks request data to Snowflake (#22973) 2025-01-10 22:40:54 +00:00
fs Represent git statuses more faithfully (#23082) 2025-01-16 00:01:38 +00:00
fsevent
fuzzy Fuzzy match performance improvements redo (#22561) 2025-01-02 05:31:06 +00:00
git git: Migrate some panel code away from visible_entries (#23251) 2025-01-16 16:32:11 -05:00
git_hosting_providers
git_ui git: Migrate some panel code away from visible_entries (#23251) 2025-01-16 16:32:11 -05:00
go_to_line
google_ai google_ai: Add Gemini 2.0 Flash support (#22665) 2025-01-06 21:28:31 +00:00
gpui windows: Fix app icon loading (#22918) 2025-01-17 07:53:16 +00:00
gpui_macros Improve keymap json schema (#23044) 2025-01-13 02:34:35 +00:00
html_to_markdown
http_client
image_viewer Represent git statuses more faithfully (#23082) 2025-01-16 00:01:38 +00:00
indexed_docs
inline_completion Animate Zeta button while generating completions (#22899) 2025-01-09 15:24:35 +00:00
inline_completion_button Check for predict-edits feature flag, remove is_staff check (#23165) 2025-01-15 13:52:10 +00:00
install_cli
journal
language Make language registry optional in parse_markdown (#23221) 2025-01-16 03:56:46 -07:00
language_extension
language_model Add LM Studio support to the Assistant (#23097) 2025-01-14 20:41:58 +00:00
language_model_selector language_model_selector: Refresh the models when the providers change (#22624) 2025-01-03 19:38:08 +00:00
language_models Add LM Studio support to the Assistant (#23097) 2025-01-14 20:41:58 +00:00
language_selector
language_tools Show configuration in language server debug logs (#23084) 2025-01-13 21:00:03 +00:00
languages Add "tool" support to go.mod (#22995) 2025-01-15 17:44:28 +02:00
livekit_client windows: Make collab run on Windows (#23117) 2025-01-17 09:39:13 +02:00
livekit_client_macos Rename livekit_client_macos test_app to suppress warnings (#22719) 2025-01-06 19:17:53 +00:00
livekit_server
lmstudio Add LM Studio support to the Assistant (#23097) 2025-01-14 20:41:58 +00:00
lsp lsp: Parse LSP messages on background thread - again (#23122) 2025-01-14 13:50:54 +00:00
markdown Do not show copy buttons in editor's hover popovers (#22962) 2025-01-10 14:16:52 +00:00
markdown_preview
media
menu
multi_buffer Fix outline items navigation (#22890) 2025-01-09 10:25:02 +00:00
node_runtime
notifications
ollama Add ollama phi4 context size defaults (#23036) 2025-01-15 17:44:15 +02:00
open_ai
outline ui: Track changes to UI font size made via actions with settings (#23265) 2025-01-16 23:28:18 +00:00
outline_panel Represent git statuses more faithfully (#23082) 2025-01-16 00:01:38 +00:00
paths
picker Improve keymap json schema (#23044) 2025-01-13 02:34:35 +00:00
prettier Show configuration in language server debug logs (#23084) 2025-01-13 21:00:03 +00:00
project vim: ! support (#23169) 2025-01-16 21:19:15 -07:00
project_panel project_panel: Fix crash when adding a new file or directory to the first folded directory (#23217) 2025-01-16 23:34:44 -07:00
project_symbols
prompt_library Extract PromptStore and PromptBuilder to new prompt_library crate (#23254) 2025-01-16 20:06:16 +00:00
proto Represent git statuses more faithfully (#23082) 2025-01-16 00:01:38 +00:00
recent_projects Fix empty title in Recent Projects (#21952) 2025-01-07 03:45:38 +00:00
refineable
release_channel chore: Remove explicit usages of once_cell in favor of std (#22407) 2024-12-25 00:33:26 +00:00
remote ssh remoting: Improve error message if netcat is missing (#22767) 2025-01-07 13:16:52 +00:00
remote_server deps: Bump smol to 2.0 (#22956) 2025-01-10 13:38:00 +00:00
repl terminal: Drain task output on completion (#23085) 2025-01-17 08:00:53 +00:00
reqwest_client
rich_text
rope
rpc Remove commented-out code (#23089) 2025-01-13 21:02:45 +00:00
search Improve keymap json schema (#23044) 2025-01-13 02:34:35 +00:00
semantic_index Add LM Studio support to the Assistant (#23097) 2025-01-14 20:41:58 +00:00
semantic_version
session
settings Add VIM_KEYMAP_PATH constant (#23228) 2025-01-16 11:31:01 +00:00
settings_ui
snippet
snippet_provider
snippets_ui
sqlez
sqlez_macros
story story: Use itertools as a workspace dependency (#22919) 2025-01-09 21:19:17 +00:00
storybook Dequalify WindowContext and ViewContext references (#22477) 2024-12-28 23:09:55 +00:00
streaming_diff Add streaming_diff crate (#23264) 2025-01-16 23:12:46 +00:00
sum_tree Move git status out of Entry (#22224) 2025-01-04 01:00:16 +00:00
supermaven Animate Zeta button while generating completions (#22899) 2025-01-09 15:24:35 +00:00
supermaven_api
tab_switcher Represent git statuses more faithfully (#23082) 2025-01-16 00:01:38 +00:00
task Refactor shell wrapping (#23108) 2025-01-15 08:45:48 -07:00
tasks_ui Refactor file icons to use IconTheme (#23153) 2025-01-14 22:49:36 +00:00
telemetry
telemetry_events Improve Linux panic reporting (#22202) 2024-12-22 08:20:17 +00:00
terminal terminal: Drain task output on completion (#23085) 2025-01-17 08:00:53 +00:00
terminal_view ui: Track changes to UI font size made via actions with settings (#23265) 2025-01-16 23:28:18 +00:00
text Support diagnostic navigation in multibuffers (#22620) 2025-01-03 18:07:56 +00:00
theme ui: Track changes to UI font size made via actions with settings (#23265) 2025-01-16 23:28:18 +00:00
theme_extension Add infrastructure for loading icon themes from extensions (#23203) 2025-01-15 23:33:47 +00:00
theme_importer deps: Bump indexmap to 2.0 (#22567) 2025-01-02 12:07:46 +00:00
theme_selector
time_format
title_bar Make Linux audio public (#23191) 2025-01-15 20:54:32 +02:00
toolchain_selector
ui ui: Track changes to UI font size made via actions with settings (#23265) 2025-01-16 23:28:18 +00:00
ui_input
ui_macros
util Implement better markdown escaping and inline code escape (#23222) 2025-01-16 11:06:57 +00:00
vcs_menu Only count existing branches in picker search (#22908) 2025-01-09 18:55:19 +00:00
vim vim: ! support (#23169) 2025-01-16 21:19:15 -07:00
vim_mode_setting
welcome ui: Update Checkbox design (#22794) 2025-01-07 21:11:39 +00:00
workspace Remember active panel after closing dock (#23207) 2025-01-17 10:01:50 +02:00
worktree git: Migrate some panel code away from visible_entries (#23251) 2025-01-16 16:32:11 -05:00
zed ui: Track changes to UI font size made via actions with settings (#23265) 2025-01-16 23:28:18 +00:00
zed_actions Improve keymap json schema (#23044) 2025-01-13 02:34:35 +00:00
zeta ui: Track changes to UI font size made via actions with settings (#23265) 2025-01-16 23:28:18 +00:00