Before this change if you had a matching binding and a pending key,
the matching binding happened unconditionally.
Now we will wait a second before triggering that binding to give you
time to complete the action.
Conrad Irwin
created
2f99586
Do an initial pass on refactoring out ElementContext from WindowContext
7d1cb8b
Dont group chat messages after certain period of time (#4186)
Click to expand commit body
<img width="447" alt="SCR-20240121-ofhg"
src="https://github.com/zed-industries/zed/assets/19867440/7fe13a74-45c7-43ec-a5e8-5127bc285b32">
In this screenshot, the first two messages were sent back-to-back, but
the third message was sent nearly two hours later. Coalescing the
messages doesn't feel right after a certain period of time, as it gives
misleading timestamps on messages. Discord has this feature, but I'm not
sure what the value they use is. I've set the threshold to 5 minutes for
now.
<img width="480" alt="SCR-20240121-oghs"
src="https://github.com/zed-industries/zed/assets/19867440/ee1cfe36-7c13-4072-9f66-93e2de6542f1">
Release Notes:
- Improved the grouping of chat messages from same user. Grouping now
only occurs if the user sends multiple messages, in succession, within a
specified duration of time.
Joseph T. Lyons
created
24f6c43
Dont group messages after certain period of time
A user was not seeing the "yesterday" text in their chat timestamps for
messages right before the midnight boundary
Release Notes:
- Fixed bugs in formatting of chat timestamps
b8ed83a
Refactor key dispatch to work in terms of bindings
Conrad Irwin
created
6c82380
chore: Fix clippy::needless_borrow up to an editor
Piotr Osiewicz
created
c3102fe
chore: use WindowContext in Workspace where it is a sufficient context type
Piotr Osiewicz
created
29e74a6
When searching in visual mode switch to normal mode (#4178)
Click to expand commit body
This matches Neovim behaviour by setting the mode to `Normal` when using
search while in visual mode.
Release Notes:
- Fixed Vim mode not switching to normal mode from visual mode when
using search (`/`) while in visual mode.
Thorsten Ball
created
aa776bc
Add some initial testing to telemetry (#4182)
Click to expand commit body
This doesn't cover everything that should be tested in telemetry, but it
is a start. I'll add more over time.
Release Notes:
- N/A
Joseph T. Lyons
created
634f7f7
Merge branch 'main' into add-telemetry-tests
Joseph T. Lyons
created
decd689
Document the action, asset, color, element, canvas, and div modules (#4181)
Click to expand commit body
That took a while.
I also removed an instance of SmallVec leaking into the public GPUI
APIs.
Release Notes:
- N/A
Release Notes:
- Channels: Improved font sizes in chat
- Channels: Added a link preview when hovering over links in chat
- Channels: Fixed rendering of newlines in chat messages
- Added a new setting "use_autoclose" (defaulting to true) that lets you
disable autoclose per language.
([#1420](https://github.com/zed-industries/community/issues/1420))
([#1903](https://github.com/zed-industries/community/issues/1903))
In the process I also:
- Made the AsyncWindowContext slightly more ergonomic.
- Refactored the input handler traits to enable easy, non-view input
handlers
- Locked down the visibility on all mac-specific GPUI code
- Documented all remaining, public types
Release Notes:
- N/A
4fb3e6d
Ensure editors context menus get at least 3 lines of height
Max Brunsfeld
created
24de848
Prevent breadcrumbs from overflowing the toolbar (#4177)
Click to expand commit body
This PR prevents the breadcrumbs from overflowing the toolbar when its
contents are long:
<img width="1270" alt="Screenshot 2024-01-19 at 6 15 58 PM"
src="https://github.com/zed-industries/zed/assets/1486634/ecee7a42-51ef-43d4-99a1-9c3da784dede">
Release Notes:
- Fixed an issue where long breadcrumbs would overflow the toolbar.
Marshall Bowers
created
107b801
Fix hover popovers showing up over zoomed panels (#4176)
Click to expand commit body
Release Notes:
- Fixes a bug where open popovers would stay over top of zoomed panels,
if already open when the panel is zoomed.
- Fixes a bug where the terminal would create a selection when clicking
the status bar or title bar.
Mikayla Maki
created
25f78a2
Fix terminal selection firing when dragging anywhere
Mikayla
created
eaa0e93
Fix hover popovers showing up over zoomed panels
7620feb
Prevent many call participants from overflowing the title bar (#4173)
Click to expand commit body
This PR fixes an issue where having a lot of participants in a call
could cause the avatars/facepiles to overflow the title bar, pushing the
call controls off-screen.
The participant list will now scroll when it would otherwise exceed the
available space:
https://github.com/zed-industries/zed/assets/1486634/806c77e6-bd4c-4864-8567-92e0960734ee
Release Notes:
- Fixed participant list overflowing the title bar.
Marshall Bowers
created
ac350e9
Fix positioning of windows on secondary displays (#4169)
Click to expand commit body
CGDisplayBounds returns data in "global display coordinates" (which are
the same as Zed's coordinates), different from the NS APIs which use
"screen coordinates" (which have the Y axis inverted)
Also remove some transmutes while we're at it
Release Notes:
- Fixed position of notifications on secondary displays
Conrad Irwin
created
137e219
Don't toggle WHOLE_WORD in vim search (#4165)
Click to expand commit body
Fixes */# in visual mode, and avoids setting up irritating state.
[[PR Description]]
Release Notes:
- vim: Improved `*` and `#` to not toggle Zed's search state. Instead we
now use the regex to identify start and end of words (more like vim).
2 seconds feels a little jittery, lets try a bit longer
Release Notes:
- (Added|Fixed|Improved) ...
([#<public_issue_number_if_exists>](https://github.com/zed-industries/community/issues/<public_issue_number_if_exists>)).