Julia
ce16e5b54a
Unbreak toolbar layout & improve disabling ButtonLike
2023-12-01 10:33:44 -05:00
Antonio Scandurra
1abc876c15
Merge remote-tracking branch 'origin/main' into no-more-todos-in-editor
...
# Conflicts:
# crates/editor2/src/items.rs
2023-12-01 12:40:48 +01:00
Antonio Scandurra
8e4f2fb25a
Remove all todos in Editor's Item implementation
2023-12-01 12:32:30 +01:00
Antonio Scandurra
c9be637b6b
Re-introduce auto-height in editor2
( #3471 )
...
Release Notes:
- N/A
2023-12-01 12:02:45 +01:00
Antonio Scandurra
21d3ae603d
Remove stray dbg statements
2023-12-01 11:49:25 +01:00
Conrad Irwin
0441b4805a
Show cursor position in status bar ( #3464 )
...
Passes the compiler so it must work!
(though it doesn't show up until we fix pane focus)
Release Notes:
- N/A
2023-11-30 16:40:42 -07:00
Conrad Irwin
e1c8369b3d
Rename menu_handle
to right_click_menu
and child
to trigger
...
This makes things more in-line with `popover_menu`.
2023-11-30 16:39:43 -07:00
Max Brunsfeld
cb11c1282c
Re-introduce active path tracking in workspace
2023-11-30 14:58:14 -08:00
Max Brunsfeld
a003a91212
Restore auto-save on focus change, re-enable workspace tests
2023-11-30 14:45:27 -08:00
Nate Butler
8b7be8f614
Get feedback2
compiling
...
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com>
2023-11-30 16:07:54 -05:00
Nate Butler
f987a640fd
init feedback2
...
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com>
2023-11-30 15:23:42 -05:00
Max Brunsfeld
c63ca09eed
Reintroduce pane navigation history in zed2
2023-11-30 12:10:25 -08:00
Julia
d516ae0d8a
Pane context menus & focus shenanigans
...
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
2023-11-30 14:01:09 -05:00
Julia
21dfe58ad9
Missing return
2023-11-30 12:23:55 -05:00
Conrad Irwin
75afb65b26
Show cursor position in status bar
2023-11-30 10:16:24 -07:00
Julia
428c517693
Merge branch 'main' into zed2-breadcrumbs
2023-11-30 11:38:29 -05:00
Julia
591299b4c7
Start getting pane focus code ported
2023-11-30 10:47:28 -05:00
Antonio Scandurra
624ea58f2e
Polish screen sharing
2023-11-30 11:22:01 +01:00
Nate Butler
92d2048aa4
WIP
2023-11-30 00:28:05 -05:00
Max Brunsfeld
e49325080c
Implement activity indicator in zed2
2023-11-29 17:18:21 -08:00
Marshall Bowers
bda1dc7721
Use ButtonLike
for breadcrumb ( #3452 )
...
This PR updates the (placeholder) breadcrumb to use the new `ButtonLike`
component.
Eventually this will need custom styling (e.g., syntax highlighting for
the symbol children), which is why we're using a `ButtonLike` as opposed
to a regular `Button`.
Release Notes:
- N/A
2023-11-29 19:21:34 -05:00
Marshall Bowers
04bbd107c1
Fix the selected state for the panel icons in the status bar ( #3450 )
...
This PR fixes a bug where the selected state for the panel icons in the
status bar was not correctly reflecting whether the panel was open.
It was erroneously using the `is_open` state for the context menu.
Release Notes:
- N/A
2023-11-29 18:20:08 -05:00
Marshall Bowers
b357ae4dc3
Add new Button
and IconButton
components ( #3448 )
...
This PR adds new `Button` and `IconButton` components built on top of
our new button abstractions.
Both of these buttons are built from the common `ButtonLike` base, and
implement the `ButtonCommon` (name TBD) trait in order to provide a
common interface.
There are still some visual tweaks that we'll need to make to the new
buttons, but those should be straightforward to make after we land this.
Release Notes:
- N/A
2023-11-29 17:41:44 -05:00
Max Brunsfeld
dbfc7d3555
Merge branch 'main' into project-panel-context-menu
2023-11-29 09:45:31 -08:00
Max Brunsfeld
233aac5573
Make DismissEvent a unit struct
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-29 09:42:54 -08:00
Max Brunsfeld
ac34229118
Add keyboard control over context menus
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-29 09:39:20 -08:00
Nate Butler
a8bf0834e6
Button2 – Part1 ( #3420 )
...
## TODO
- [x] Remove `InteractionState`
- [ ] `Selectable` should use `Selection` instead of a boolean
- [x] Clean out ui2 prelude
- [ ] Build out button2 button types
- [ ] Port old buttons
Release Notes:
- N/A
---------
Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-29 12:23:09 -05:00
Mikayla
a41c857855
Merge branch 'main' into welcome2
2023-11-28 15:38:51 -08:00
Mikayla
d927c2f497
Implement all but the UI
2023-11-28 15:18:19 -08:00
Conrad Irwin
a761e6ca0e
More mouse occlusion work
2023-11-28 09:59:58 -07:00
Conrad Irwin
ca0dcf741f
Use layers to correct mouse event handling too
2023-11-28 00:07:26 -07:00
Conrad Irwin
107c3d7f67
Fix esc in command palette
...
Also: add editor.register_action
2023-11-27 14:32:22 -07:00
Conrad Irwin
4f885252ab
[Zed2] Collab UI ( #3403 )
...
Release Notes:
- N/A
2023-11-27 12:40:59 -07:00
Conrad Irwin
fd165206bf
gpui2: Notifications ( #3407 )
...
Release Notes:
- N/A
2023-11-27 09:22:31 -07:00
Piotr Osiewicz
30af3ffaf3
fixup! Use AppContext instead of AsyncWindowContext to quit
2023-11-27 15:47:00 +01:00
Piotr Osiewicz
44876062c9
Use AppContext instead of AsyncWindowContext to quit
...
Fixes refcell-related panic
2023-11-27 15:44:19 +01:00
Piotr Osiewicz
a71180257d
Add deafening support
2023-11-27 15:12:13 +01:00
Piotr Osiewicz
bf4211b03a
Use facepile for avatars
2023-11-27 14:56:51 +01:00
Piotr Osiewicz
4c1514edc4
fixup! Remove shared_screen from workspace
2023-11-27 12:10:07 +01:00
Piotr Osiewicz
fad1f8db96
Remove shared_screen from workspace
2023-11-27 12:09:36 +01:00
Conrad Irwin
039c933d8e
gpui2: Notifications
2023-11-26 22:28:53 -07:00
Nate Butler
2e61a84bd6
Update tab borders
2023-11-24 16:57:50 -05:00
Piotr Osiewicz
481c19fbaf
WIP, frames are being sent to the other end
2023-11-24 17:31:47 +01:00
Nate Butler
d965ddba27
Start debugging tab borders
2023-11-24 09:33:44 -05:00
Nate Butler
6a3925c3e1
Add copilot icons
2023-11-24 09:22:31 -05:00
Nate Butler
31565a810d
Outline statusbar items
2023-11-24 09:16:19 -05:00
Piotr Osiewicz
6ebe5d5053
Add mute handling
2023-11-24 15:16:03 +01:00
Nate Butler
3c46e81533
More outlines
2023-11-24 09:03:14 -05:00
Nate Butler
7e61d340ce
Outline some unfinished elements
2023-11-24 08:58:49 -05:00
Piotr Osiewicz
e754c6626d
Allow calling an user, render contacts in collab panel
2023-11-23 16:19:25 +01:00
Piotr Osiewicz
390ecb5b0c
Merge branch 'main' into collab_ui-zed2
2023-11-23 15:02:55 +01:00
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
Antonio Scandurra
3b918bfee8
Merge branch 'main' into rename-element-traits
...
# Conflicts:
# crates/gpui2/src/elements/uniform_list.rs
# crates/ui2/src/components/context_menu.rs
# crates/ui2/src/components/list.rs
2023-11-23 12:47:46 +01:00
Mikayla
6e84d8fbc0
Merge branch 'main' into panic-hunting
2023-11-22 13:47:17 -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
Piotr Osiewicz
fa74c49dbb
Add dummy call handler for tests
2023-11-22 19:23:58 +01:00
Nathan Sobo
c23f17ee0b
Reorganize element-related traits
2023-11-22 11:19:43 -07:00
Marshall Bowers
031fca4105
Simplify ContextMenu
by not storing list components
2023-11-22 12:41:29 -05:00
Mikayla
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
Piotr Osiewicz
abe5a9c85f
Finish up decoupling workspace from call
2023-11-21 20:51:53 +01: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
bec61123fd
Update toolbar.rs
2023-11-21 11:06:27 -05:00
Nate Butler
453aa5ffd7
TextColor
-> Color
2023-11-21 01:05:29 -05:00
Piotr Osiewicz
3e329861f9
Brave new world awaits
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-21 00:47:47 +01:00
Piotr Osiewicz
54a3b56935
Merge remote-tracking branch 'origin/callback-handles' into search2
2023-11-21 00:40:20 +01:00
Conrad Irwin
8049ec674e
Fix last thing
2023-11-20 16:35:56 -07:00
Mikayla
2c4d83c9af
WIP
...
co-authored-by: conrad <conrad@zed.dev>
co-authored-by: Nathan <nathan@zed.dev>
2023-11-20 14:46:01 -08:00
Piotr Osiewicz
d60855b06d
Merge branch 'main' into search2
2023-11-20 19:23:35 +01:00
Piotr Osiewicz
3ddfc7ff61
Remove unused import
2023-11-20 18:44:51 +01:00
Piotr Osiewicz
07cc5904f8
Merge branch 'main' into search2
2023-11-20 18:37:41 +01:00
Piotr Osiewicz
c1f0ac30a0
Fix up tests once and for good
2023-11-20 18:24:37 +01:00
Conrad Irwin
f86480ba5d
Merge followup mess
2023-11-20 09:58:05 -07:00
Conrad Irwin
0798cfd58c
Merge branch 'main' into derive-element-redux
2023-11-20 09:15:38 -07:00
Nathan Sobo
33cd6f520a
Clean compile with redesigned element traits
2023-11-18 21:51:47 -07:00
Nathan Sobo
0673606de8
WIP
2023-11-18 20:22:43 -07:00
Nathan Sobo
adc355a1e6
Element refinement passing on ui2
2023-11-18 20:05:47 -07:00
Mikayla Maki
30b7da0e4a
N/t6 ( #3360 )
...
[[PR Description]]
- Fix broken pane group spacing
- Work on diagnostics styling (still wip)
Release Notes:
- N/A
2023-11-17 23:29:18 -08:00
Mikayla
55dbcf2039
Remove unused imports
2023-11-17 23:14:14 -08:00
Nate Butler
f9804feefa
Remove flex_1 from bottom dock to fix pane group spacing
2023-11-18 02:06:51 -05:00
Mikayla Maki
e1285b9780
Add nightly release channel for zed2 ( #3355 )
...
Release Notes:
- N/A
2023-11-17 22:12:18 -08:00
Nate Butler
101fe7fbb5
Update diagnostic status bar tool
2023-11-18 00:54:01 -05:00
Mikayla
dd283b471a
Add autoupdate2
...
co-authoredby: max@zed.dev
2023-11-17 15:48:32 -08:00
Julia
189ddf9380
Merge branch 'main' into unborked-git-zed2-diagnostics-view
2023-11-17 16:43:29 -05:00
Julia
3655a96e54
Merge branch 'main' into unborked-git-zed2-diagnostics-view
2023-11-17 16:32:35 -05:00
Julia
a464a7da2a
Merge branch 'main' into unborked-git-zed2-diagnostics-view
2023-11-17 16:32:35 -05:00
Julia
f4eb219c75
Get diagnostics view almost building in the zed2 world
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-11-17 16:32:35 -05:00
Conrad Irwin
624bd0a05a
Collab ui2 ( #3357 )
...
* Clickable context menus & movable panels – what will they think of
next?!
Release Notes:
- N/A
2023-11-17 13:33:18 -07:00
Conrad Irwin
ceb20dea96
Refactorings
2023-11-17 13:23:12 -07:00
Conrad Irwin
eb04160d2d
Dock menu
2023-11-17 12:14:06 -07:00
Piotr Osiewicz
dca2dc7b6b
Merge branch 'main' into search2
2023-11-17 13:22:30 +01:00
Mikayla
1693718637
Merge branch 'main' into saving-2
2023-11-16 23:11:38 -08:00
Mikayla
9a3cd073c7
Restore a bunch of random workspace stuff
2023-11-16 23:05:28 -08:00
Conrad Irwin
2d1d75f482
+ManagedView
...
And some games with rust traits
2023-11-16 23:02:10 -07:00
Conrad Irwin
6d4276ea5f
Merge branch 'main' into collab_ui2
2023-11-16 22:08:42 -07:00
Conrad Irwin
c0ad15756c
More attachment configuration for context menus
2023-11-16 21:59:23 -07:00
Mikayla Maki
61bd6bab09
Actions‽ ( #3349 )
...
This PR re-implements our actions with macros instead of a blanket impl.
Release Notes:
- N/A
2023-11-16 18:18:04 -08:00
Mikayla
4de2c0f7ef
Re-implement actions as derive macros instead of blanket impls
2023-11-16 17:32:02 -08:00
Conrad Irwin
074a221e0f
Progress on ContextMenu
2023-11-16 16:59:27 -07:00