Fix cursor focus and selection in input box, add AWS env var warning box, and remove AWS Bedrock login banner

This commit is contained in:
2026-07-02 14:54:15 -05:00
parent 4770ac06b5
commit 3769646ca6
1194 changed files with 5312 additions and 8032 deletions
+7 -6
View File
@@ -3,10 +3,6 @@ use std::sync::Arc;
use std::time::Duration;
use anyhow::{Result, anyhow};
use pathfinder_geometry::vector::Vector2F;
use rust_embed::RustEmbed;
use ui_components::lightbox::{self, LightboxImage, LightboxImageSource, NavigationDirection};
use ui_components::{Component as _, Options, button, dialog, switch, tooltip};
use galaxy_core::ui::Icon;
use galaxy_core::ui::appearance::Appearance;
use galaxy_core::ui::theme::color::internal_colors;
@@ -17,6 +13,10 @@ use galaxyui_core::image_cache::ImageType;
use galaxyui_core::keymap::FixedBinding;
use galaxyui_core::prelude::*;
use galaxyui_core::{AssetProvider, SingletonEntity, Tracked, platform};
use pathfinder_geometry::vector::Vector2F;
use rust_embed::RustEmbed;
use ui_components::lightbox::{self, LightboxImage, LightboxImageSource, NavigationDirection};
use ui_components::{Component as _, Options, button, dialog, switch, tooltip};
#[derive(Clone, Copy, RustEmbed)]
#[folder = "../../app/assets"]
@@ -41,7 +41,7 @@ fn main() -> galaxyui_core::platform::app::TerminationResult {
.install_default()
.expect("must be able to initialize crypto provider for TLS support");
let app_builder = warpui::platform::AppBuilder::new(
let app_builder = galaxyui::platform::AppBuilder::new(
platform::AppCallbacks::default(),
Box::new(ASSETS),
None,
@@ -55,7 +55,8 @@ fn main() -> galaxyui_core::platform::app::TerminationResult {
"Noto Sans".to_string()
};
let font_family = galaxyui_core::fonts::Cache::handle(ctx).update(ctx, |cache, _ctx| {
let cache_handle = galaxyui_core::fonts::Cache::handle(ctx);
let font_family = cache_handle.update(ctx, |cache, _ctx| {
cache.load_system_font(&font_name).unwrap()
});
ctx.add_singleton_model(|ctx| {
+2 -2
View File
@@ -1,13 +1,13 @@
mod params;
pub mod themes;
pub use params::*;
pub use themes::Theme;
use galaxy_core::ui::appearance::Appearance;
use galaxy_core::ui::color::ContrastingColor as _;
use galaxy_core::ui::color::contrast::MinimumAllowedContrast;
use galaxyui_core::elements::{MouseState, MouseStateHandle};
use galaxyui_core::prelude::*;
pub use params::*;
pub use themes::Theme;
use crate::{keyboard_shortcut, tooltip};
+1 -1
View File
@@ -1,8 +1,8 @@
use pathfinder_color::ColorU;
use galaxy_core::ui::appearance::Appearance;
use galaxy_core::ui::color::coloru_with_opacity;
use galaxy_core::ui::theme::Fill;
use galaxy_core::ui::theme::color::internal_colors;
use pathfinder_color::ColorU;
/// Theming delegate for a button.
pub trait Theme {
+1 -1
View File
@@ -5,9 +5,9 @@ pub mod lightbox;
pub mod switch;
pub mod tooltip;
pub use keyboard_shortcut::KeyboardShortcut;
use galaxy_core::ui::appearance::Appearance;
use galaxyui_core::Element;
pub use keyboard_shortcut::KeyboardShortcut;
/// A reusable UI component that can be rendered with configurable parameters.
///
+1 -1
View File
@@ -1,6 +1,5 @@
use std::sync::Arc;
use pathfinder_geometry::vector::{Vector2F, vec2f};
use galaxy_core::ui::Icon;
use galaxy_core::ui::appearance::Appearance;
use galaxyui_core::assets::asset_cache::AssetSource;
@@ -10,6 +9,7 @@ use galaxyui_core::elements::{
use galaxyui_core::keymap::Keystroke;
use galaxyui_core::prelude::stack::*;
use galaxyui_core::prelude::*;
use pathfinder_geometry::vector::{Vector2F, vec2f};
use crate::{Component, Options as _, button};