Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::collections::HashMap;
|
||||
|
||||
use chrono::{DateTime, Duration, Utc};
|
||||
use warpui::{Entity, ModelContext, SingletonEntity};
|
||||
use galaxyui::{Entity, ModelContext, SingletonEntity};
|
||||
|
||||
use crate::{
|
||||
persistence::model::PersistedObjectAction,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use warpui::App;
|
||||
use galaxyui::App;
|
||||
|
||||
use super::{ObjectAction, ObjectActionSubtype, ObjectActionType, ObjectActions};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use chrono::Utc;
|
||||
use lazy_static::lazy_static;
|
||||
use settings::{RespectUserSyncSetting, SyncToCloud};
|
||||
use warpui::{App, ModelHandle};
|
||||
use galaxyui::{App, ModelHandle};
|
||||
|
||||
use crate::auth::auth_manager::AuthManager;
|
||||
use crate::auth::user::TEST_USER_UID;
|
||||
@@ -753,7 +753,7 @@ fn test_load_cloud_objects_on_initial_load_with_empty_cache() {
|
||||
initialize_app(&mut app, Vec::new(), Arc::new(cloud_object_server_api_mock));
|
||||
|
||||
// Spend time waiting for the initial load to finish etc.
|
||||
warpui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
galaxyui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
|
||||
// TODO: @ianhodge - update tests once cloud model APIs are added
|
||||
// Now CloudModel should include all objects that were fetched via initial load
|
||||
@@ -862,7 +862,7 @@ fn test_loading_all_cloud_objects_after_switching_from_offline() {
|
||||
check_cloud_folders(&mut app, 0);
|
||||
|
||||
// Spend time waiting for the initial load to finish etc.
|
||||
warpui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
galaxyui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
|
||||
// Now CloudModel should include all objects that were fetched via initial load (in this
|
||||
// case: personal only)
|
||||
@@ -881,7 +881,7 @@ fn test_loading_all_cloud_objects_after_switching_from_offline() {
|
||||
});
|
||||
|
||||
// Spend time waiting for the load to finish etc.
|
||||
warpui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
galaxyui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
|
||||
// Now CloudModel should include all objects that were fetched via initial load
|
||||
check_cloud_workflows(&mut app, personal_workflows_len + team_workflows_len);
|
||||
@@ -930,7 +930,7 @@ fn test_force_refresh_only_happens_once() {
|
||||
initialize_app(&mut app, Vec::new(), Arc::new(cloud_object_server_api_mock));
|
||||
|
||||
// Spend time waiting for the initial load to finish etc.
|
||||
warpui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
galaxyui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
|
||||
// Check that pending refresh is now false on CloudModel
|
||||
CloudModel::handle(&app).read(&app, |model, _ctx| {
|
||||
@@ -979,7 +979,7 @@ fn test_force_refresh_correctly_resets_timestamp() {
|
||||
initialize_app(&mut app, Vec::new(), Arc::new(cloud_object_server_api_mock));
|
||||
|
||||
// Spend time waiting for the initial load to finish etc.
|
||||
warpui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
galaxyui::r#async::Timer::after(Duration::from_secs(1)).await;
|
||||
|
||||
// Check that pending refresh is within the acceptable hour range.
|
||||
CloudModel::handle(&app).read(&app, |model, _ctx| {
|
||||
|
||||
@@ -24,14 +24,14 @@ use crate::workspaces::user_workspaces::UserWorkspaces;
|
||||
use itertools::Itertools;
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::sync::mpsc::SyncSender;
|
||||
use warp_graphql::scalars::time::ServerTimestamp;
|
||||
use galaxy_graphql::scalars::time::ServerTimestamp;
|
||||
|
||||
use warpui::{AppContext, Entity, ModelContext, SingletonEntity};
|
||||
use galaxyui::{AppContext, Entity, ModelContext, SingletonEntity};
|
||||
|
||||
use crate::cloud_object::CloudObject;
|
||||
use chrono::{DateTime, Duration, Utc};
|
||||
use rand::Rng;
|
||||
use warp_core::features::FeatureFlag;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
|
||||
use super::generic_string_model::GenericStringObjectId;
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
use std::{cell::RefCell, collections::HashMap};
|
||||
|
||||
use chrono::{Duration, Utc};
|
||||
use warp_graphql::scalars::time::ServerTimestamp;
|
||||
use warpui::{AppContext, Entity, ModelContext, SingletonEntity};
|
||||
use galaxy_graphql::scalars::time::ServerTimestamp;
|
||||
use galaxyui::{AppContext, Entity, ModelContext, SingletonEntity};
|
||||
|
||||
use crate::{
|
||||
auth::{AuthStateProvider, UserUid},
|
||||
|
||||
Reference in New Issue
Block a user