Skip to content

Commit

Permalink
ui: Remove old settings components (zed-industries#15347)
Browse files Browse the repository at this point in the history
This PR removes the old settings components, as they've been adapted
into other components for the settings UI.

Release Notes:

- N/A
  • Loading branch information
maxdeviant authored and kevmo314 committed Jul 29, 2024
1 parent 0001c20 commit 3ce7bc7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 589 deletions.
2 changes: 0 additions & 2 deletions crates/storybook/src/story_selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ pub enum ComponentStory {
OverflowScroll,
Picker,
Scroll,
Setting,
Tab,
TabBar,
Text,
Expand Down Expand Up @@ -66,7 +65,6 @@ impl ComponentStory {
Self::ListItem => cx.new_view(|_| ui::ListItemStory).into(),
Self::OverflowScroll => cx.new_view(|_| crate::stories::OverflowScrollStory).into(),
Self::Scroll => ScrollStory::view(cx).into(),
Self::Setting => cx.new_view(|cx| ui::SettingStory::init(cx)).into(),
Self::Text => TextStory::view(cx).into(),
Self::Tab => cx.new_view(|_| ui::TabStory).into(),
Self::TabBar => cx.new_view(|_| ui::TabBarStory).into(),
Expand Down
2 changes: 0 additions & 2 deletions crates/ui/src/components.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ mod popover;
mod popover_menu;
mod radio;
mod right_click_menu;
mod setting;
mod settings_container;
mod settings_group;
mod stack;
Expand Down Expand Up @@ -48,7 +47,6 @@ pub use popover::*;
pub use popover_menu::*;
pub use radio::*;
pub use right_click_menu::*;
pub use setting::*;
pub use settings_container::*;
pub use settings_group::*;
pub use stack::*;
Expand Down
358 changes: 0 additions & 358 deletions crates/ui/src/components/setting.rs

This file was deleted.

Loading

0 comments on commit 3ce7bc7

Please sign in to comment.