Commit Graph
25009 Commits
Author SHA1 Message Date
Kirill Bulatov 08dc019824 Use proper npm arguments and clean its inherited env vars 2023-11-28 18:39:03 +02:00
Antonio Scandurra aff62ff89e WIP: preserve aspect ratio of images 2023-11-28 17:33:11 +01:00
Marshall Bowers d3ca1c1421 Render Picker matches using ListItems (#3418)
This PR updates the `PickerDelegate` implementations to render their
matches using the `ListItem` component so that they can have a
consistent style.

At some point it might make sense to move the `ListItem` rendering up
into the `Picker` implementation itself, and just have the delegate
responsible for giving us the inner content of the `ListItem`.

Release Notes:

- N/A
2023-11-28 10:56:27 -05:00
Marshall Bowers a6370091bc Use ListItems in Picker story 2023-11-28 10:52:17 -05:00
Antonio ScandurraandJulia fd4a8afc92 Introduce surface rendering
Co-Authored-By: Julia <julia@zed.dev>
2023-11-28 16:47:31 +01:00
Marshall Bowers 6ee92d1366 Use ListItem when rendering picker matches 2023-11-28 10:44:57 -05:00
Marshall Bowers c9a97782c9 Allow render_match to return an Option to represent no matches 2023-11-28 10:33:13 -05:00
Piotr Osiewicz 3033826942 fixup! Add contact finder, change ui::List's on_click handler signature 2023-11-28 14:37:53 +01:00
Piotr Osiewicz e81e3c4fb3 Add contact finder, change ui::List's on_click handler signature 2023-11-28 14:16:51 +01:00
Conrad Irwin d1cdd512bd Use layers to correct mouse event handling too 2023-11-28 00:07:26 -07:00
Conrad Irwin 8a908df52c Fix hover state when element is occluded 2023-11-27 23:18:25 -07:00
Conrad Irwin 7260a5ef7e Show channels and users in the sidebar 2023-11-27 19:57:55 -07:00
Mikayla Maki 39f40ce22c Add Uiua language and Nu LSP (#3416)
Adds support for Uiua to my favorite editor in advance of AOC and
integrates the new nushell lsp. Change made to both zed1 and zed2.

Release Notes:

- Added support for the integrated Nushell LSP
- Added support for the Uiua language
2023-11-27 18:55:51 -08:00
Mikayla a614cc433c Merge branch 'main' into welcome 2023-11-27 18:55:23 -08:00
Mikayla 8436b634b3 Add uiua and nu languages 2023-11-27 18:46:56 -08:00
Nate Butler 52900b4088 🚧 Completion & Popover Styles 🚧 (#3406)
TODO:

- [ ] Add y axis padding to list instead of popover container
- [x] Combined max-width between completions list and docs
- [ ] Allow docs to be taller than completion list
- [x] Use the workspace bounds to set doc position
- [ ] Clean up markdown styles
- [x] (🐜) Changing items should set doc scroll position to the top
- [x] (🐜) popovers should render on top of all panes
- [ ] (extra) Try adding code block backgrounds to md rendering
- [ ] (extra) Use ui font for markdown text, buffer font for markdown
code.
- [ ] (extra) Try lining up inline code in completions menu

[[PR Description]]

Release Notes:

- N/A
2023-11-27 21:08:21 -05:00
Conrad Irwin f31e301c73 Scaffolding for update notification too (#3410)
Release Notes:

- N/A
2023-11-27 19:05:15 -07:00
Nate Butler 7c497bd783 Update popover.rs 2023-11-27 20:12:20 -05:00
Nate Butler 88aefa344a Merge branch 'main' into completions-styles 2023-11-27 19:22:07 -05:00
Conrad Irwin 4c8c526d85 remove zed1 notification mess (#3415)
Accidentally added while testing zed2

Release Notes:

- N/A
2023-11-27 16:52:51 -07:00
Conrad Irwin f41174a63b remove zed1 notification mess 2023-11-27 16:27:02 -07:00
Conrad Irwin 853b68b456 TEMP 2023-11-27 16:22:01 -07:00
Max Brunsfeld 76e7223108 Upgrade Tree-sitter for stack-overflow bugfix (#3413)
Fixes https://github.com/zed-industries/community/issues/2290

This PR bumps Tree-sitter for
https://github.com/tree-sitter/tree-sitter/pull/2788.

Release Notes:

- Fixed a crash that could happen when opening certain large markdown
files.
2023-11-27 15:13:55 -08:00
Max Brunsfeld 8dfdae14fe Use 'any-match?' predicate in elixir embedding query 2023-11-27 15:06:20 -08:00
Conrad Irwin db268c2f52 Merge branch 'main' into collab-panel2 2023-11-27 15:57:09 -07:00
Conrad Irwin c0ee4bd948 Fix esc in command palette (#3414)
Also: add editor.register_action

Release Notes:

- N/A
2023-11-27 15:47:01 -07:00
Conrad Irwin facea92068 Fix panic on quit 2023-11-27 15:33:47 -07:00
Conrad Irwin 54793808a6 Fix esc in command palette
Also: add editor.register_action
2023-11-27 14:32:22 -07:00
Max Brunsfeld 4dbfdfdf02 Upgrade Tree-sitter for stack-overflow bugfix 2023-11-27 13:16:50 -08:00
JuliaandMax Brunsfeld 54a1ef9697 zed2: Mostly port breadcrumbs & improve StyledText api
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-11-27 16:09:31 -05:00
Piotr Osiewicz 4a0c9db114 fixup! Await toggle of mute 2023-11-27 21:46:03 +01:00
Piotr Osiewicz 7cef1a1fd7 Await toggle of mute 2023-11-27 21:44:53 +01:00
Marshall Bowers 2b2ee71c6c Add ListItem story (#3411)
This PR adds a story for the `ListItem` component, so we can work on it
in isolation.

Release Notes:

- N/A
2023-11-27 15:24:41 -05:00
Piotr Osiewicz 69daeed6e2 call: Restore mute_on_join behaviour 2023-11-27 21:06:06 +01:00
Conrad Irwin 1c29489e88 Add logged out collab panel 2023-11-27 13:00:12 -07:00
Conrad Irwin 36dcc9e0df [Zed2] Collab UI (#3403)
Release Notes:

- N/A
2023-11-27 12:40:59 -07:00
Marshall Bowers 773e62590a Add ListItem story 2023-11-27 14:20:33 -05:00
Marshall Bowers d3a9853728 Fix typo in uniform_list's doc comment 2023-11-27 14:20:27 -05:00
Conrad Irwin fa22b3194a Scaffolding for update notification too 2023-11-27 12:07:26 -07:00
Conrad Irwin 501d6f16f9 Use editor's overlay implementation 2023-11-27 11:49:51 -07:00
Conrad Irwin 87e2899002 Merge branch 'main' into completions-styles 2023-11-27 11:49:39 -07:00
Conrad Irwin 3464eeec2a Break content mask for hoverables (#3409)
Release Notes:

- N/A
2023-11-27 11:49:20 -07:00
Conrad Irwin 88dbbe535a Break content mask for hoverables 2023-11-27 11:43:14 -07:00
Piotr OsiewiczandConrad 61732609d2 Position incoming call notification on right hand side.
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-27 19:37:04 +01:00
Antonio Scandurra 3617adf55c Introduce hover popover in editor2 (#3408)
<img width="1245" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/ba35e43c-82a6-493e-938b-8798352e636d">

Release Notes:

- N/A
2023-11-27 19:28:14 +01:00
Antonio Scandurra 8a7717282e Remove commented out code 2023-11-27 19:19:56 +01:00
Antonio Scandurra f988ee2b7a Use element_hover instead of red 2023-11-27 19:16:06 +01:00
Antonio Scandurra 6c4294d030 Uncomment hover popover tests 2023-11-27 19:14:58 +01:00
Antonio Scandurra 9ea337f290 Show diagnostic hover popover 2023-11-27 19:08:25 +01:00
Piotr OsiewiczandConrad 1203dd01ff close notification handler proper on accept/decline
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-27 18:57:25 +01:00