Piotr Osiewicz
c191943849
Add basic call/user UI in top-right corner.
...
Allow ui::Avatar to take custom data instead of always relying on URI resolution
2023-11-23 15:00:13 +01:00
Mikayla
6e84d8fbc0
Merge branch 'main' into panic-hunting
2023-11-22 13:47:17 -08:00
Mikayla
eb74ad7caa
Fix failing test
2023-11-22 13:41:48 -08:00
Piotr Osiewicz
6da57cbc6e
Decouple workspace from call ( #3380 )
...
This PR decouples `call2` from `workspace2` in order to improve our
compile times.
Why pick such a small, innocent crate as `call`? It depends on
`live_kit_client`, which is not-so-innocent and is in fact stalling our
clean builds.
In this PR, `call2` depends on `workspace2`; workspace crate defines a
`CallHandler` trait for which the implementation resides in `call`; it
it then all tied together in `zed`, which passes a factory of `Box<dyn
CallHandler>` into workspace's `AppState`.
Clean debug build before this change: ~1m45s
Clean debug build after this change: ~1m25s
Clean release build before this change: ~6m30s
Clean release build after this change: ~4m30s
~Gonna follow up with release timings where I expect the change to be
more impactful (as this allows 2/3 of the infamous trio of
"project-workspace-editor" long pole to proceed quicker, without being
blocked on live-kit-client build script)~.
This should have little effect (if any) in incremental scenarios, where
live_kit_client is already built.
[release
timings.zip](https://github.com/zed-industries/zed/files/13431121/release.timings.zip )
Release Notes:
- N/A
2023-11-22 22:31:47 +01:00
Julia
62b1843704
zed1: Cancel completion resolution when new list ( #3389 )
...
Release Notes:
- Fixed a bug where Zed would continue to request documentation for
completion lists which were stale or no longer visible.
2023-11-22 14:23:09 -05:00
Julia
f0c7b3e6ee
Update copilot when we are the last task
2023-11-22 14:03:43 -05:00
Antonio Scandurra
2611b5d6d7
Fix positioning editor2's context menu when scrolling up/down ( #3388 )
...
Release Notes:
- N/A
2023-11-22 19:56:36 +01:00
Piotr Osiewicz
b45234eece
Fix warnings in unimplemented function
2023-11-22 19:24:38 +01:00
Piotr Osiewicz
fa74c49dbb
Add dummy call handler for tests
2023-11-22 19:23:58 +01:00
Julia and Max Brunsfeld
9abce4bdd9
zed1: Cancel completion resolution when new list
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-11-22 13:16:52 -05:00
Joseph T. Lyons
10c4df20e9
collab 0.29.0
2023-11-22 13:05:29 -05:00
Antonio Scandurra
524f892fb0
Correctly swap position of context menu
2023-11-22 19:02:44 +01:00
Joseph T. Lyons
7b0b87380d
v0.115.x dev
2023-11-22 12:57:32 -05:00
Marshall Bowers
fd5793ddec
Use children for ListItems
2023-11-22 12:44:51 -05:00
Marshall Bowers
031fca4105
Simplify ContextMenu by not storing list components
2023-11-22 12:41:29 -05:00
Marshall Bowers
2c8d243d22
Comment out todo!() to fix panic when opening context menus
2023-11-22 12:41:06 -05:00
Antonio Scandurra
eaf90a4fbd
Fix drawing uniform list elements when scrolling
2023-11-22 18:32:02 +01:00
Antonio Scandurra
8aaa46a1b6
Track scroll in editor's context menu
2023-11-22 17:58:00 +01:00
Antonio Scandurra
bd4a710cef
Use interactivity's base style for UniformList
2023-11-22 17:50:34 +01:00
Antonio Scandurra
f37ace63e0
Initial autocomplete support for editor2 ( #3383 )
...
Release Notes:
- N/A
2023-11-22 16:02:37 +01:00
Antonio Scandurra
2b6e8de11f
Don't perform wrapping in completions
2023-11-22 14:23:09 +01:00
Antonio Scandurra
fff2d7955e
Round up line width
2023-11-22 14:01:22 +01:00
Antonio Scandurra
3a8e9b5697
Avoid holding borrow to editor while painting child elements
2023-11-22 11:40:38 +01:00
Mikayla Maki
c199d92dac
Update main.rs
2023-11-21 18:14:14 -08:00
Mikayla and nathan
469b05684f
Fix a few identity mixups in GPUI
...
co-authored-by: nathan <nathan@zed.dev >
2023-11-21 17:12:32 -08:00
Piotr Osiewicz
7e7a778d11
Move CallFactory into AppState
...
Fix crash caused by double borrow of window handle
2023-11-21 22:04:02 +01:00
Mikayla
e557eb4afe
Fix no window showing up on startup
...
co-authored-by: Marshall <marshall@zed.dev >
2023-11-21 12:45:25 -08:00
Piotr Osiewicz
abe5a9c85f
Finish up decoupling workspace from call
2023-11-21 20:51:53 +01:00
Marshall Bowers
a94cf54aab
Fix storybook ( #3379 )
...
This PR fixes storybook and gets it back into a compiling and running
state.
Release Notes:
- N/A
2023-11-21 14:28:00 -05:00
Piotr Osiewicz
ebccdb64bc
Move CallHandler impl into call2
2023-11-21 20:18:35 +01:00
Piotr Osiewicz
170291ff96
Start decoupling workspace and call crates
2023-11-21 19:57:24 +01:00
Nate Butler
6fe7b22164
UI refinements + Popover ( #3377 )
...
[[PR Description]]
- Update default ui_font_size
- Update toolbar style
- Start on ui::Popover
Release Notes:
- N/A
2023-11-21 13:49:10 -05:00
Marshall Bowers and Nate Butler
1b05aad30c
Extract Story into separate story crate ( #3378 )
...
This PR extracts the `Story` component into a separate `story` crate so
that it can be shared among various crates that define stories.
Release Notes:
- N/A
---------
Co-authored-by: Nate Butler <iamnbutler@gmail.com >
2023-11-21 13:42:00 -05:00
Nate Butler and Marshall Bowers
40a49e6896
Update popover doc
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-21 12:43:56 -05:00
Nate Butler and Marshall Bowers
9a145a4d86
Correctly position popover aside, add list item states
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-21 12:40:48 -05:00
Nate Butler and Marshall Bowers
9f2e3bab9b
Allow popover to take an aside
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com >
2023-11-21 12:26:10 -05:00
Nate Butler
dac7912e87
Start on popover
2023-11-21 12:10:06 -05:00
Marshall Bowers
f4b4bdfd83
ui2: Get component stories compiling again ( #3376 )
...
This PR gets the component stories defined in `ui2` compiling again.
Release Notes:
- N/A
2023-11-21 12:06:25 -05:00
Nate Butler
f04deeb5f9
Document InteractionState
2023-11-21 11:51:15 -05:00
Antonio Scandurra
f2c63781f9
Merge branch 'main' into editor2-autocomplete
...
# Conflicts:
# crates/editor2/src/editor.rs
2023-11-21 17:43:09 +01:00
Nate Butler
bec61123fd
Update toolbar.rs
2023-11-21 11:06:27 -05:00
Marshall Bowers
6cd0bcc578
Fix panic when opening settings in zed2 ( #3375 )
...
This PR fixes a panic that occurs when opening the settings in zed2.
We store the `ThemeRegistry` as a global without wrapping it in an
`Arc`, so we need to retrieve it the same way.
Release Notes:
- N/A
2023-11-21 10:58:52 -05:00
Nate Butler
209fb10731
Remove stories mod until it is re-enabled
2023-11-21 01:36:35 -05:00
Nate Butler
8947438510
Update elevation
2023-11-21 01:23:47 -05:00
Nate Butler
453aa5ffd7
TextColor -> Color
2023-11-21 01:05:29 -05:00
Nate Butler
56d45e72cd
Add Shape enum to avatar component, refactor UITextSize to styles/typography.rs
2023-11-21 00:59:29 -05:00
Nate Butler
205607a9cd
Clean out UI
2023-11-21 00:44:51 -05:00
Piotr Osiewicz
2138715fca
Merge remote-tracking branch 'origin/callback-handles' into search2
2023-11-21 01:16:21 +01:00
Mikayla and Piotrek
a844bf7d41
Fix stories
...
co-authored-by: Piotrek <piotr@zed.dev >
2023-11-20 16:06:10 -08:00
Piotr Osiewicz and Mikayla
3e329861f9
Brave new world awaits
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-11-21 00:47:47 +01:00