Commit Graph
14939 Commits
Author SHA1 Message Date
Antonio Scandurra 42388b2ae3 WIP 2023-11-29 18:18:15 +01:00
Antonio Scandurra aff62ff89e WIP: preserve aspect ratio of images 2023-11-28 17:33:11 +01:00
Antonio ScandurraandJulia fd4a8afc92 Introduce surface rendering
Co-Authored-By: Julia <julia@zed.dev>
2023-11-28 16:47:31 +01: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 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
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 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
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
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
Antonio Scandurra 5cb61e69bd Start on hover popover 2023-11-27 18:56:37 +01:00
Nate Butler 2e3b0dae03 revert popover changes
[no ci]
2023-11-27 11:51:42 -05:00
Conrad Irwin 0af055cf20 gpui2: Notifications (#3407)
Release Notes:

- N/A
2023-11-27 09:22:31 -07:00
Nate Butler bbd52e9f26 Checkpoint - try using overlay for completions popover
[no ci]
2023-11-27 11:22:19 -05:00
Nate Butler de108334cb Start on completions styles 2023-11-27 10:29:29 -05:00
Kirill Bulatov 6b090959a0 Slightly less errors in terminal_element2 2023-11-27 16:55:48 +02:00
Piotr Osiewicz 5e29ed890c Fix some more warnings 2023-11-27 15:49:47 +01:00
Piotr Osiewicz f3a22a282e fixup! Use AppContext instead of AsyncWindowContext to quit 2023-11-27 15:47:00 +01:00
Piotr Osiewicz 7dcc29860d Use AppContext instead of AsyncWindowContext to quit
Fixes refcell-related panic
2023-11-27 15:44:19 +01:00
Nate Butler efd2d9ff2a UI progress (#3405)
[[PR Description]]

- Start outlining unfinished elements in `gpui::red()`
- Update tabs so they don't jump when activated
- Mock out a number of ui elements we haven't started yet.

Release Notes:

- N/A
2023-11-27 09:25:52 -05:00
Antonio Scandurra f8f4cd13af Finish autocomplete (#3404)
![image](https://github.com/zed-industries/zed/assets/482957/f1f40bec-4e8b-457b-8801-ce10ecb6fc80)


TODO:

- [x] Respect max height imposed by editor element
- [x] Ensure mouse down event handler in `EditorElement` doesn't prevent
links from being clicked

Release Notes:

- N/A
2023-11-27 15:24:59 +01:00
Antonio Scandurra b010dedcc5 Prevent mousedown on docs from being propagated to the editor 2023-11-27 15:15:57 +01:00
Piotr Osiewicz 3aaebdc040 Add deafening support 2023-11-27 15:12:13 +01:00
Nate Butler f4b6b013ab Update theme2.rs 2023-11-27 09:11:51 -05:00
Piotr Osiewicz dc43215f0c Use facepile for avatars 2023-11-27 14:56:51 +01:00
Antonio Scandurra 067e9244f9 Pass max height manually 2023-11-27 14:56:46 +01:00
Piotr Osiewicz e50b80fdce Replace unrendered frame with a frame counter
Move facepile to the left hand side
2023-11-27 13:02:21 +01:00