Add zed: get merch command palette action (#60330)

Adds a `zed: get merch` command palette action that opens
https://merch.zed.dev/ in the system browser.

Just thought it'd be fun!

Release Notes:

- Added a `zed: get merch` action that opens the Zed merch store.
This commit is contained in:
Miguel Raz Guzmán Macedo authored and GitHub committed 2026-07-03 05:59:13 +00:00
1 parent d590da3b38
commit 7b556c9060
2 files changed
+6 -2

No files matched your search

+4 -2
View File
@@ -101,12 +101,13 @@ use workspace::{
};
use workspace::{Pane, notifications::DetachAndPromptErr};
use zed_actions::{
About, OpenAccountSettings, OpenBrowser, OpenDocs, OpenServerSettings, OpenSettingsFile,
OpenStatusPage, OpenZedUrl, Quit,
About, GetMerch, OpenAccountSettings, OpenBrowser, OpenDocs, OpenServerSettings,
OpenSettingsFile, OpenStatusPage, OpenZedUrl, Quit,
};
const DOCS_URL: &str = "https://zed.dev/docs/";
const STATUS_URL: &str = "https://status.zed.dev";
const MERCH_URL: &str = "https://merch.zed.dev/";
pub struct CrashHandler(pub Arc<crashes::Client>);
@@ -887,6 +888,7 @@ fn register_actions(
workspace
.register_action(|_, _: &OpenDocs, _, cx| cx.open_url(DOCS_URL))
.register_action(|_, _: &OpenStatusPage, _, cx| cx.open_url(STATUS_URL))
.register_action(|_, _: &GetMerch, _, cx| cx.open_url(MERCH_URL))
.register_action(
|workspace: &mut Workspace,
_: &input_latency_ui::DumpInputLatencyHistogram,
+2
View File
@@ -69,6 +69,8 @@ actions!(
OpenLicenses,
/// Opens the Zed status page.
OpenStatusPage,
/// Opens the Zed merch store.
GetMerch,
/// Opens the telemetry log.
OpenTelemetryLog,
/// Opens the performance profiler.