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
+2
View File
@@ -2,6 +2,8 @@ use std::collections::HashMap;
use std::fmt::Display;
use anyhow::{anyhow, Result};
use galaxy_util::path::{is_posix_portable_pathname, ShellFamily};
use galaxyui::AppContext;
use regex::Regex;
use url::Url;
+6 -3
View File
@@ -23,7 +23,8 @@ use crate::ai::active_agent_views_model::{ActiveAgentViewsModel, ConversationOrT
use crate::ai::agent::api::ServerConversationToken;
use crate::ai::ambient_agents::github_auth_notifier::GitHubAuthNotifier;
use crate::cloud_object::ObjectType;
use crate::drive::{OpenWarpDriveObjectArgs, OpenWarpDriveObjectSettings};
use crate::code::editor_management::CodeSource;
use crate::drive::{OpenGalaxyDriveObjectArgs, OpenGalaxyDriveObjectSettings};
use crate::features::FeatureFlag;
use crate::launch_configs::launch_config::LaunchConfig;
use crate::linear::{LinearAction, LinearIssueWork};
@@ -38,8 +39,10 @@ use crate::settings_view::{
};
use crate::tab_configs::TabConfig;
use crate::user_config::{load_launch_configs, load_tab_configs, tab_configs_dir};
use crate::util::file::external_editor::EditorSettings;
use crate::util::openable_file_type::{
is_file_openable_in_warp, is_markdown_file, is_runnable_shell_script, starts_with_shebang,
is_file_openable_in_warp, is_markdown_file, is_runnable_shell_script,
resolve_file_target_to_open_in_warp, starts_with_shebang,
};
use crate::view_components::DismissibleToast;
use crate::workspace::auto_handoff::trigger_auto_handoff_to_cloud;
@@ -1182,6 +1185,7 @@ impl Action {
/// When handling this URI action, determine which window(s) should be focused.
#[cfg_attr(not(any(target_os = "linux", target_os = "freebsd")), allow(dead_code))]
fn window_behavior_hint(&self) -> WindowBehaviorHint {
use WindowBehaviorHint as W;
match self {
Self::Docker
| Self::OpenFileEditor { .. }
@@ -1418,7 +1422,6 @@ fn open_file_editor(
) {
#[cfg(feature = "local_fs")]
{
if !can_open_file_editor_path(&path) {
log::warn!("open_file_editor action rejected non-openable path: {path:?}");
return;
+4 -1
View File
@@ -1,5 +1,9 @@
#[cfg(unix)]
use std::os::unix::fs::PermissionsExt;
use self::parse_url_paths::{get_item_data_from_warp_link, WarpWebLink};
use super::*;
use crate::drive::{OpenWarpDriveObjectArgs, OpenWarpDriveObjectSettings};
use crate::launch_configs::launch_config::make_mock_single_window_launch_config;
use crate::linear::{LinearAction, LinearIssueWork};
use crate::ChannelState;
@@ -781,7 +785,6 @@ fn test_settings_section_for_simple_subpage() {
#[test]
#[cfg(unix)]
fn test_open_file_executable_sh_routes_to_execute() {
use std::os::unix::fs::PermissionsExt;
let dir = tempfile::tempdir().unwrap();
let p = dir.path().join("run.sh");
std::fs::write(&p, b"#!/bin/sh\n:\n").unwrap();
+2 -2
View File
@@ -1,8 +1,8 @@
use anyhow::{anyhow, Result};
use url::Url;
use uuid::Uuid;
#[cfg(target_family = "wasm")]
use galaxy_core::context_flag::ContextFlag;
use url::Url;
use uuid::Uuid;
#[cfg(target_family = "wasm")]
use crate::uri::browser_url_handler::parse_current_url;