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,4 +1,3 @@
|
||||
use galaxyui::r#async::BoxFuture;
|
||||
use std::sync::Arc;
|
||||
|
||||
use galaxyui_core::r#async::BoxFuture;
|
||||
|
||||
@@ -26,11 +26,11 @@ use crate::repo_metadata_proto::{proto_snapshot_to_update, proto_to_repo_metadat
|
||||
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
mod remote_server_log;
|
||||
use galaxy_core::{safe_error, safe_warn, SessionId};
|
||||
use galaxy_util::standardized_path::StandardizedPath;
|
||||
use galaxyui_core::r#async::TransportStream;
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
pub use remote_server_log::RemoteServerLog;
|
||||
use galaxy_core::{safe_error, safe_warn, SessionId};
|
||||
use warp_util::standardized_path::StandardizedPath;
|
||||
use galaxyui_core::r#async::TransportStream;
|
||||
|
||||
use crate::protocol::{self, ProtocolError, RequestId};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use futures::io::{AsyncRead, AsyncWrite, AsyncWriteExt};
|
||||
use tokio_util::compat::{TokioAsyncReadCompatExt, TokioAsyncWriteCompatExt};
|
||||
use galaxy_core::SessionId;
|
||||
use galaxyui_core::r#async::executor;
|
||||
use tokio_util::compat::{TokioAsyncReadCompatExt, TokioAsyncWriteCompatExt};
|
||||
|
||||
use super::*;
|
||||
use crate::proto::{
|
||||
|
||||
@@ -5,16 +5,16 @@ use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
|
||||
use futures::channel::oneshot;
|
||||
use repo_metadata::RepoMetadataUpdate;
|
||||
use serde::Serialize;
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
use galaxy_core::channel::ChannelState;
|
||||
use galaxy_core::SessionId;
|
||||
use warp_util::remote_path::{RemoteNavigationResult, RemotePath};
|
||||
use warp_util::standardized_path::StandardizedPath;
|
||||
use galaxy_util::remote_path::{RemoteNavigationResult, RemotePath};
|
||||
use galaxy_util::standardized_path::StandardizedPath;
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
use galaxyui_core::r#async::FutureExt as _;
|
||||
use galaxyui_core::{Entity, ModelContext, ModelSpawner, SingletonEntity};
|
||||
use repo_metadata::RepoMetadataUpdate;
|
||||
use serde::Serialize;
|
||||
|
||||
use crate::auth::RemoteServerAuthContext;
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
@@ -759,6 +759,7 @@ pub enum HostRequestError {
|
||||
|
||||
impl From<crate::client::ClientError> for HostRequestError {
|
||||
fn from(err: crate::client::ClientError) -> Self {
|
||||
use crate::client::ClientError;
|
||||
match err {
|
||||
ClientError::Disconnected | ClientError::ResponseChannelClosed => {
|
||||
Self::AllSessionsDisconnected
|
||||
@@ -3786,6 +3787,7 @@ impl RemoteServerManager {
|
||||
let code = status.code();
|
||||
#[cfg(unix)]
|
||||
let signal_killed = {
|
||||
use std::os::unix::process::ExitStatusExt;
|
||||
status.signal().is_some()
|
||||
};
|
||||
#[cfg(not(unix))]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use futures::channel::oneshot;
|
||||
use galaxy_core::SessionId;
|
||||
use warp_util::standardized_path::StandardizedPath;
|
||||
use galaxy_util::standardized_path::StandardizedPath;
|
||||
use galaxyui_core::App;
|
||||
|
||||
use super::{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use galaxy_util::standardized_path::StandardizedPath;
|
||||
use repo_metadata::file_tree_update::RepoMetadataUpdate;
|
||||
use repo_metadata::{StandingQueryContent, StandingQueryResultsDelta};
|
||||
use warp_util::standardized_path::StandardizedPath;
|
||||
|
||||
use super::{proto_snapshot_to_update, proto_to_repo_metadata_update};
|
||||
use crate::proto;
|
||||
|
||||
@@ -3,8 +3,8 @@ mod glibc;
|
||||
use std::time::Duration;
|
||||
|
||||
use anyhow::anyhow;
|
||||
pub use glibc::{GlibcVersion, RemoteLibc};
|
||||
use galaxy_core::channel::{Channel, ChannelState};
|
||||
pub use glibc::{GlibcVersion, RemoteLibc};
|
||||
pub const REMOTE_SERVER_ARTIFACT_VERSION_UNPINNED: &str = "unversioned";
|
||||
|
||||
/// State machine for the remote server install → launch → initialize flow.
|
||||
@@ -424,7 +424,7 @@ pub fn remote_server_daemon_data_dir(identity_key: &str) -> String {
|
||||
/// Linux, 103 on macOS) for users with moderately long identity keys or
|
||||
/// home directory paths.
|
||||
pub fn version_hash() -> Option<String> {
|
||||
|
||||
use std::hash::{Hash, Hasher};
|
||||
let version = ChannelState::app_version()?;
|
||||
let mut hasher = std::collections::hash_map::DefaultHasher::new();
|
||||
version.hash(&mut hasher);
|
||||
|
||||
@@ -16,8 +16,8 @@ use std::path::PathBuf;
|
||||
use std::pin::Pin;
|
||||
|
||||
use async_channel::Receiver;
|
||||
use serde::Serialize;
|
||||
use galaxyui_core::r#async::executor;
|
||||
use serde::Serialize;
|
||||
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
use crate::client::RemoteServerLog;
|
||||
|
||||
Reference in New Issue
Block a user