ZIm/crates
Finn Evers 144487bf1a
theme: Implement icon theme reloading (#24449)
Closes #24353 

This PR implements icon theme reload to ensure file icons are properly
updated whenever an icon theme extension is upgraded or uninstalled.

Currently, on both upgrade and uninstall of an icon theme extension the
file icons from the previously installed version will stay visibile and
will not be updated as shown in the linked issue. With this change, file
icons will properly be updated on extension upgrade or reinstall.

The code is primarily a copy for reloading the current color theme
adapted to work for icon themes. Happy for any feedback!


Release Notes:

- Fixed file icons not being properly updated upon icon theme upgrade or
uninstall.
2025-02-07 11:30:53 -05:00
..
activity_indicator Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
anthropic Solve 50+ cargo doc warnings (#24071) 2025-02-01 06:19:29 +00:00
assets Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
assistant assistant: Unship tool use (#23969) 2025-01-30 19:46:15 +00:00
assistant2 Rename model based variable names to entity (#24198) 2025-02-04 10:24:35 -08:00
assistant_context_editor edit predictions: Preview while holding modifier mode (#24316) 2025-02-06 09:58:19 -03:00
assistant_settings Solve 50+ cargo doc warnings (#24071) 2025-02-01 06:19:29 +00:00
assistant_slash_command Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
assistant_slash_commands windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
assistant_tool Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
assistant_tools Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
audio Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
auto_update Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
auto_update_ui auto_update_ui: Show update notification across workspaces (#23458) 2025-02-06 08:05:41 +00:00
breadcrumbs Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
call Use different commit author for collab project clients (#24058) 2025-01-31 23:25:58 +00:00
channel Rename model based variable names to entity (#24198) 2025-02-04 10:24:35 -08:00
cli Add build SHA to panic reports and zed --version (on nightly/dev) (#24258) 2025-02-06 02:09:24 -07:00
client Revert "Revert "Upgrade to rustls v0.23.22" (#24197)" (#24210) 2025-02-05 14:24:21 -07:00
clock chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
collab Sort Cargo.tomls (#24417) 2025-02-07 02:14:57 +00:00
collab_ui Rename model based variable names to entity (#24198) 2025-02-04 10:24:35 -08:00
collections chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
command_palette Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
command_palette_hooks Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
context_server Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
context_server_settings Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
copilot Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
db Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
deepseek Add DeepSeek support (#23551) 2025-01-27 13:40:59 -05:00
diagnostics lsp: Send DidOpen notifications when changing selections in multi buffer (#22958) 2025-02-07 12:33:35 +01:00
diff Sort Cargo.tomls (#24417) 2025-02-07 02:14:57 +00:00
docs_preprocessor Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
editor Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
evals Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
extension theme: Implement icon theme reloading (#24449) 2025-02-07 11:30:53 -05:00
extension_api chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
extension_cli extension_cli: Include the list of what an extension provides in the generated manifest (#24295) 2025-02-05 18:17:19 +00:00
extension_host theme: Implement icon theme reloading (#24449) 2025-02-07 11:30:53 -05:00
extensions_ui extensions_ui: Add general structure for filtering extensions by what they provide (#24325) 2025-02-06 00:09:37 +00:00
feature_flags Project Diff 2 (#23891) 2025-02-03 13:18:50 -07:00
feedback Enable word wrap in feedback modal (#23893) 2025-01-31 00:13:53 -07:00
file_finder windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
file_icons file_icons: Resolve icon properly for exact file name match (#24396) 2025-02-06 17:14:39 -06:00
fs git: Compute and synchronize diffs from HEAD (#23626) 2025-02-04 15:29:10 -05:00
fsevent Deflake fs::test_event_stream_simple (#24013) 2025-01-30 23:53:36 -07:00
fuzzy windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
git Fixes to commit button in Git Panel (#24425) 2025-02-07 00:21:28 -07:00
git_hosting_providers Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
git_ui Fixes to commit button in Git Panel (#24425) 2025-02-07 00:21:28 -07:00
go_to_line Project Diff 2 (#23891) 2025-02-03 13:18:50 -07:00
google_ai google_ai: Add support for Gemini 2.0 models (#24448) 2025-02-07 11:18:18 -05:00
gpui linux: Fix crash when NoKeymap event is received on Wayland (#24379) 2025-02-07 12:31:46 +05:30
gpui_macros windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
gpui_tokio Make the gpui_tokio crate generic over the context it spawns (#23995) 2025-01-31 02:00:55 +00:00
html_to_markdown Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
http_client Solve 50+ cargo doc warnings (#24071) 2025-02-01 06:19:29 +00:00
image_viewer Add image dimension and file size information (#21675) 2025-02-07 00:56:34 +00:00
indexed_docs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
inline_completion Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
inline_completion_button Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
install_cli Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
journal Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
language Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
language_extension Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
language_model google_ai: Add support for Gemini 2.0 models (#24448) 2025-02-07 11:18:18 -05:00
language_model_selector assistant: Preserve selection focus in the model selector (#23713) 2025-01-27 12:29:08 -03:00
language_models Sort Cargo.tomls (#24417) 2025-02-07 02:14:57 +00:00
language_selector Refactor to use SharedString in more places (#23813) 2025-01-28 19:04:21 -05:00
language_tools Make OpenKeyContextView open to the right (#24452) 2025-02-07 11:20:27 -05:00
languages Sort Cargo.tomls (#24417) 2025-02-07 02:14:57 +00:00
livekit_client Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
livekit_client_macos Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
livekit_server chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
lmstudio lmstudio: Support missing quantization in model metadata (#24054) 2025-01-31 22:28:11 +00:00
lsp Fix #24081 - lsp diagnostic code type conversion (#24347) 2025-02-05 21:23:46 -06:00
markdown markdown: Use parsed text (#24388) 2025-02-06 18:37:50 -08:00
markdown_preview Migrate more events to telemetry::event! macro (#24102) 2025-02-03 16:38:45 +00:00
media chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
menu chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
migrator migrator: Sort dependencies in Cargo.toml (#24455) 2025-02-07 16:10:07 +00:00
multi_buffer Fix pairs of almost-adjacent hunks toggling together (#24355) 2025-02-07 04:18:59 +00:00
node_runtime Pass extra CA certs to node process if env var exists (#23662) 2025-01-30 08:56:02 -08:00
notifications Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
ollama Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
open_ai open_ai: Include o3-mini in Model::from_id (#24261) 2025-02-05 16:45:38 -05:00
outline Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
outline_panel Rename model based variable names to entity (#24198) 2025-02-04 10:24:35 -08:00
panel panel: Remove unneeded lib.name field in Cargo.toml (#24301) 2025-02-05 19:30:06 +00:00
paths Add auto-completion support for snippet files (#23698) 2025-01-27 12:32:22 +01:00
picker Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
prettier windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
project lsp: Send DidOpen notifications when changing selections in multi buffer (#22958) 2025-02-07 12:33:35 +01:00
project_panel Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
project_symbols windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
prompt_library Refactor to use SharedString in more places (#23813) 2025-01-28 19:04:21 -05:00
proto Fixes to commit button in Git Panel (#24425) 2025-02-07 00:21:28 -07:00
recent_projects windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
refineable windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
release_channel Solve 50+ cargo doc warnings (#24071) 2025-02-01 06:19:29 +00:00
remote Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
remote_server Fix build of remote_server when not in git repo (#24424) 2025-02-07 04:35:22 +00:00
repl Rename model based variable names to entity (#24198) 2025-02-04 10:24:35 -08:00
reqwest_client Solve 50+ cargo doc warnings (#24071) 2025-02-01 06:19:29 +00:00
rich_text Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
rope git: Compute and synchronize diffs from HEAD (#23626) 2025-02-04 15:29:10 -05:00
rpc extensions_ui: Add general structure for filtering extensions by what they provide (#24325) 2025-02-06 00:09:37 +00:00
schema_generator Add schema_generator for generating JSON schemas (#23991) 2025-01-31 01:22:10 +00:00
search Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
semantic_index windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
semantic_version chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
session Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
settings Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
settings_ui Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
snippet Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
snippet_provider snippets: Fix snippets not updating while containing comments (#23755) 2025-01-28 10:37:48 +01:00
snippets_ui Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
sqlez Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
sqlez_macros windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
story Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
storybook Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
streaming_diff chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
sum_tree Split conflicts into their own section (#24324) 2025-02-05 18:34:14 -07:00
supermaven Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
supermaven_api Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tab_switcher Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
task Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tasks_ui windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
telemetry chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
telemetry_events Add build SHA to panic reports and zed --version (on nightly/dev) (#24258) 2025-02-06 02:09:24 -07:00
terminal Solve 50+ cargo doc warnings (#24071) 2025-02-01 06:19:29 +00:00
terminal_view Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
text Fix unnecessarily large edits emitted from multi buffer on diff recalculation (#23753) 2025-01-27 18:11:15 -08:00
theme theme: Implement icon theme reloading (#24449) 2025-02-07 11:30:53 -05:00
theme_extension theme: Implement icon theme reloading (#24449) 2025-02-07 11:30:53 -05:00
theme_importer Add schema_generator for generating JSON schemas (#23991) 2025-01-31 01:22:10 +00:00
theme_selector theme_selector: Add a button to open the extension store (#24195) 2025-02-04 14:13:24 +00:00
time_format chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
title_bar Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
toolchain_selector Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
ui Introduce KeybindingHint (#24397) 2025-02-06 21:45:03 +00:00
ui_input Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
ui_macros windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
util Fix #24314 - File icons missing for hidden files (#24391) 2025-02-06 14:26:42 -06:00
util_macros windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
vcs_menu Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
vim Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
vim_mode_setting Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
welcome Migrate more events to telemetry::event! macro (#24102) 2025-02-03 16:38:45 +00:00
workspace Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
worktree Revert "Move git status updates to a background thread (#24307)" (#24415) 2025-02-07 04:46:43 +00:00
zed Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
zed_actions Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30
zeta Migrate keymap and settings + edit predictions rename (#23834) 2025-02-07 21:17:07 +05:30