Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
storybook: Fix `auto_height_editor` story (#27653)
loczeka20126344834
diff --git a/Cargo.lock b/Cargo.lockindex 40c702347f1..fd3c241fc6b 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -13239,6 +13239,7 @@ dependencies = ["theme","title_bar","ui",+ "workspace",][[package]]diff --git a/crates/storybook/Cargo.toml b/crates/storybook/Cargo.tomlindex 39779845dea..638d070cba1 100644--- a/crates/storybook/Cargo.toml+++ b/crates/storybook/Cargo.toml@@ -27,6 +27,7 @@ log.workspace = truemenu.workspace = truepicker.workspace = trueproject.workspace = true+reqwest_client.workspace = truerust-embed.workspace = truesettings.workspace = truesimplelog.workspace = true@@ -35,7 +36,7 @@ strum = { workspace = true, features = ["derive"] }theme.workspace = truetitle_bar = { workspace = true, features = ["stories"] }ui = { workspace = true, features = ["stories"] }-reqwest_client.workspace = true+workspace.workspace = true[dev-dependencies]gpui = { workspace = true, features = ["test-support"] }diff --git a/crates/storybook/src/storybook.rs b/crates/storybook/src/storybook.rsindex 14793603c77..2129b04143e 100644--- a/crates/storybook/src/storybook.rs+++ b/crates/storybook/src/storybook.rs@@ -19,6 +19,7 @@ use simplelog::SimpleLogger;use strum::IntoEnumIterator;use theme::{ThemeRegistry, ThemeSettings};use ui::prelude::*;+use workspace;use crate::app_menus::app_menus;use crate::assets::Assets;@@ -83,6 +84,7 @@ fn main() {language::init(cx);editor::init(cx);Project::init_settings(cx);+ workspace::init_settings(cx);init(cx);load_storybook_keymap(cx);cx.set_menus(app_menus());