Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though

This commit is contained in:
Ryan Ward
2026-05-07 11:29:34 -05:00
parent f4e2475c60
commit a41cbd8cc7
2433 changed files with 14208 additions and 9409 deletions
@@ -1,5 +1,5 @@
use std::collections::HashMap;
use warpui::{Entity, EntityId, ModelContext, SingletonEntity, WindowId};
use galaxyui::{Entity, EntityId, ModelContext, SingletonEntity, WindowId};
use crate::{
ai::execution_profiles::profiles::ClientProfileId,
+12 -12
View File
@@ -26,13 +26,13 @@ use crate::{
use ai::api_keys::{ApiKeyManager, ApiKeyManagerEvent};
use itertools::Itertools;
use regex::Regex;
use warp_core::ui::theme::color::internal_colors;
use warpui::fonts::Properties;
use warpui::platform::Cursor;
use warpui::ui_components::switch::SwitchStateHandle;
use galaxy_core::ui::theme::color::internal_colors;
use galaxyui::fonts::Properties;
use galaxyui::platform::Cursor;
use galaxyui::ui_components::switch::SwitchStateHandle;
use std::path::{Path, PathBuf};
use warpui::{
use galaxyui::{
elements::{
Align, Border, ChildView, ClippedScrollStateHandle, ClippedScrollable, ConstrainedBox,
Container, CrossAxisAlignment, Expanded, Flex, Highlight, MouseStateHandle, ParentElement,
@@ -56,8 +56,8 @@ fn render_upgrade_footer(
let text_color = theme.main_text_color(surface);
let info_icon = ConstrainedBox::new(
warp_core::ui::Icon::Info
.to_warpui_icon(text_color)
galaxy_core::ui::Icon::Info
.to_galaxyui_icon(text_color)
.finish(),
)
.with_width(16.)
@@ -1296,7 +1296,7 @@ impl View for ExecutionProfileEditorView {
ScrollbarWidth::Auto,
appearance.theme().nonactive_ui_detail().into(),
appearance.theme().active_ui_detail().into(),
warpui::elements::Fill::None,
galaxyui::elements::Fill::None,
)
.finish()
}
@@ -1474,17 +1474,17 @@ impl BackingView for ExecutionProfileEditorView {
fn handle_pane_header_overflow_menu_action(
&mut self,
_action: &Self::PaneHeaderOverflowMenuAction,
_ctx: &mut warpui::ViewContext<Self>,
_ctx: &mut galaxyui::ViewContext<Self>,
) {
self.handle_action(_action, _ctx)
}
fn close(&mut self, ctx: &mut warpui::ViewContext<Self>) {
fn close(&mut self, ctx: &mut galaxyui::ViewContext<Self>) {
self.save_profile_name_if_valid(ctx);
ctx.emit(ExecutionProfileEditorViewEvent::Pane(PaneEvent::Close));
}
fn focus_contents(&mut self, ctx: &mut warpui::ViewContext<Self>) {
fn focus_contents(&mut self, ctx: &mut galaxyui::ViewContext<Self>) {
self.focus(ctx);
}
@@ -1497,7 +1497,7 @@ impl BackingView for ExecutionProfileEditorView {
title: HEADER_TEXT.into(),
title_secondary: None,
title_style: None,
title_clip_config: warpui::text_layout::ClipConfig::start(),
title_clip_config: galaxyui::text_layout::ClipConfig::start(),
title_max_width: None,
left_of_title: None,
right_of_title: None,
@@ -8,18 +8,18 @@ use crate::Appearance;
use crate::TemplatableMCPServerManager;
use pathfinder_geometry::vector::vec2f;
use uuid::Uuid;
use warp_core::features::FeatureFlag;
use warpui::elements::Hoverable;
use warpui::elements::MouseStateHandle;
use warpui::elements::{
use galaxy_core::features::FeatureFlag;
use galaxyui::elements::Hoverable;
use galaxyui::elements::MouseStateHandle;
use galaxyui::elements::{
ChildAnchor, ChildView, ConstrainedBox, Container, CrossAxisAlignment, Flex, MainAxisAlignment,
MainAxisSize, OffsetPositioning, ParentAnchor, ParentElement, ParentOffsetBounds, Shrinkable,
Stack, Text,
};
use warpui::fonts::{Properties, Weight};
use warpui::ui_components::components::UiComponent;
use warpui::AppContext;
use warpui::{Element, SingletonEntity, ViewHandle};
use galaxyui::fonts::{Properties, Weight};
use galaxyui::ui_components::components::UiComponent;
use galaxyui::AppContext;
use galaxyui::{Element, SingletonEntity, ViewHandle};
use super::ExecutionProfileEditorView;
use super::ExecutionProfileEditorViewAction;
@@ -136,7 +136,7 @@ fn render_info_section(
let alert_icon = Container::new(
ConstrainedBox::new(
Icon::AlertCircle
.to_warpui_icon(
.to_galaxyui_icon(
appearance
.theme()
.sub_text_color(appearance.theme().surface_2()),
@@ -173,7 +173,7 @@ fn render_permission_row<T: Clone + 'static + std::fmt::Debug + Send + Sync>(
) -> Box<dyn Element> {
let icon_elem = Container::new(
ConstrainedBox::new(
icon.to_warpui_icon(appearance.theme().active_ui_text_color())
icon.to_galaxyui_icon(appearance.theme().active_ui_text_color())
.finish(),
)
.with_width(16.)
@@ -247,7 +247,7 @@ pub fn render_permissions_section(
appearance: &Appearance,
view: &ExecutionProfileEditorView,
profile_data: &AIExecutionProfile,
app: &warpui::AppContext,
app: &galaxyui::AppContext,
) -> Box<dyn Element> {
let ai_settings = AISettings::as_ref(app);
let mut column = Flex::column().with_children([
@@ -505,7 +505,7 @@ fn render_directory_allowlist_section(
view: &ExecutionProfileEditorView,
profile_data: &AIExecutionProfile,
appearance: &Appearance,
app: &warpui::AppContext,
app: &galaxyui::AppContext,
) -> Box<dyn Element> {
let ai_settings = AISettings::as_ref(app);
let is_editable = ai_settings.is_directory_allowlist_editable(app);
@@ -530,7 +530,7 @@ fn render_command_allowlist_section(
view: &ExecutionProfileEditorView,
profile_data: &AIExecutionProfile,
appearance: &Appearance,
app: &warpui::AppContext,
app: &galaxyui::AppContext,
) -> Box<dyn Element> {
let ai_settings = AISettings::as_ref(app);
let is_editable = ai_settings.is_command_allowlist_editable(app);
@@ -556,7 +556,7 @@ fn render_command_denylist_section(
view: &ExecutionProfileEditorView,
profile_data: &AIExecutionProfile,
appearance: &Appearance,
app: &warpui::AppContext,
app: &galaxyui::AppContext,
) -> Box<dyn Element> {
let ai_settings = AISettings::as_ref(app);
let is_editable = ai_settings.is_command_denylist_editable(app);
@@ -588,7 +588,7 @@ fn display_mcp_name(uuid: &Uuid, app: &AppContext) -> String {
fn render_mcp_allowlist_section(
view: &ExecutionProfileEditorView,
profile_data: &AIExecutionProfile,
app: &warpui::AppContext,
app: &galaxyui::AppContext,
appearance: &Appearance,
) -> Box<dyn Element> {
let ai_settings = AISettings::as_ref(app);
@@ -614,7 +614,7 @@ fn render_mcp_allowlist_section(
fn render_mcp_denylist_section(
view: &ExecutionProfileEditorView,
profile_data: &AIExecutionProfile,
app: &warpui::AppContext,
app: &galaxyui::AppContext,
appearance: &Appearance,
) -> Box<dyn Element> {
let ai_settings = AISettings::as_ref(app);
@@ -645,7 +645,7 @@ pub fn render_plan_auto_sync_toggle(
let icon_elem = Container::new(
ConstrainedBox::new(
Icon::Compass
.to_warpui_icon(appearance.theme().active_ui_text_color())
.to_galaxyui_icon(appearance.theme().active_ui_text_color())
.finish(),
)
.with_width(icon_size)
@@ -719,7 +719,7 @@ pub fn render_web_search_toggle(
let icon_elem = Container::new(
ConstrainedBox::new(
Icon::Globe
.to_warpui_icon(appearance.theme().active_ui_text_color())
.to_galaxyui_icon(appearance.theme().active_ui_text_color())
.finish(),
)
.with_width(icon_size)
+3 -3
View File
@@ -19,9 +19,9 @@ use crate::{
},
};
use serde::{Deserialize, Serialize};
use warp_core::channel::ChannelState;
use warp_core::features::FeatureFlag;
use warpui::{AppContext, SingletonEntity};
use galaxy_core::channel::ChannelState;
use galaxy_core::features::FeatureFlag;
use galaxyui::{AppContext, SingletonEntity};
use super::llms::LLMId;
@@ -2,8 +2,8 @@ use crate::ai::llms::{is_using_api_key_for_provider, DisableReason, LLMId, LLMIn
use crate::menu::{MenuItem, MenuItemFields, MenuTooltipPosition};
use itertools::Itertools;
use std::sync::Arc;
use warp_core::ui::Icon;
use warpui::{
use galaxy_core::ui::Icon;
use galaxyui::{
elements::{
ConstrainedBox, Container, CrossAxisAlignment, Empty, Flex, ParentElement, SavePosition,
Shrinkable, Text,
@@ -92,11 +92,11 @@ fn make_item_fields<A: Action + Clone>(
let icon_container = Container::new(
ConstrainedBox::new(if is_bedrock {
Icon::BedrockLogo
.to_warpui_icon(appearance.theme().foreground())
.to_galaxyui_icon(appearance.theme().foreground())
.finish()
} else if is_using_api_key {
Icon::Key
.to_warpui_icon(appearance.theme().foreground())
.to_galaxyui_icon(appearance.theme().foreground())
.finish()
} else {
Empty::new().finish()
+3 -3
View File
@@ -5,9 +5,9 @@ use std::sync::atomic::{AtomicUsize, Ordering};
use serde::{Deserialize, Serialize};
use uuid::Uuid;
use warp_core::channel::ChannelState;
use warp_core::user_preferences::GetUserPreferences;
use warpui::{AppContext, Entity, EntityId, ModelContext, SingletonEntity};
use galaxy_core::channel::ChannelState;
use galaxy_core::user_preferences::GetUserPreferences;
use galaxyui::{AppContext, Entity, EntityId, ModelContext, SingletonEntity};
use crate::ai::llms::LLMId;
use crate::ai::mcp::templatable_manager::TemplatableMCPServerManagerEvent;
@@ -1,5 +1,5 @@
use chrono::{DateTime, Utc};
use warpui::{App, SingletonEntity};
use galaxyui::{App, SingletonEntity};
use crate::ai::execution_profiles::profiles::AIExecutionProfilesModel;
use crate::ai::execution_profiles::{