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
+8 -8
View File
@@ -1,5 +1,3 @@
use pathfinder_color::ColorU;
use pathfinder_geometry::vector::Vector2F;
use galaxy_core::ui::appearance::Appearance;
use galaxy_core::ui::Icon;
use galaxyui::elements::{
@@ -7,11 +5,15 @@ use galaxyui::elements::{
MainAxisAlignment, ParentElement as _, Radius, Shrinkable,
};
use galaxyui::fonts::Weight;
use galaxyui::ui_components::components::{BorderStyle, Coords, UiComponent as _, UiComponentStyles};
use galaxyui::ui_components::components::{
BorderStyle, Coords, UiComponent as _, UiComponentStyles,
};
use galaxyui::{
AppContext, Element, Entity, FocusContext, SingletonEntity as _, TypedActionView, View,
ViewContext, ViewHandle,
};
use pathfinder_color::ColorU;
use pathfinder_geometry::vector::Vector2F;
use crate::editor::{EditorOptions, EditorView, Event as EditorEvent, TextOptions};
@@ -94,11 +96,9 @@ impl GlowingEditor {
}
EditorEvent::Escape => ctx.emit(GlowingEditorEvent::Cancel),
// Clear error state when user types (since this is submit-only validation)
EditorEvent::Edited(_) => {
if self.has_error {
self.has_error = false;
ctx.notify();
}
EditorEvent::Edited(_) if self.has_error => {
self.has_error = false;
ctx.notify();
}
_ => (),
}
@@ -1,7 +1,5 @@
use std::borrow::Cow;
use pathfinder_color::ColorU;
use pathfinder_geometry::vector::Vector2F;
use galaxy_core::features::FeatureFlag;
use galaxy_core::ui::appearance::Appearance;
use galaxy_core::ui::color::blend::Blend as _;
@@ -20,6 +18,8 @@ use galaxyui::ui_components::components::{UiComponent as _, UiComponentStyles};
use galaxyui::{
AppContext, Element, Entity, SingletonEntity as _, TypedActionView, View, ViewContext,
};
use pathfinder_color::ColorU;
use pathfinder_geometry::vector::Vector2F;
use crate::util::bindings::{keybinding_name_to_display_string, BindingGroup, CustomAction};