zed/crates
Piotr Osiewicz da960fffe7
calls: Fix off by one in prompts for leaving a call. (#3649)
We've noticed how leaving a call with multiple windows open would still
prompt with the popup along the lines of "Do you want to leave the
current call?". In Zed1, that popup only showed up when you've had just
one window open.

The code for prompting did not change at all between zed1 and zed2, but
the way we calculate the window count did. Calling AppContext::windows
to get all window handles from WindowContext::update essentially
excluded the window we were updating (that is the window being closed)
from the returned Vec of window handles. I've decided to keep the code
as close to original as possible (as the alternative would be to change
the \# of workspaces needed for a prompt to pop up). We now query the
window handles via a deref to AsyncAppContext, which does not exclude
"our" window handle from the returned results.

Release Notes:

- N/A
2023-12-14 15:35:31 +01:00
..
activity_indicator
activity_indicator2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
ai
ai2 WIP 2023-12-05 19:27:15 +01:00
assistant Add some text to clarify no api key state 2023-11-30 11:20:51 -05:00
assistant2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
audio
audio2
auto_update
auto_update2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
breadcrumbs
breadcrumbs2 Show the correct outline when clicking on a breadcrumb 2023-12-11 14:01:16 +01:00
call
call2 Revert "Decouple workspace from call (#3380)" 2023-12-04 17:05:44 -08:00
channel
channel2 Start changing Avatar to use URI 2023-12-12 11:27:40 -05:00
cli
client Disable instance handshake in dev builds 2023-12-04 09:16:04 -05:00
client2 Finish fixing up Avatar using URI 2023-12-12 11:49:04 -05:00
clock
collab collab 0.31.0 2023-12-13 12:39:29 -05:00
collab2 Start changing Avatar to use URI 2023-12-12 11:27:40 -05:00
collab_ui
collab_ui2 Vcs menu2 (#3648) 2023-12-14 12:36:53 +01:00
collections Use FxHashMap and FxHashSet in hot code paths 2023-12-12 13:35:22 +01:00
command_palette Start out Copilot2; 2023-12-05 14:57:20 +01:00
command_palette2 fix modal exchange (#3620) 2023-12-12 21:30:34 -07:00
component_test
context_menu
copilot Fix assertions now that we use different hash functions 2023-12-12 14:59:51 +01:00
copilot2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
copilot_button
copilot_button2 Remove cx param 2023-12-04 23:35:31 +00:00
db
db2
diagnostics Exclude gitignored files' diagnostics from project panel and its indicator. 2023-11-30 15:46:30 +02:00
diagnostics2 Attempt to remove the dangeous element focus API 2023-12-12 15:07:27 +02:00
drag_and_drop
editor Port to gpui1 2023-12-11 12:28:22 +02:00
editor2 Merge branch 'main' into fix-splits-bugs 2023-12-13 18:29:48 -08:00
feature_flags
feature_flags2 Inviting/Responding/Creating Channels... etc. 2023-11-28 22:47:04 -07:00
feedback Use release channel display name for feedback 2023-12-12 17:29:37 -05:00
feedback2 Avoid unnecessary match 2023-12-13 21:43:21 -05:00
file_finder Trim file_finder input queries 2023-11-30 16:05:45 +02:00
file_finder2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
fs
fs2
fsevent
fuzzy
fuzzy2
git
git3
go_to_line
go_to_line2 Fix opening GoToLine from Command 2023-12-12 20:46:27 -07:00
gpui
gpui2 Remove inconsistency with how GPUI used to handle these events 2023-12-13 18:32:42 -08:00
gpui2_macros Add new drag API 2023-12-13 13:40:19 -08:00
gpui_macros
install_cli
install_cli2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
journal
journal2
language Fix eslint diagnostics by passing worktree root during workspace init 2023-11-30 11:38:16 +02:00
language2 Pass proper theme colors for inlays and suggestions 2023-12-06 21:48:39 +02:00
language_selector
language_selector2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
language_tools
live_kit_client Bump livekit client 2023-12-13 10:47:32 -05:00
live_kit_client2 Bump livekit client 2023-12-13 10:47:32 -05:00
live_kit_server
lsp Declare more supported client capabilities 2023-11-30 12:22:23 +02:00
lsp2 Port to gpui2 2023-11-30 13:07:47 +02:00
media
menu
menu2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
multi_buffer
multi_buffer2
node_runtime Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
notifications
notifications2
outline
outline2 Focus editor when confirming outline item 2023-12-11 14:18:46 +01:00
picker
picker2 Port project_symbols (#3634) 2023-12-13 14:13:25 -07:00
plugin
plugin_macros
plugin_runtime
prettier Clear failed installation task when error threshold gets exceeded 2023-11-29 10:58:22 +02:00
prettier2 Port to gpui2 2023-11-29 11:52:26 +02:00
project Rework the way project panel auto reveals entries 2023-12-12 11:38:51 +02:00
project2 zed2 notification panel (#3603) 2023-12-12 18:04:47 -05:00
project_panel Add tests 2023-12-12 13:34:46 +02:00
project_panel2 Port to gpui2 2023-12-12 13:50:23 +02:00
project_symbols
project_symbols2 Port project_symbols 2023-12-13 13:43:39 -07:00
quick_action_bar Add "Toggle Inlay Hints" quick action (#3520) 2023-12-06 16:14:39 -05:00
quick_action_bar2 buffer search: Fix up rough edges 2023-12-07 12:52:34 +01:00
recent_projects
recent_projects2 collab_ui: Wire up project picker 2023-12-13 17:56:49 +01:00
refineable
rich_text
rich_text2 Start work on rendering formatted chat messages 2023-12-08 15:44:27 -08:00
rope
rope2
rpc Port to gpui1 2023-12-11 12:28:22 +02:00
rpc2 Finalize the command 2023-12-11 12:28:22 +02:00
search Always open new project search view workspace::NewSearch action 2023-12-11 13:11:07 +02:00
search2 Change project search bar flex axis to column (#3647) 2023-12-13 23:02:49 -05:00
semantic_index Use 'any-match?' predicate in elixir embedding query 2023-11-27 15:06:20 -08:00
semantic_index2 Port semantic_index to gpui2 2023-12-05 15:38:36 +01:00
settings
settings2 Merge branch 'main' into vim2 2023-12-11 09:38:23 -07:00
snippet
sqlez
sqlez_macros
story
storybook2 Fix regressions in focus and active support (#3622) 2023-12-13 11:31:37 +01:00
sum_tree
terminal
terminal2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
terminal_view Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
terminal_view2 Add fluent quad API 2023-12-13 13:21:48 -08:00
text
text2
theme
theme2 theme_importer: Fall back to inactive tab background if no active tab background set (#3598) 2023-12-11 17:39:46 -05:00
theme_importer theme_importer: Fall back to inactive tab background if no active tab background set (#3598) 2023-12-11 17:39:46 -05:00
theme_selector
theme_selector2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
ui2 Ensure the outer ListItem element has a unique ID (#3644) 2023-12-13 21:14:21 -05:00
util Begin porting the PaneAxis element 2023-12-07 17:16:19 -08:00
vcs_menu
vcs_menu2 Vcs menu2 (#3648) 2023-12-14 12:36:53 +01:00
vim hah, oops 2023-12-12 18:54:35 -07:00
vim2 And restore the command palette spawn behaviour 2023-12-12 19:27:09 -07:00
welcome
welcome2 Fix vim toggle on welcome 2023-12-12 19:03:54 -07:00
workspace Rework the way project panel auto reveals entries 2023-12-12 11:38:51 +02:00
workspace2 calls: Fix off by one in prompts for leaving a call. (#3649) 2023-12-14 15:35:31 +01:00
xtask
zed v0.118.x dev 2023-12-13 12:24:10 -05:00
zed-actions
zed2 Return include warnings toggle to the diagnostics panel 2023-12-14 10:00:31 +02:00
zed_actions2 Clear out easy todo!()s 2023-12-11 11:00:55 -07:00