Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
use fuzzy_match::FuzzyMatchResult;
|
||||
use ordered_float::OrderedFloat;
|
||||
use warp_core::ui::icons::Icon;
|
||||
use warpui::elements::{ConstrainedBox, Container, Highlight, Text};
|
||||
use warpui::fonts::{Properties, Weight};
|
||||
use warpui::text_layout::ClipConfig;
|
||||
use warpui::{AppContext, Element, Entity, ModelContext, ModelHandle, SingletonEntity as _};
|
||||
use galaxy_core::ui::icons::Icon;
|
||||
use galaxyui::elements::{ConstrainedBox, Container, Highlight, Text};
|
||||
use galaxyui::fonts::{Properties, Weight};
|
||||
use galaxyui::text_layout::ClipConfig;
|
||||
use galaxyui::{AppContext, Element, Entity, ModelContext, ModelHandle, SingletonEntity as _};
|
||||
|
||||
use crate::appearance::Appearance;
|
||||
use crate::cloud_object::model::persistence::CloudModel;
|
||||
@@ -164,7 +164,7 @@ impl SearchItem for PromptSearchItem {
|
||||
let icon_color = inline_styles::icon_color(appearance);
|
||||
let icon_size = inline_styles::font_size(appearance);
|
||||
|
||||
let icon = Icon::Prompt.to_warpui_icon(icon_color).finish();
|
||||
let icon = Icon::Prompt.to_galaxyui_icon(icon_color).finish();
|
||||
|
||||
Container::new(
|
||||
ConstrainedBox::new(icon)
|
||||
@@ -209,7 +209,7 @@ impl SearchItem for PromptSearchItem {
|
||||
&self,
|
||||
highlight_state: ItemHighlightState,
|
||||
appearance: &Appearance,
|
||||
) -> Option<warp_core::ui::theme::Fill> {
|
||||
) -> Option<galaxy_core::ui::theme::Fill> {
|
||||
inline_styles::item_background(highlight_state, appearance)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use warpui::elements::ChildView;
|
||||
use warpui::{Element, Entity, ModelHandle, View, ViewContext, ViewHandle};
|
||||
use galaxyui::elements::ChildView;
|
||||
use galaxyui::{Element, Entity, ModelHandle, View, ViewContext, ViewHandle};
|
||||
|
||||
use crate::ai::blocklist::agent_view::AgentViewController;
|
||||
use crate::search::data_source::Query;
|
||||
@@ -119,7 +119,7 @@ impl View for InlinePromptsMenuView {
|
||||
"InlinePromptsMenuView"
|
||||
}
|
||||
|
||||
fn render(&self, _app: &warpui::AppContext) -> Box<dyn Element> {
|
||||
fn render(&self, _app: &galaxyui::AppContext) -> Box<dyn Element> {
|
||||
ChildView::new(&self.menu_view).finish()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user