zed/crates
Nathan Sobo 4f6bef5b63
Improve interaction between clicking and dragging (#3737)
Once a drag starts, we won't fire click listeners or style any elements
as active.

- Don't fire click listeners or show active state once a drag is in
progress
- Don't show hover style when a drag is in progress
- Draw borders above content
- If borders are opaque, apply them to the content mask. This prevents
hovers from firing on content underneath the border, which was creating
issues where the drag handle was inside the border, so we'd flicker the
hover when the mouse moved out of the drag handle and into the 1px
border on the left dock.
- Add a `block_mouse` helper which causes transparent elements to paint
an "opaque" layer to prevent mouse events from falling through. We use
this for the drag handle as well to disable hover, click, etc on items
in the panel.

Release Notes:

- N/A
2023-12-20 19:31:06 -07:00
..
activity_indicator
activity_indicator2 Reintroduce LSP diagnostic/status message 2023-12-19 18:38:25 -05:00
ai Add gpt-4-1106-preview model 2023-11-14 08:28:57 -05:00
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 Fix typo in "Quote Selection" tooltip (#3721) 2023-12-19 16:21:58 -05:00
audio
audio2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
auto_update WIP: 2023-11-17 12:54:16 -08:00
auto_update2 Merge branch 'main' into user-menu 2023-12-14 20:18:20 -07:00
breadcrumbs
breadcrumbs2 Show the correct outline when clicking on a breadcrumb 2023-12-11 14:01:16 +01:00
call Add timestamp delta to telemetry events 2023-11-19 21:52:28 -05:00
call2 Revert "Decouple workspace from call (#3380)" 2023-12-04 17:05:44 -08:00
channel Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
channel2 Start changing Avatar to use URI 2023-12-12 11:27:40 -05:00
cli Code to allow opening zed:/channel/1234 2023-10-05 14:57:45 -07:00
client Disable instance handshake in dev builds 2023-12-04 09:16:04 -05:00
client2 Don't hang the app when signing in offline 2023-12-13 15:52:43 -07:00
clock
collab collab 0.32.0 2023-12-20 13:15:44 -05:00
collab2 Add backtrace hash to collab server panic api 2023-12-18 11:12:23 -05:00
collab_ui Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
collab_ui2 Ensure that views' on_release callbacks are always called (#3747) 2023-12-20 16:45:37 -08: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 bug where vim commands were copied on each update_matches 2023-12-15 11:59:06 -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 Change from try (reserved keyword) to maybe 2023-10-25 07:10:21 -07:00
db2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
diagnostics Exclude gitignored files' diagnostics from project panel and its indicator. 2023-11-30 15:46:30 +02:00
diagnostics2 Reintroduce LSP diagnostic/status message (#3728) 2023-12-20 12:23:36 -05:00
drag_and_drop Fix bug in channel rendering 2023-09-20 16:40:29 -07:00
editor Port to gpui1 2023-12-11 12:28:22 +02:00
editor2 Apply more fixes to the visual part 2023-12-20 18:23:08 +02: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 Use bitflags to hold error states 2023-12-14 17:22:13 -05:00
file_finder For file finder queries, search in all gitignored worktree entries 2023-12-21 02:21:27 +02:00
file_finder2 For file finder queries, search in all gitignored worktree entries 2023-12-21 02:21:27 +02:00
fs Revert unnecessary style changes 2023-10-12 16:17:41 +03:00
fs2 port rope2 to zed2 2023-11-03 12:15:23 -04:00
fsevent
fuzzy Ignore history items' paths when matching search queries 2023-10-09 23:14:32 +03:00
fuzzy2 Start on wiring up render_parsed_markdown 2023-11-24 17:28:59 +01:00
git
git3 git -> git3 2023-11-02 19:18:01 -06:00
go_to_line
go_to_line2 Ensure that on_release callbacks are called even if view outlives its window 2023-12-20 16:01:52 -08:00
gpui Implement most core actions 2023-11-14 00:06:33 -08:00
gpui2 Improve interaction between clicking and dragging (#3737) 2023-12-20 19:31:06 -07:00
gpui2_macros Add new drag API 2023-12-13 13:40:19 -08:00
gpui_macros Suppress unused vars warning generated by gpui macro 2023-11-04 13:54:37 +02:00
install_cli
install_cli2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
journal
journal2 please work 2023-11-18 10:46:35 -08:00
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 Reduce max log lines, clean log buffers better 2023-10-17 21:47:21 +03:00
language_tools2 Close syntax tree view menu on click too 2023-12-20 18:28:32 +02:00
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 Fix notifications for membership changes too 2023-10-19 23:05:06 -06:00
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 Extract multi_buffer module out of editor (#3170) 2023-10-25 19:31:47 +02:00
multi_buffer2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
node_runtime Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
notifications Load more notifications when scrolling down 2023-10-22 17:10:21 +02:00
notifications2 Add notifications2 2023-11-08 21:23:31 -08:00
outline
outline2 Focus editor when confirming outline item 2023-12-11 14:18:46 +01:00
picker Ensure the picker waits for pending updates 2023-09-20 20:44:26 -06:00
picker2 Implement channel modal 2023-12-19 12:02:35 -08: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 Do not panic on non-worktree file indexing 2023-12-18 13:10:26 +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 Restore "reveal in project panel" and "search in directory" context menu actions 2023-12-21 01:07:05 +02:00
project_symbols Add local next LSP adapter 2023-09-21 18:09:02 -07:00
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 chore: Remove 'db' dependency from recent_projects2 (#3740) 2023-12-20 20:38:37 +01:00
refineable Generalize Refineable derive macro to derive arbitrary traits on the refinement type 2023-11-09 13:23:31 -08:00
rich_text Account for markdown styling in mentions offset calculation. 2023-10-23 12:50:57 +02:00
rich_text2 Start work on rendering formatted chat messages 2023-12-08 15:44:27 -08:00
rope Port buffer reload bug fixes back to gpui1 crates 2023-11-16 16:03:14 -08:00
rope2 Fix race conditions and bugs in Buffer::reload 2023-11-16 16:03:14 -08:00
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 Add large variant for buttons 2023-12-20 18:47:22 -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 WIP 2023-11-16 10:40:02 +02:00
sqlez_macros
story Use updated story container in Text story 2023-12-14 17:38:22 -05:00
storybook2 Add ToggleButton component 2023-12-20 18:23:21 -05:00
sum_tree
terminal Add Nushell support to venv activation 2023-10-01 23:38:30 -04:00
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 Style links in terminal (#3736) 2023-12-20 10:57:15 -05:00
text Don't depend on gpui2 in text 2023-11-03 14:53:08 +01:00
text2 port rope2 to zed2 2023-11-03 12:15:23 -04:00
theme Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
theme2 Map textLink.activeForeground from VS Code to link_text_hover 2023-12-19 18:29:27 -05:00
theme_importer Map textLink.activeForeground from VS Code to link_text_hover 2023-12-19 18:29:27 -05:00
theme_selector
theme_selector2 Restore namespace parameter to actions! 2023-12-09 15:18:31 -07:00
ui2 Add large variant for buttons 2023-12-20 18:47:22 -05:00
util Begin porting the PaneAxis element 2023-12-07 17:16:19 -08:00
vcs_menu vcs_menu: Fix a circular view handle in modal picker. 2023-10-25 18:34:14 +02:00
vcs_menu2 Popover buttons titlebar (#3732) 2023-12-20 12:47:53 +01:00
vim hah, oops 2023-12-12 18:54:35 -07:00
vim2 Ensure that on_release callbacks are called even if view outlives its window 2023-12-20 16:01:52 -08:00
welcome Checkpoint 2023-10-23 11:06:58 +02:00
welcome2 Center text on welcome screen (#3699) 2023-12-18 13:35:05 -05:00
workspace Rework the way project panel auto reveals entries 2023-12-12 11:38:51 +02:00
workspace2 Improve interaction between clicking and dragging (#3737) 2023-12-20 19:31:06 -07:00
xtask
zed Remove nightly from zed1 and use proper namespaces for nightly in zed2 manifest 2023-12-21 01:18:00 +02:00
zed2 Ensure that views' on_release callbacks are always called (#3747) 2023-12-20 16:45:37 -08:00
zed_actions2 Implement user menu 2023-12-13 14:14:03 -07:00
zed-actions Port journal to GPUI2 2023-10-28 11:37:25 -04:00