Nate Butler
679851e349
Add render_project_name
and render_project_branch
...
Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
2023-11-30 12:51:55 -05:00
Nate Butler
8d4652a4db
Scaffold out render_project_owner
...
Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
2023-11-30 12:41:17 -05:00
Marshall Bowers
0a8a84f656
Rename button-related enums ( #3463 )
...
This PR renames the `ButtonStyle2` and `ButtonSize2` enums to
`ButtonStyle` and `ButtonSize`, respectively.
Release Notes:
- N/A
2023-11-30 12:04:23 -05:00
Nate Butler
e20309f560
Update collab_titlebar_item.rs
...
[no ci]
2023-11-30 09:44:33 -05:00
Nate Butler
daf6201deb
Start plugging selected states into collab ui
2023-11-30 09:35:37 -05:00
Nate Butler
82b3efa16c
Update collab button styles
2023-11-30 09:12:39 -05:00
Antonio Scandurra
cc0bc444b1
Merge remote-tracking branch 'origin/main' into surfaces
...
# Conflicts:
# crates/ui2/src/components/avatar.rs
2023-11-30 10:48:20 +01:00
Conrad Irwin
4fbbb28da2
Restore logical offset preservation behaviour
2023-11-29 23:51:31 -07:00
Conrad Irwin
54cfcef0aa
Keybaord shortcut context menu
2023-11-29 23:04:33 -07:00
Conrad Irwin
a37f86f294
Scroll the collab panel when keyboard focusing
2023-11-29 22:39:15 -07:00
Nate Butler
92d2048aa4
WIP
2023-11-30 00:28:05 -05:00
Conrad Irwin
8638fc4149
Add a ScrollHandle to gpui2 for the collab panel
2023-11-29 22:20:06 -07:00
Conrad Irwin
012543052b
Add filtering support
2023-11-29 20:58:15 -07:00
Conrad Irwin
4c27f4453c
Merge branch 'main' into collab-panel2
2023-11-29 16:32:25 -07: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
Conrad Irwin
cd60d466b1
Merge branch 'main' into collab-panel2
2023-11-29 15:40:16 -07:00
Conrad Irwin
0eef4d03ed
Scrollyscrolly
2023-11-29 15:30:50 -07:00
Conrad Irwin
4f040208c6
Fix mouse interaction on contact subsections
2023-11-29 15:26:19 -07:00
Conrad Irwin
3bdd51cb2a
Availability indicators
2023-11-29 15:06:58 -07:00
Marshall Bowers
df5de47a78
Make toggle
method accept impl Into<Option<bool>>
( #3446 )
...
This PR makes the `toggle` method on the various list components accept
an `impl Into<Option<bool>>` instead of just an `Option<bool>`.
This allows a caller with just a `bool` avoid having to wrap the
`Option` themselves.
Release Notes:
- N/A
2023-11-29 16:13:41 -05:00
Conrad Irwin
6ab3825ab1
No moar toggleable
2023-11-29 13:25:29 -07:00
Conrad Irwin
87cf0cf5ac
Merge branch 'main' into collab-panel2
2023-11-29 13:09:57 -07:00
Conrad Irwin
7e5aa5ce77
More drag'n'drop fixes
...
Co-Authored-By: Max <max@zed.dev>
2023-11-29 12:35:25 -07:00
Marshall Bowers
e77846d2dc
Rework Toggle
into Toggleable
and ToggleState
2023-11-29 14:33:52 -05:00
Conrad Irwin
e377bd805b
Add channel drag'n'drop
...
Co-Authored-By: Max <max@zed.dev>
2023-11-29 12:24:04 -07:00
Conrad Irwin
41e7653906
Channel Context Menu
2023-11-29 11:39:26 -07:00
Conrad Irwin
ee260a5e24
Progress
2023-11-29 11:06:24 -07: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
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
Conrad Irwin
5fbc60d8da
Inviting/Responding/Creating Channels... etc.
2023-11-28 22:47:04 -07:00
Conrad Irwin
60ce75c34a
Togglable channels, the greatest since sliced bread
2023-11-28 16:52:12 -07:00
Conrad Irwin
4c2348eb53
Fix tests, notify errors
2023-11-28 16:20:54 -07:00
Conrad Irwin
af3fa4ec0b
Basic channel joining!
2023-11-28 16:10:18 -07:00
Conrad Irwin
b13638fa76
Remove debugging
2023-11-28 15:33:44 -07:00
Conrad Irwin
a85e0db1f4
More progress on collab panel
2023-11-28 14:40:32 -07:00
Conrad Irwin
01d3432a40
Merge branch 'main' into collab-panel2
2023-11-28 11:40:58 -07:00
Piotr Osiewicz
6c37393dd1
Add contact finder, change ui::List's on_click handler signature
2023-11-28 14:16:51 +01:00
Conrad Irwin
26121713b3
Show channels and users in the sidebar
2023-11-27 19:57:55 -07:00
Conrad Irwin
4a25fae51e
TEMP
2023-11-27 16:22:01 -07:00
Conrad Irwin
6f839a1b48
Add logged out collab panel
2023-11-27 13:00:12 -07:00
Conrad Irwin
4f885252ab
[Zed2] Collab UI ( #3403 )
...
Release Notes:
- N/A
2023-11-27 12:40:59 -07:00
Piotr Osiewicz
1c2f906e48
Position incoming call notification on right hand side.
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-27 19:37:04 +01:00
Piotr Osiewicz
b2b5df4428
close notification handler proper on accept/decline
...
Co-authored-by: Conrad <conrad@zed.dev>
2023-11-27 18:57:25 +01:00
Piotr Osiewicz
8ca9f4e12a
Fix some more warnings
2023-11-27 15:49:47 +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
714b45157b
Replace unrendered frame with a frame counter
...
Move facepile to the left hand side
2023-11-27 13:02:21 +01:00
Piotr Osiewicz
9590f253a9
Fix warnings
2023-11-27 12:46:07 +01:00
Piotr Osiewicz
5cbe8deb50
Fix up tests
2023-11-27 12:33:44 +01:00
Piotr Osiewicz
481c19fbaf
WIP, frames are being sent to the other end
2023-11-24 17:31:47 +01:00
Piotr Osiewicz
6ebe5d5053
Add mute handling
2023-11-24 15:16:03 +01:00
Nate Butler
7e61d340ce
Outline some unfinished elements
2023-11-24 08:58:49 -05:00
Piotr Osiewicz
f2b62c3946
Start emitting notifications for calls
2023-11-24 00:52:44 +01:00
Piotr Osiewicz
e754c6626d
Allow calling an user, render contacts in collab panel
2023-11-23 16:19:25 +01:00
Piotr Osiewicz
b463454062
Remove redundant comment
2023-11-23 15:03:54 +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
Nathan Sobo
c23f17ee0b
Reorganize element-related traits
2023-11-22 11:19:43 -07:00
Nate Butler
453aa5ffd7
TextColor
-> Color
2023-11-21 01:05:29 -05:00
Conrad Irwin
3e2dba36b4
Merge branch 'main' into callback-handles
2023-11-20 16:28:35 -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
Max Brunsfeld
4f4ef4a357
More fixes for zed nightly ( #3370 )
...
When running `script/bundle` with the new `-2` flag, we needed to adjust
the fat-binary creation step to look for the binary called `Zed2`.
We also fixed a source of intermittent build failures in `script/bundle`
due to running multiple `swift build` processes concurrently for the
`live_kit_client2` crate, building for the two architectures.
Release Notes:
NA
2023-11-20 12:36:25 -08:00
Max Brunsfeld
babd41916a
Remove gpui (1) dependencies from zed2
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-20 10:46:16 -08: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
adc355a1e6
Element refinement passing on ui2
2023-11-18 20:05:47 -07:00
Kirill Bulatov
d352a63d9d
Port new workspace logic to gpui2, uncomment most of the workspace2 tests
2023-11-17 22:54:19 +02:00
Mikayla
9a3cd073c7
Restore a bunch of random workspace stuff
2023-11-16 23:05:28 -08: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
Nate Butler
c2d6d24952
Ensure the titlebar stays large enough even with small ui sizes
2023-11-16 16:01:42 -05:00
Mikayla
9da0b78ead
Merge branch 'main' into tabs-n-splits
2023-11-15 23:41:25 -08:00
Conrad Irwin
0a9fb3978b
Enable panel switching
2023-11-15 21:01:00 -07:00
Conrad Irwin
7f70712dac
Uncomment enough to register the panel
2023-11-15 16:44:21 -07:00
Conrad Irwin
793fa6e3a4
Move placeholder titlebar render to collab_ui
2023-11-15 16:09:21 -07:00
Conrad Irwin
84bcbf1128
Add collab_ui2
2023-11-15 16:08:03 -07:00