Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

WIP

Mikayla307445538612
diff --git a/crates/collab/src/tests/channel_tests.rs b/crates/collab/src/tests/channel_tests.rs
index d778b6a472d..a250f59a21b 100644
--- a/crates/collab/src/tests/channel_tests.rs
+++ b/crates/collab/src/tests/channel_tests.rs
@@ -770,6 +770,19 @@ async fn test_call_from_channel(
});
}
+#[gpui::test]
+async fn test_lost_channel_creation(
+ deterministic: Arc<Deterministic>,
+ cx_a: &mut TestAppContext,
+ cx_b: &mut TestAppContext,
+) {
+ // Invite a member
+ // Create a new sub channel
+ // Member accepts invite
+ // Make sure that member can see new channel
+ todo!();
+}
+
#[derive(Debug, PartialEq)]
struct ExpectedChannel {
depth: usize,
diff --git a/styles/src/style_tree/collab_modals.ts b/styles/src/style_tree/collab_modals.ts
index 4bdeb45f9c9..0f50e01a390 100644
--- a/styles/src/style_tree/collab_modals.ts
+++ b/styles/src/style_tree/collab_modals.ts
@@ -76,7 +76,8 @@ export default function channel_modal(): any {
},
},
- max_height: 400,
+ // FIXME: due to a bug in the picker's size calculation, this must be 600
+ max_height: 600,
max_width: 540,
title: {
...text(theme.middle, "sans", "on", { size: "lg" }),