Instead of using the same row count as for the breadcrumbs, we double the height so that there's some space for padding.
Co-authored-by: Kyle <kyle@zed.dev>
Piotr Osiewicz
and
Kyle
created
1762d2c
Add test assertion where user is not admin of channel
7a04ee3
Start work on exposing which channels the user has admin rights to
Max Brunsfeld
created
95b1ab9
Implement channel member removal, permission check for member retrieval
Max Brunsfeld
created
d3c1966
WIP: Return WindowHandle<V: View> from AppContext::add_window (#2820)
Click to expand commit body
Instead of returning a usize for the window id, I'm instead returning a
`WindowHandle<V: View>` where `V` is the type of the window's root view.
@as-cii helped me with a cool technique using generic associated types
where methods on `WindowHandle` can return either T or Option<T>
depending on the `BorrowWindowContext::Result` associated type.
Some example usage...
```rs
let window = cx.add_window(|cx| MyView::new(cx));
let my_view = window.root(cx); // If cx is TestAppContext, returns MyView. Otherwise returns Option<MyView>, because the window could be closed.
```
This isn't insanely beneficial on its own, but I think it will help
clean up our testing story. I'm planning on making `window` more useful
in tests for laying out elements, etc.
- [x] Rework tests that call `add_window` 😅 to expect only a window in
return.
- [x] Get tests passing
- [x] 🚬 test
This PR adds a `PathExt` trait. It pulls in our existing `compact()`
function, as a method, and then adds a method, and testing, for
`icon_suffix()`. A test was added to fix:
- https://github.com/zed-industries/community/issues/1877
Release Notes:
- Fixed a bug where file icons would not be registered for files with
with `.` characters in their name
([#1877](https://github.com/zed-industries/community/issues/1877)).
Joseph T. Lyons
created
a7e883d
Implement basic channel member management UI
4d55110
Restore seeding of random GH users in seed-db
Click to expand commit body
Co-authored-by: Mikayla <mikayla@zed.dev>
Max Brunsfeld
and
Mikayla
created
ad4fd76
Use the same font size for hovered state of LSP status (#2821)
Click to expand commit body
This element is used for the update state as well for some reason so
while we don't normally ever see this state, it is used when the status
is acting as the restart to update button
Release Notes:
- Fixed an inconsistency in the status bar update button font size.
Julia
created
fca8cdc
Start work on rendering channel participants in collab panel
Click to expand commit body
Co-authored-by: mikayla <mikayla@zed.dev>
Max Brunsfeld
and
mikayla
created
df4480b
Use the same font size for hovered state of LSP status
Click to expand commit body
This element is used for the update state as well for some reason so
while we don't normally ever see this state, it is used when the status
is acting as the restart to update button