WIP

Mikayla created

Change summary

crates/collab/src/tests/channel_tests.rs | 13 +++++++++++++
styles/src/style_tree/collab_modals.ts   |  3 ++-
2 files changed, 15 insertions(+), 1 deletion(-)

Detailed changes

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,

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" }),