Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -4,30 +4,30 @@ use settings::Setting as _;
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
use std::{cmp::Ordering, rc::Rc};
|
||||
use warp_core::features::FeatureFlag;
|
||||
use warp_core::report_error;
|
||||
use warp_core::ui::theme::color::internal_colors;
|
||||
use warpui::elements::new_scrollable::SingleAxisConfig;
|
||||
use warpui::elements::{
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxy_core::report_error;
|
||||
use galaxy_core::ui::theme::color::internal_colors;
|
||||
use galaxyui::elements::new_scrollable::SingleAxisConfig;
|
||||
use galaxyui::elements::{
|
||||
ClippedScrollStateHandle, ConstrainedBox, Empty, Fill, FormattedTextElement, Highlight,
|
||||
HighlightedHyperlink, Hoverable, MainAxisAlignment, MainAxisSize, NewScrollable, SavePosition,
|
||||
SelectableArea, SizeConstraintCondition, SizeConstraintSwitch,
|
||||
};
|
||||
use warpui::fonts::Weight;
|
||||
use warpui::platform::{Cursor, OperatingSystem};
|
||||
use warpui::ui_components::components::{Coords, UiComponent, UiComponentStyles};
|
||||
use galaxyui::fonts::Weight;
|
||||
use galaxyui::platform::{Cursor, OperatingSystem};
|
||||
use galaxyui::ui_components::components::{Coords, UiComponent, UiComponentStyles};
|
||||
|
||||
use lazy_static::lazy_static;
|
||||
use pathfinder_geometry::vector::vec2f;
|
||||
|
||||
use markdown_parser::{FormattedText, FormattedTextFragment, FormattedTextLine};
|
||||
use warp_core::semantic_selection::SemanticSelection;
|
||||
use warp_core::ui::appearance::Appearance;
|
||||
use warp_editor::{
|
||||
use galaxy_core::semantic_selection::SemanticSelection;
|
||||
use galaxy_core::ui::appearance::Appearance;
|
||||
use galaxy_editor::{
|
||||
content::buffer::InitialBufferState, render::element::VerticalExpansionBehavior,
|
||||
};
|
||||
use warpui::r#async::Timer;
|
||||
use warpui::{
|
||||
use galaxyui::r#async::Timer;
|
||||
use galaxyui::{
|
||||
clipboard::ClipboardContent,
|
||||
elements::{
|
||||
Border, ChildAnchor, ChildView, Container, CornerRadius, CrossAxisAlignment, DropShadow,
|
||||
@@ -145,7 +145,7 @@ const HAS_PENDING_NON_TRANSFER_CONTROL_ACTION_CONTEXT_KEY: &str =
|
||||
const BLOCKED_ACTION_MESSAGE_FOR_TRANSFER_CONTROL: &str = "Agent is asking you to take control.";
|
||||
|
||||
pub fn init(app: &mut AppContext) {
|
||||
use warpui::keymap::{macros::*, FixedBinding};
|
||||
use galaxyui::keymap::{macros::*, FixedBinding};
|
||||
|
||||
app.register_fixed_bindings([
|
||||
FixedBinding::new(
|
||||
@@ -964,7 +964,7 @@ impl View for CLISubagentView {
|
||||
"CLISubagentView"
|
||||
}
|
||||
|
||||
fn render(&self, app: &warpui::AppContext) -> Box<dyn warpui::Element> {
|
||||
fn render(&self, app: &galaxyui::AppContext) -> Box<dyn galaxyui::Element> {
|
||||
let terminal_model = self.terminal_model.lock();
|
||||
let Some(block) = terminal_model.block_list().block_with_id(&self.block_id) else {
|
||||
return Empty::new().finish();
|
||||
@@ -1399,7 +1399,7 @@ impl View for CLISubagentView {
|
||||
result.finish()
|
||||
}
|
||||
|
||||
fn keymap_context(&self, app: &AppContext) -> warpui::keymap::Context {
|
||||
fn keymap_context(&self, app: &AppContext) -> galaxyui::keymap::Context {
|
||||
let mut context = Self::default_keymap_context();
|
||||
|
||||
let terminal_model = self.terminal_model.lock();
|
||||
@@ -1569,7 +1569,7 @@ fn render_action(action: AIAgentActionType, app: &AppContext) -> Option<Box<dyn
|
||||
|
||||
let icon = Container::new(
|
||||
ConstrainedBox::new(
|
||||
warpui::elements::Icon::new(icon.into(), internal_colors::neutral_5(theme)).finish(),
|
||||
galaxyui::elements::Icon::new(icon.into(), internal_colors::neutral_5(theme)).finish(),
|
||||
)
|
||||
.with_width(icon_size(app))
|
||||
.with_height(icon_size(app))
|
||||
@@ -1611,7 +1611,7 @@ fn render_web_search(query: Option<String>, app: &AppContext) -> Box<dyn Element
|
||||
|
||||
let icon = Container::new(
|
||||
ConstrainedBox::new(
|
||||
warpui::elements::Icon::new(Icon::Search.into(), internal_colors::neutral_5(theme))
|
||||
galaxyui::elements::Icon::new(Icon::Search.into(), internal_colors::neutral_5(theme))
|
||||
.finish(),
|
||||
)
|
||||
.with_width(icon_size(app))
|
||||
|
||||
Reference in New Issue
Block a user