zed: Add OpenStatusPage action (#57316)

Following up on our recent extension outage, this PR adds an action to
quickly visit our status page (which with the help of @\gaauwe was
recently updated to a more up to date design 🎉 ).

While already invokable through the command palette, we can later use
this to also add buttons where appropriate for a quick lookup of our
current status.

Release Notes:

- Added the `zed::OpenStatusPage` action to be able to easily visit the
Zed status page.
This commit is contained in:
Finn Evers 2026-05-25 16:41:33 +02:00 committed by GitHub
parent 786eb24521
commit 216980f671
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View file

@ -54,7 +54,6 @@ pub struct ImportCursorSettings {
}
pub const FIRST_OPEN: &str = "first_open";
pub const DOCS_URL: &str = "https://zed.dev/docs/";
actions!(
onboarding,

View file

@ -49,7 +49,6 @@ use language_tools::lsp_log_view::LspLogToolbarItemView;
use markdown::{Markdown, MarkdownElement, MarkdownFont, MarkdownStyle};
use migrate::{MigrationBanner, MigrationEvent, MigrationNotification, MigrationType};
use migrator::migrate_keymap;
use onboarding::DOCS_URL;
use onboarding::multibuffer_hint::MultibufferHint;
pub use open_listener::*;
use outline_panel::OutlinePanel;
@ -100,9 +99,12 @@ use workspace::{
use workspace::{Pane, notifications::DetachAndPromptErr};
use zed_actions::{
About, OpenAccountSettings, OpenBrowser, OpenDocs, OpenServerSettings, OpenSettingsFile,
OpenZedUrl, Quit,
OpenStatusPage, OpenZedUrl, Quit,
};
const DOCS_URL: &str = "https://zed.dev/docs/";
const STATUS_URL: &str = "https://status.zed.dev";
pub struct CrashHandler(pub Arc<crashes::Client>);
impl gpui::Global for CrashHandler {}
@ -860,6 +862,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(
|workspace: &mut Workspace,
_: &input_latency_ui::DumpInputLatencyHistogram,

View file

@ -67,6 +67,8 @@ actions!(
OpenDocs,
/// Views open source licenses.
OpenLicenses,
/// Opens the Zed status page.
OpenStatusPage,
/// Opens the telemetry log.
OpenTelemetryLog,
/// Opens the performance profiler.