Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add is_staff to events
Joseph T. Lyons018eb06091d4
diff --git a/crates/client/src/telemetry.rs b/crates/client/src/telemetry.rsindex 959f4cc7835..dc5154d96f9 100644--- a/crates/client/src/telemetry.rs+++ b/crates/client/src/telemetry.rs@@ -40,6 +40,7 @@ lazy_static! {struct ClickhouseEventRequestBody {token: &'static str,installation_id: Option<Arc<str>>,+ is_staff: Option<bool>,app_version: Option<Arc<str>>,os_name: &'static str,os_version: Option<Arc<str>>,@@ -224,6 +225,7 @@ impl Telemetry {&ClickhouseEventRequestBody {token: ZED_SECRET_CLIENT_TOKEN,installation_id: state.installation_id.clone(),+ is_staff: state.is_staff.clone(),app_version: state.app_version.clone(),os_name: state.os_name,os_version: state.os_version.clone(),diff --git a/script/start-local-collaboration b/script/start-local-collaborationindex b702fb4e02f..6c256abefe1 100755--- a/script/start-local-collaboration+++ b/script/start-local-collaboration@@ -45,7 +45,7 @@ position_2=${half_width},${y}# Authenticate using the collab server's admin secret.export ZED_STATELESS=1export ZED_ADMIN_API_TOKEN=secret-export ZED_SERVER_URL=http://localhost:8080+export ZED_SERVER_URL=http://localhost:3000export ZED_WINDOW_SIZE=${half_width},${height}cargo build