first pass of merging in warp (doesn't build)
This commit is contained in:
+11
-15
@@ -8,26 +8,24 @@
|
||||
mod block_onboarding_layer;
|
||||
mod login_layer;
|
||||
mod rendering;
|
||||
pub use block_onboarding_layer::{BlockOnboarding, BLOCK_ONBOARDING_LAYER};
|
||||
pub use free_tier_default_model_layer::{FreeTierDefaultModel, FREE_TIER_DEFAULT_MODEL_LAYER};
|
||||
use galaxy_core::user_preferences::GetUserPreferences as _;
|
||||
pub use improved_palette_search_layer::{ImprovedPaletteSearch, IMPROVED_PALETTE_SEARCH_LAYER};
|
||||
#[allow(unused_imports)]
|
||||
pub use login_layer::{AuthFlowInstructions, LOGIN_LAYER};
|
||||
|
||||
use crate::auth::auth_state::AuthStateProvider;
|
||||
use crate::channel::{Channel, ChannelState};
|
||||
use anyhow::Result;
|
||||
use dashmap::DashMap;
|
||||
use lazy_static::lazy_static;
|
||||
use std::collections::HashMap;
|
||||
use std::fmt;
|
||||
use std::hash::Hasher;
|
||||
use std::marker::Copy;
|
||||
use std::ops::Range;
|
||||
use std::str::FromStr;
|
||||
use std::{collections::HashMap, hash::Hasher};
|
||||
|
||||
use anyhow::Result;
|
||||
pub use block_onboarding_layer::{BlockOnboarding, BLOCK_ONBOARDING_LAYER};
|
||||
use dashmap::DashMap;
|
||||
pub use improved_palette_search_layer::{ImprovedPaletteSearch, IMPROVED_PALETTE_SEARCH_LAYER};
|
||||
use lazy_static::lazy_static;
|
||||
pub use login_layer::{AuthFlowInstructions, LOGIN_LAYER};
|
||||
use galaxy_core::user_preferences::GetUserPreferences as _;
|
||||
use galaxyui::{AppContext, SingletonEntity};
|
||||
|
||||
use crate::auth::auth_state::AuthStateProvider;
|
||||
use crate::channel::{Channel, ChannelState};
|
||||
use crate::send_telemetry_sync_from_app_ctx;
|
||||
|
||||
/// Number of buckets we are using to partition user traffic. The largest valid
|
||||
@@ -71,7 +69,6 @@ lazy_static! {
|
||||
&*BLOCK_ONBOARDING_LAYER,
|
||||
&*rendering::LAYER,
|
||||
&*IMPROVED_PALETTE_SEARCH_LAYER,
|
||||
&*FREE_TIER_DEFAULT_MODEL_LAYER,
|
||||
];
|
||||
|
||||
/// Mapping of experiments to their respective layers. The mappings are built up
|
||||
@@ -406,7 +403,6 @@ pub fn init(ctx: &mut AppContext) {
|
||||
#[path = "mod_tests.rs"]
|
||||
mod tests;
|
||||
|
||||
mod free_tier_default_model_layer;
|
||||
mod improved_palette_search_layer;
|
||||
#[cfg(test)]
|
||||
mod validation_tests;
|
||||
|
||||
Reference in New Issue
Block a user