Mikayla Maki
b60c8a4cee
Document more gpui ( #4187 )
...
Also add several `TODO!(docs)` comments to places that need more
feedback.
Release Notes:
- N/A
2024-01-21 15:10:04 -08:00
Mikayla
91ecd8a9ad
Restore erronously removed APIs
2024-01-21 14:33:34 -08:00
Mikayla
5383377472
Fix typos, mark docs related todos in GPUI
2024-01-21 14:28:40 -08:00
Mikayla
25f5c4aa1a
Document / lockdown more of GPUI
2024-01-21 14:26:45 -08:00
Joseph T. Lyons
b5de3730ad
Dont group messages after certain period of time
2024-01-21 16:08:41 -05:00
Joseph T. Lyons
b0892cf7f7
Fix chat timestamps
2024-01-21 15:15:17 -05:00
Piotr Osiewicz
a8f1c15a1e
chore: Fix clippy::needless_borrow up to an editor
2024-01-21 15:03:24 +01:00
Piotr Osiewicz
160adfe8f9
chore: use WindowContext in Workspace where it is a sufficient context type
2024-01-21 14:28:19 +01:00
Thorsten Ball
2edbfac197
When searching in visual mode switch to normal mode ( #4178 )
...
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.
2024-01-21 08:42:47 +01:00
Joseph T. Lyons
0b6c6919f4
Add some initial testing to telemetry ( #4182 )
...
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
2024-01-20 23:37:11 -05:00
Joseph T. Lyons
f6ddf469eb
Merge branch 'main' into add-telemetry-tests
2024-01-20 23:28:01 -05:00
Joseph T. Lyons
60065c80db
Add some initial testing to telemetry
2024-01-20 23:23:52 -05:00
Mikayla
ce91c04d2f
Fix issues in element comment
2024-01-20 20:19:01 -08:00
Mikayla
881ea4c41b
Fix compile issue
2024-01-20 20:15:43 -08:00
Mikayla
6ac33dad51
Document the canvas and div
2024-01-20 20:15:23 -08:00
Mikayla
e3ad0f794c
Finish documenting the action, asset, color, and element modules in GPUI
...
Remove SmallVec from the public API of GPUI
2024-01-20 20:15:23 -08:00
Conrad Irwin
023ee8f83d
Updates to chat after Hack#2 ( #4175 )
...
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 ))
2024-01-20 20:03:37 -07:00
Mikayla
860e6cc756
Lock down test platform implementation
2024-01-20 15:03:36 -08:00
Mikayla
67d68085a8
Fix typo
2024-01-20 14:42:38 -08:00
Mikayla
0eaa421c75
Lock down mac os platform type visibility in the rest of GPUI
...
Add documentation to all platform types
2024-01-20 14:38:03 -08:00
Conrad Irwin
d7a7a545d9
Merge remote-tracking branch 'origin/main' into chat-font-size
2024-01-20 14:51:53 -07:00
Conrad Irwin
326bc92666
Render newlines as newlines in chat
2024-01-20 13:45:44 -07:00
Conrad Irwin
9d5e3fe30f
Add a setting "use_autoclose" to control autoclose
...
Also disable autoclose for Chat
2024-01-20 13:33:03 -07:00
Conrad Irwin
37861ed228
Fix placeholder height
2024-01-20 11:12:51 -07:00
Thorsten Ball and Conrad
2832b149be
When searching in visual mode switch to normal mode
...
This matches Neovim behaviour by setting the mode to `Normal` when using
search while in visual mode.
Co-authored-by: Conrad <conrad@zed.dev >
2024-01-20 16:33:07 +01:00
Mikayla
ac8bcd985f
Make platform input handler private
...
Automatically record the context on non-view input handlers
Simplify the async window context update() method
2024-01-20 06:56:19 -08:00
Max Brunsfeld
dfa271e391
Autocomplete mentions ( #4171 )
...
Release Notes:
- Added autocomplete for @-mentions in the chat panel.
2024-01-19 17:03:56 -08:00
Max Brunsfeld
5f2eaa9d66
Make applying of additional completion edits go through the CompletionProvider
2024-01-19 16:56:28 -08:00
Max Brunsfeld
c67b8e55d2
Stop propagation when confirming a completion
2024-01-19 16:02:51 -08:00
Conrad Irwin
50d3584a53
Link previews in chat
2024-01-19 16:59:17 -07:00
Max Brunsfeld
41b617b6ed
Ensure editors context menus get at least 3 lines of height
2024-01-19 15:47:42 -08:00
Marshall Bowers
97f3f84ecd
Prevent breadcrumbs from overflowing the toolbar ( #4177 )
...
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.
2024-01-19 18:23:14 -05:00
Mikayla
0f01d985f8
Fix terminal selection firing when dragging anywhere
2024-01-19 15:02:27 -08:00
Mikayla
45dce3f99e
Fix hover popovers showing up over zoomed panels
2024-01-19 14:52:49 -08:00
Conrad Irwin
2014574849
Make chat font sizes consistently small
2024-01-19 15:27:05 -07:00
Marshall Bowers
3410a0d0f5
Prevent many call participants from overflowing the title bar ( #4173 )
...
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.
2024-01-19 17:21:24 -05:00
Conrad Irwin
7d67f4ec01
Fix positioning of windows on secondary displays ( #4169 )
...
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
2024-01-19 15:02:49 -07:00
Conrad Irwin
41f5141543
Don't toggle WHOLE_WORD in vim search ( #4165 )
...
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).
2024-01-19 15:02:38 -07:00
Conrad Irwin
e4d79d8983
Show cursors sligthly longer
2024-01-19 14:38:17 -07:00
7b9a5a8de1
Start work on autocomplete for chat mentions
...
Co-authored-by: Conrad <conrad@zed.dev >
Co-authored-by: Nathan <nathan@zed.dev >
Co-authored-by: Marshall <marshall@zed.dev >
2024-01-19 13:12:57 -08:00
Conrad Irwin
acdc9e48fd
Merge branch 'main' into fix-notification-positioning
2024-01-19 12:55:52 -07:00
Max Brunsfeld and Conrad
49d9ad73bd
Move the details of completion-resolution logic into Project
...
Co-authored-by: Conrad <conrad@zed.dev >
2024-01-19 11:52:28 -08:00
Conrad Irwin
2d7343f8d2
Fix positioning of windows on secondary displays
...
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
2024-01-19 12:51:59 -07:00
Marshall Bowers
9326d550b1
Add more terminal colors to the theme ( #4168 )
...
This PR adds more terminal colors that were present in the Zed1 themes
to the Zed2 theme.
Namely, we now have the `dim_` variants for the various ANSI colors and
various `foreground` colors.
Release Notes:
- Improved terminal colors.
2024-01-19 14:22:53 -05:00
Marshall Bowers
71da02dba7
Fix documentation labels obscuring other content in completion menu ( #4167 )
...
This PF fixes an issue where the documentation labels in the completion
menu could end up completing obscuring the primary content.
#### Before
<img width="691" alt="Screenshot 2024-01-19 at 1 42 19 PM"
src="https://github.com/zed-industries/zed/assets/1486634/187f2978-08be-4f5e-ba93-91ed09cd6e87 ">
#### After
<img width="704" alt="Screenshot 2024-01-19 at 1 39 45 PM"
src="https://github.com/zed-industries/zed/assets/1486634/e5929c04-bace-4336-b878-4ada5660d235 ">
Since this involved changes to the `ListItem`, I also made sure to test
the other problematic case that was fixed in #3845 to make sure we
didn't regress there:
<img width="665" alt="Screenshot 2024-01-19 at 1 39 11 PM"
src="https://github.com/zed-industries/zed/assets/1486634/14b72d44-b6a6-4aef-a708-37fb60b8875a ">
I also tried to capture these cases in the `ListItem` stories to make it
easier to test all of them at once:
<img width="1141" alt="Screenshot 2024-01-19 at 1 40 03 PM"
src="https://github.com/zed-industries/zed/assets/1486634/333886ff-e394-4cba-89db-98352481c7f6 ">
Release Notes:
- Fixed an issue where documentation labels could obscure other content
in the editor completion menu
([#2419 ](https://github.com/zed-industries/community/issues/2419 )).
2024-01-19 14:01:09 -05:00
Conrad Irwin
2f7859f74d
Fix panic in window open ( #4148 )
...
Fix a panic caused by toggleFullScreen on one window untoggling
full-screen on
another.
I managed to reproduce this only once, which makes me sad, but this
change
should fix it regardless.
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1705631681238979
Release Notes:
- Fixed an occasional panic when opening a new fullscreen window.
2024-01-19 11:08:06 -07:00
Max Brunsfeld
f6903874f7
Start work on API docs for the language crate ( #3981 )
2024-01-19 10:04:45 -08:00
Conrad Irwin
24e1246e74
Don't toggle WHOLE_WORD in vim search
...
Fixes */# in visual mode, and avoids setting up irritating state.
2024-01-19 10:58:55 -07:00
Joseph T. Lyons
89fcb1c745
Rename show cursors to display cursor names ( #4162 )
...
Release Notes:
- N/A
2024-01-19 12:23:27 -05:00
Marshall Bowers
12ceb95358
Style notifications for notification panel ( #4163 )
...
This PR styles the notifications for the notification panel.
These are the notification toasts you receive when you have a new
notification (e.g., a mention in chat):
<img width="423" alt="Screenshot 2024-01-19 at 11 39 16 AM"
src="https://github.com/zed-industries/zed/assets/1486634/a1fc7a67-5aad-4cb2-8dc9-35d302984fcb ">
Release Notes:
- Improved the look of toasts for incoming notifications.
2024-01-19 11:46:28 -05:00