Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -7,12 +7,12 @@ use std::time::Duration;
|
||||
use anyhow::{anyhow, Result};
|
||||
use settings::Setting as _;
|
||||
use uuid::Uuid;
|
||||
use warp_core::channel::ChannelState;
|
||||
use warp_core::features::FeatureFlag;
|
||||
use warp_graphql::mutations::create_anonymous_user::{
|
||||
use galaxy_core::channel::ChannelState;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
use galaxy_graphql::mutations::create_anonymous_user::{
|
||||
AnonymousUserType, CreateAnonymousUserResult,
|
||||
};
|
||||
use warpui::{clipboard::ClipboardContent, Entity, ModelContext, SingletonEntity, UpdateModel};
|
||||
use galaxyui::{clipboard::ClipboardContent, Entity, ModelContext, SingletonEntity, UpdateModel};
|
||||
|
||||
use super::auth_state::{AuthState, PersistAction};
|
||||
use super::auth_view_modal::{AuthRedirectPayload, AuthViewVariant};
|
||||
@@ -453,18 +453,18 @@ impl AuthManager {
|
||||
// TODO(alokedesai): Investigate a more robust way of handling events
|
||||
// that don't get flushed to Rudderstack outside of this event specifically.
|
||||
async move {
|
||||
warpui::telemetry::record_identify_user_event(
|
||||
galaxyui::telemetry::record_identify_user_event(
|
||||
user_id.as_string(),
|
||||
anonymous_id.clone(),
|
||||
warpui::time::get_current_time(),
|
||||
galaxyui::time::get_current_time(),
|
||||
);
|
||||
warpui::telemetry::record_event(
|
||||
galaxyui::telemetry::record_event(
|
||||
Some(user_id.as_string()),
|
||||
anonymous_id,
|
||||
TelemetryEvent::Login.name().into(),
|
||||
TelemetryEvent::Login.payload(),
|
||||
TelemetryEvent::Login.contains_ugc(),
|
||||
warpui::time::get_current_time(),
|
||||
galaxyui::time::get_current_time(),
|
||||
);
|
||||
|
||||
// Note that this snapshot might get overwritten to disabled after the server fetch.
|
||||
@@ -483,7 +483,7 @@ impl AuthManager {
|
||||
|
||||
// Once the user is authenticated, attempt to report the sandbox that Warp is running in, if any.
|
||||
ctx.spawn(
|
||||
async { warp_isolation_platform::detect() },
|
||||
async { galaxy_isolation_platform::detect() },
|
||||
|_, platform, ctx| {
|
||||
if let Some(platform) = platform {
|
||||
send_telemetry_from_ctx!(
|
||||
|
||||
Reference in New Issue
Block a user