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
@@ -5,16 +5,16 @@ use crate::ui_components::icons::Icon;
use super::super::header_content::HeaderRenderContext;
use super::{ActionPayload, PaneHeaderAction};
use warp_core::ui::icons::ICON_DIMENSIONS;
use warp_core::ui::theme::Fill;
use warpui::elements::{
use galaxy_core::ui::icons::ICON_DIMENSIONS;
use galaxy_core::ui::theme::Fill;
use galaxyui::elements::{
Align, Clipped, ConstrainedBox, Container, CrossAxisAlignment, Flex, Hoverable,
MainAxisAlignment, MainAxisSize, MouseStateHandle, ParentElement, SavePosition, Shrinkable,
Text,
};
use warpui::text_layout::ClipConfig;
use warpui::ui_components::components::UiComponent;
use warpui::Element;
use galaxyui::text_layout::ClipConfig;
use galaxyui::ui_components::components::UiComponent;
use galaxyui::Element;
/// Horizontal padding applied inside each edge column of the three-column header.
pub const HEADER_EDGE_PADDING: f32 = 4.;
+3 -3
View File
@@ -29,8 +29,8 @@ use pathfinder_geometry::{
rect::RectF,
vector::{vec2f, Vector2F},
};
use warp_core::{features::FeatureFlag, settings::Setting};
use warpui::{
use galaxy_core::{features::FeatureFlag, settings::Setting};
use galaxyui::{
elements::{
AcceptedByDropTarget, Align, Border, ChildAnchor, Clipped, ConstrainedBox, Container,
CornerRadius, CrossAxisAlignment, Dismiss, Draggable, DraggableState, Empty, Flex,
@@ -766,7 +766,7 @@ impl<P: BackingView> View for PaneHeader<P> {
let element = match header_content {
HeaderContent::Standard(mut header) => {
// On mobile devices, always show icons since hover effects don't work with touch
if warpui::platform::is_mobile_device() {
if galaxyui::platform::is_mobile_device() {
header.options.always_show_icons = true;
}
self.render_standard_header(header, app)
@@ -1,6 +1,6 @@
use std::sync::Arc;
use warp_core::ui::appearance::Appearance;
use warpui::{
use galaxy_core::ui::appearance::Appearance;
use galaxyui::{
elements::Empty, platform::WindowStyle, App, AppContext, Element, Entity, TypedActionView,
View, ViewContext,
};
@@ -3,16 +3,16 @@
//! This is tightly coupled to the pane header so that different overlays (context menus, the
//! sharing dialog, and so on) are correctly displayed.
use warp_core::{features::FeatureFlag, ui::appearance::Appearance};
use warpui::{
use galaxy_core::{features::FeatureFlag, ui::appearance::Appearance};
use galaxyui::{
elements::{MouseStateHandle, ParentElement},
platform::Cursor,
ui_components::components::UiComponent,
AppContext, Element, ViewContext, ViewHandle,
};
use warp_core::ui::theme::Fill;
use warpui::elements::ConstrainedBox;
use galaxy_core::ui::theme::Fill;
use galaxyui::elements::ConstrainedBox;
use crate::{
drive::sharing::{
@@ -74,17 +74,17 @@ impl<P: BackingView> PaneHeader<P> {
&self.shared_content.sharing_dialog
}
pub fn has_shareable_object<C: warpui::ViewAsRef>(&self, ctx: &C) -> bool {
pub fn has_shareable_object<C: galaxyui::ViewAsRef>(&self, ctx: &C) -> bool {
self.sharing_dialog().as_ref(ctx).has_target()
}
pub fn has_shareable_shared_session<C: warpui::ViewAsRef>(&self, ctx: &C) -> bool {
pub fn has_shareable_shared_session<C: galaxyui::ViewAsRef>(&self, ctx: &C) -> bool {
self.sharing_dialog()
.as_ref(ctx)
.has_shared_session_target()
}
pub fn is_sharing_dialog_enabled<C: warpui::ViewAsRef>(&self, ctx: &C) -> bool {
pub fn is_sharing_dialog_enabled<C: galaxyui::ViewAsRef>(&self, ctx: &C) -> bool {
let sharing_enabled = self.has_shareable_object(ctx);
if self.has_shareable_shared_session(ctx) {
sharing_enabled && FeatureFlag::SessionSharingAcls.is_enabled()