Nathan Sobo
83923fd6d5
Clean up Element API and start on docs
2023-12-31 08:33:40 -07:00
Antonio Scandurra
3715ddfa74
Use Pixels
instead of f32
for panel size
2023-12-22 18:26:33 +01:00
Marshall Bowers
824b68788f
Improve chat panel styling ( #3758 )
...
This PR improves the chat panel styling, especially with regards to the
spacing.
Release Notes:
- N/A
2023-12-21 12:15:11 -05:00
Max Brunsfeld
24970c1da9
Fix view handle leaks in ListState callbacks
2023-12-20 16:33:10 -08:00
Marshall Bowers
057b235c56
Implement VisibleOnHover
for IconButton
( #3642 )
...
This PR implements the `VisibleOnHover` trait for `IconButton`s.
I noticed that in a lot of places we were wrapping an `IconButton` in an
extra `div` just so we could call `visible_on_hover` on it. By
implementing the trait on `IconButton` directly it allows us to avoid
the interstitial `div` entirely.
Release Notes:
- N/A
2023-12-13 20:42:27 -05:00
Marshall Bowers
137e4e9251
Add .visible_on_hover
helper method ( #3639 )
...
This PR adds a `.visible_on_hover` helper method that can be used to
make an element only visible on hover.
I noticed we were repeating this similar stanza in a bunch of different
spots:
```rs
some_element
.invisible()
.group_hover("", |style| style.visible())
```
so it seemed like a nice thing to factor out into a reusable utility.
Release Notes:
- N/A
2023-12-13 19:12:20 -05:00
Max Brunsfeld
e09b07ddae
Allow dragging tabs ( #3616 )
2023-12-12 16:20:37 -08:00
Max Brunsfeld
a579713a45
Allow dragging and dropping tabs
...
Co-authored-by: Nathan <nathan@zed.dev>
Co-authored-by: Marshall <marshall@zed.dev>
2023-12-12 15:07:03 -08:00
Julia
44d40625fe
Start changing Avatar to use URI
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2023-12-12 11:27:40 -05:00
Conrad Irwin
4290c67b6a
Restore namespace parameter to actions!
...
This does not yet fix `derive(Action)`, but will conflict with a lot so
wanted to merge quickly.
2023-12-09 15:18:31 -07:00
Max Brunsfeld
e4bc346723
Initialize toggle chat panel action
2023-12-08 16:42:22 -08:00
Max Brunsfeld
049314e84e
Restructure chat message rendering to allow text to wrap
2023-12-08 15:44:27 -08:00
Max Brunsfeld
d03e29d55d
Start work on rendering formatted chat messages
2023-12-08 15:44:27 -08:00
Max Brunsfeld
324aeaa0de
Enable chat panel test, remove comments
2023-12-08 13:08:47 -08:00
Max Brunsfeld
650ca1f39b
Tweak styling of channel header and editor footer in chat panel
2023-12-08 13:04:25 -08:00
Max Brunsfeld
c739906413
Make chat message list fill the available space
2023-12-08 12:31:07 -08:00
Max Brunsfeld
c7d8169cab
Get the chat panel wired up again
2023-12-08 12:31:07 -08:00
Nathan Sobo
213ed2028c
Get more of chat panel compiling, but lots of todos
2023-12-08 12:31:07 -08:00
Max Brunsfeld
6955579f19
Start work on chat panel and non-uniform list
...
Co-authored-by: Nathan <nathan@zed.dev>
2023-12-08 12:30:49 -08: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