zed/crates
Antonio Scandurra b9ed327b94 Replace usages of is_parent_view_focused with is_self_focused
Previously, this was used because we didn't have access to the current
view and `EventContext` was an element-only abstraction. Now that the
`EventContext` wraps the current view's `ViewContext` we can simply check
for the view's focus and avoid querying ancestors.
2023-05-05 10:08:22 +02:00
..
activity_indicator Remove ViewContext::dispatch_any_action 2023-05-01 14:24:00 +02:00
assets 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
auto_update Use post_json so that the Content-Type is set to application/json 2023-05-02 23:23:43 -04:00
breadcrumbs Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
call 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
cli 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
client Update post_json to take in a bool for allowing for redirects 2023-05-02 23:22:55 -04:00
clock 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
collab Merge branch 'main' into implicit-ancestry 2023-05-04 14:39:58 +02:00
collab_ui Merge branch 'main' into implicit-ancestry 2023-05-04 14:39:58 +02:00
collections Move command palette filter into collections crate 2023-03-28 20:13:17 -07:00
command_palette Ensure querying keystrokes or actions is safe 2023-05-04 09:53:31 +02:00
context_menu Merge branch 'main' into implicit-ancestry 2023-05-04 14:39:58 +02:00
copilot Move methods querying window state into AsyncAppContext 2023-05-02 19:38:48 +02:00
copilot_button Merge branch 'main' into implicit-ancestry 2023-05-04 14:39:58 +02:00
db 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
diagnostics Compute view ancestry at layout time 2023-05-03 16:36:14 +02:00
drag_and_drop Refine naming of element-related types and traits 2023-04-21 13:06:37 -06:00
editor Merge branch 'main' into implicit-ancestry 2023-05-04 17:19:06 +02:00
feedback Merge branch 'main' into copilot-disabled-globs 2023-05-03 10:53:28 -07:00
file_finder 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fs 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy remove commented line 2023-02-27 12:06:10 -08:00
git 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
go_to_line 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
gpui Replace usages of is_parent_view_focused with is_self_focused 2023-05-05 10:08:22 +02:00
gpui_macros Move methods querying window state into AsyncAppContext 2023-05-02 19:38:48 +02:00
install_cli 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
journal Don't allow strong view handles to be read/updated with an AsyncAppContext 2023-04-26 13:36:13 +02:00
language Show source of diagnostic hovers 2023-04-27 14:35:34 -04:00
language_selector Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
live_kit_client 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
live_kit_server 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
lsp 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
lsp_log 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
media 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
menu Remove internal actions from menu crate 2023-04-27 14:29:11 +02:00
node_runtime Source ESLint server from Github rather than 3rd party NPM package 2023-04-28 16:42:36 -04:00
outline Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
picker Avoid re-allocating KeymapContext after every view notification 2023-05-04 12:04:30 +02:00
plugin 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_runtime 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
project Add copilot.disabled_globs setting 2023-05-01 13:45:47 -07:00
project_panel Merge branch 'main' into implicit-ancestry 2023-05-04 14:39:58 +02:00
project_symbols Compute view ancestry at layout time 2023-05-03 16:36:14 +02:00
recent_projects Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
rope 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
rpc Merge pull request #2417 from zed-industries/hover-markdown 2023-04-27 14:15:04 -07:00
search Make focusing the parent an effect to avoid querying ancestors 2023-05-05 10:04:54 +02:00
settings Merge branch 'main' into implicit-ancestry 2023-05-04 14:39:58 +02:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
staff_mode 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sum_tree 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
terminal 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
terminal_view Replace usages of is_parent_view_focused with is_self_focused 2023-05-05 10:08:22 +02:00
text 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
theme Show diagnostic source in diagnostic multibuffer headers 2023-05-01 16:48:27 -04:00
theme_selector Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
theme_testbench 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
util Update post_json to take in a bool for allowing for redirects 2023-05-02 23:22:55 -04:00
vim Avoid calling update_window twice in blurred event handler 2023-05-04 16:18:01 +02:00
welcome Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
workspace Make focusing the parent an effect to avoid querying ancestors 2023-05-05 10:04:54 +02:00
zed v0.86.x dev 2023-05-03 14:38:41 -04:00