Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add an `explore extensions` button to welcome screen (#11265)
Joseph T. Lyonsaa1b4c7868e0
diff --git a/Cargo.lock b/Cargo.lockindex a5fbb22226a..12ebae98f63 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -11797,6 +11797,7 @@ dependencies = ["copilot_ui","db","editor",+ "extensions_ui","fuzzy","gpui","install_cli",diff --git a/crates/welcome/Cargo.toml b/crates/welcome/Cargo.tomlindex 6fd65c795e2..c18a09673ff 100644--- a/crates/welcome/Cargo.toml+++ b/crates/welcome/Cargo.toml@@ -19,6 +19,7 @@ anyhow.workspace = trueclient.workspace = truecopilot_ui.workspace = truedb.workspace = true+extensions_ui.workspace = truefuzzy.workspace = truegpui.workspace = trueinstall_cli.workspace = truediff --git a/crates/welcome/src/welcome.rs b/crates/welcome/src/welcome.rsindex 5b9befdad21..e6a2a53f2e6 100644--- a/crates/welcome/src/welcome.rs+++ b/crates/welcome/src/welcome.rs@@ -145,6 +145,16 @@ impl Render for WelcomePage {);copilot_ui::initiate_sign_in(cx);})),+ )+ .child(+ Button::new("explore extensions", "Explore extensions")+ .full_width()+ .on_click(cx.listener(|this, _, cx| {+ this.telemetry.report_app_event(+ "welcome page: open extensions".to_string(),+ );+ cx.dispatch_action(Box::new(extensions_ui::Extensions));+ })),),).child(