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:
@@ -1,15 +1,13 @@
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
use anyhow::Error;
|
||||
use galaxy_core::{
|
||||
define_settings_group,
|
||||
settings::{Setting, SupportedPlatforms, SyncToCloud},
|
||||
use galaxy_core::define_settings_group;
|
||||
use galaxy_core::settings::{
|
||||
ChangeEventReason, RespectUserSyncSetting, Setting, SupportedPlatforms, SyncToCloud,
|
||||
};
|
||||
use galaxyui::{AppContext, ModelContext, SingletonEntity};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use settings_value::SettingsValue;
|
||||
use galaxy_core::define_settings_group;
|
||||
use galaxy_core::settings::{RespectUserSyncSetting, Setting, SupportedPlatforms, SyncToCloud};
|
||||
|
||||
use crate::cloud_object::model::persistence::{CloudModel, CloudModelEvent};
|
||||
use crate::cloud_object::CloudObject as _;
|
||||
|
||||
@@ -5,12 +5,10 @@ use std::path::PathBuf;
|
||||
use std::sync::Arc;
|
||||
|
||||
use fuzzy_match::{match_indices_case_insensitive, FuzzyMatchResult};
|
||||
use itertools::Itertools;
|
||||
use galaxy_core::ui::builder::UiBuilder;
|
||||
use galaxy_core::ui::theme::color::internal_colors;
|
||||
use galaxy_editor::editor::NavigationKey;
|
||||
use warp_workflows::workflows as global_workflows;
|
||||
use galaxyui::accessibility::{AccessibilityContent, WarpA11yRole};
|
||||
use galaxyui::accessibility::{AccessibilityContent, GalaxyA11yRole};
|
||||
use galaxyui::color::ColorU;
|
||||
use galaxyui::elements::{
|
||||
Align, ConstrainedBox, Container, CrossAxisAlignment, DispatchEventResult, Element,
|
||||
@@ -25,6 +23,8 @@ use galaxyui::ui_components::components::{UiComponent, UiComponentStyles};
|
||||
use galaxyui::{
|
||||
AppContext, Entity, SingletonEntity, TypedActionView, View, ViewContext, WeakViewHandle,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
use warp_workflows::workflows as global_workflows;
|
||||
|
||||
use super::workflow::Workflow;
|
||||
use super::WorkflowSource;
|
||||
@@ -33,8 +33,8 @@ use crate::cloud_object::model::persistence::CloudModel;
|
||||
use crate::editor::Event as EditorEvent;
|
||||
use crate::send_telemetry_from_ctx;
|
||||
use crate::server::telemetry::TelemetryEvent;
|
||||
use crate::themes::theme::{self, Blend, WarpTheme};
|
||||
use crate::user_config::{WarpConfig, WarpConfigUpdateEvent};
|
||||
use crate::themes::theme::{self, Blend, GalaxyTheme};
|
||||
use crate::user_config::{GalaxyConfig, GalaxyConfigUpdateEvent};
|
||||
use crate::util::bindings::CustomAction;
|
||||
use crate::voltron::{VoltronFeatureViewMeta, VoltronMetadata};
|
||||
use crate::workflows::WorkflowType;
|
||||
|
||||
@@ -3,6 +3,7 @@ use std::fmt;
|
||||
use std::result::Result;
|
||||
use std::str::FromStr;
|
||||
|
||||
use galaxyui::{AppContext, SingletonEntity};
|
||||
use serde::de::{self, MapAccess, Visitor};
|
||||
use serde::ser::SerializeStruct;
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use std::collections::HashMap;
|
||||
use std::ops::Range;
|
||||
|
||||
use string_offset::CharOffset;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxy_core::settings::Setting;
|
||||
use galaxyui::color::ColorU;
|
||||
@@ -22,6 +21,7 @@ use galaxyui::{
|
||||
AppContext, Element, Entity, EventContext, SingletonEntity, TypedActionView, View, ViewContext,
|
||||
ViewHandle,
|
||||
};
|
||||
use string_offset::CharOffset;
|
||||
|
||||
use super::command_parser::{
|
||||
compute_workflow_display_data, WorkflowArgumentIndex, WorkflowDisplayData,
|
||||
|
||||
@@ -13,7 +13,7 @@ use super::WorkflowSource;
|
||||
use crate::terminal::model::session::Session;
|
||||
#[cfg(feature = "local_fs")]
|
||||
use crate::user_config::load_workflows;
|
||||
use crate::user_config::WarpConfig;
|
||||
use crate::user_config::GalaxyConfig;
|
||||
|
||||
pub fn workflows_dir(base_dir: impl AsRef<Path>) -> PathBuf {
|
||||
base_dir.as_ref().join("workflows")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use galaxyui::App;
|
||||
use std::sync::Arc;
|
||||
|
||||
use galaxyui::App;
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ use super::workflow::Workflow;
|
||||
use super::CloudWorkflowModel;
|
||||
use crate::cloud_object::model::persistence::CloudModel;
|
||||
use crate::cloud_object::{GenericCloudObject, Owner};
|
||||
use crate::drive::OpenWarpDriveObjectSettings;
|
||||
use crate::drive::OpenGalaxyDriveObjectSettings;
|
||||
use crate::pane_group::{PaneContent, WorkflowPane};
|
||||
use crate::server::cloud_objects::update_manager::{
|
||||
ObjectOperation, OperationSuccessType, UpdateManager, UpdateManagerEvent,
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
pub use cloud_object_models::{CloudWorkflow, CloudWorkflowModel, WorkflowId};
|
||||
use galaxy_core::context_flag::ContextFlag;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxyui::{AppContext, SingletonEntity};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
pub mod categories;
|
||||
|
||||
@@ -4,12 +4,6 @@ use std::sync::Arc;
|
||||
use alias_bar::{AliasBar, AliasBarEvent};
|
||||
use argument_editor::{ArgumentEditorRow, DEFAULT_ARGUMENT_PREFIX};
|
||||
use env_var_selector::{EnvVarSelector, EnvVarSelectorEvent};
|
||||
use itertools::Itertools;
|
||||
use pathfinder_color::ColorU;
|
||||
use pathfinder_geometry::vector::vec2f;
|
||||
use string_offset::CharOffset;
|
||||
use syntax_highlightable::SyntaxHighlightable;
|
||||
use url::Url;
|
||||
use galaxy_core::context_flag::ContextFlag;
|
||||
use galaxy_core::settings::Setting;
|
||||
use galaxy_core::ui::theme::AnsiColorIdentifier;
|
||||
@@ -31,6 +25,12 @@ use galaxyui::{
|
||||
AppContext, Element, Entity, FocusContext, ModelHandle, SingletonEntity, TypedActionView, View,
|
||||
ViewContext, ViewHandle, WindowId,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
use pathfinder_color::ColorU;
|
||||
use pathfinder_geometry::vector::vec2f;
|
||||
use string_offset::CharOffset;
|
||||
use syntax_highlightable::SyntaxHighlightable;
|
||||
use url::Url;
|
||||
|
||||
use super::aliases::WorkflowAliases;
|
||||
use super::command_parser::WorkflowCommandDisplayData;
|
||||
@@ -59,7 +59,7 @@ use crate::drive::workflows::workflow_arg_selector::{
|
||||
WorkflowArgSelector, WorkflowArgSelectorEvent,
|
||||
};
|
||||
use crate::drive::workflows::workflow_arg_type_helpers::{self, ArgumentEditorRowIndex};
|
||||
use crate::drive::{CloudObjectTypeAndId, DriveObjectType, OpenWarpDriveObjectSettings};
|
||||
use crate::drive::{CloudObjectTypeAndId, DriveObjectType, OpenGalaxyDriveObjectSettings};
|
||||
use crate::editor::{
|
||||
EditorOptions, EditorView, EnterAction, EnterSettings, Event as EditorEvent, InteractionState,
|
||||
PlainTextEditorViewAction as EditorAction, PropagateAndNoOpNavigationKeys,
|
||||
|
||||
@@ -2,7 +2,6 @@ use std::cmp::Ordering;
|
||||
use std::collections::HashMap;
|
||||
|
||||
use anyhow::Error;
|
||||
use pathfinder_geometry::vector::vec2f;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxy_core::ui::appearance::Appearance;
|
||||
use galaxy_core::ui::theme::color::internal_colors::neutral_4;
|
||||
@@ -17,6 +16,7 @@ use galaxyui::{
|
||||
AppContext, Element, Entity, SingletonEntity as _, TypedActionView, View, ViewContext,
|
||||
ViewHandle,
|
||||
};
|
||||
use pathfinder_geometry::vector::vec2f;
|
||||
|
||||
use crate::cloud_object::model::persistence::CloudModel;
|
||||
use crate::cloud_object::CloudObject;
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
use std::cmp::Ordering;
|
||||
|
||||
use itertools::Itertools;
|
||||
use pathfinder_color::ColorU;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxy_core::ui::appearance::Appearance;
|
||||
use galaxy_editor::editor::NavigationKey;
|
||||
@@ -9,6 +7,8 @@ use galaxyui::elements::{
|
||||
ChildView, ConstrainedBox, Container, CrossAxisAlignment, Fill, Flex, MainAxisAlignment,
|
||||
MainAxisSize, ParentElement, Shrinkable,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
use pathfinder_color::ColorU;
|
||||
use warpui::text_layout::TextStyle;
|
||||
use warpui::ui_components::button::ButtonVariant;
|
||||
use warpui::ui_components::components::{Coords, UiComponent, UiComponentStyles};
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
use itertools::Itertools as _;
|
||||
use galaxyui::elements::ChildView;
|
||||
use galaxyui::{
|
||||
Element as _, Entity, SingletonEntity as _, TypedActionView, View, ViewAsRef, ViewContext,
|
||||
ViewHandle,
|
||||
};
|
||||
use itertools::Itertools as _;
|
||||
|
||||
use crate::cloud_object::model::persistence::{CloudModel, CloudModelEvent};
|
||||
use crate::cloud_object::{CloudObject as _, GenericStringObjectFormat, JsonObjectType};
|
||||
|
||||
@@ -7,10 +7,8 @@ use galaxy_completer::completer::SuggestionTypeName;
|
||||
use galaxy_completer::signatures::CommandRegistry;
|
||||
use galaxy_core::ui::theme::AnsiColorIdentifier;
|
||||
use galaxyui::r#async::SpawnedFutureHandle;
|
||||
use galaxyui::ViewHandle;
|
||||
use galaxyui::{Entity, ModelContext, SingletonEntity};
|
||||
use string_offset::ByteOffset;
|
||||
use galaxyui::{Entity, ModelContext, SingletonEntity, ViewHandle};
|
||||
use string_offset::ByteOffset;
|
||||
|
||||
use crate::appearance::Appearance;
|
||||
use crate::completer::SessionAgnosticContext;
|
||||
|
||||
Reference in New Issue
Block a user