diff --git a/crates/desktop/artcraft/src/threads/discord_presence_thread.rs b/crates/desktop/artcraft/src/threads/discord_presence_thread.rs index cad23b54a5..e57e383841 100644 --- a/crates/desktop/artcraft/src/threads/discord_presence_thread.rs +++ b/crates/desktop/artcraft/src/threads/discord_presence_thread.rs @@ -1,7 +1,7 @@ use anyhow::anyhow; use discord_rich_presence::{DiscordIpc, DiscordIpcClient}; use errors::AnyhowResult; -use log::info; +use log::{debug, info}; /// Our Discord App ID. Not sure if this is a secret. const DISCORD_APP_ID : &str = "1366596912593113138"; @@ -15,13 +15,13 @@ pub async fn discord_presence_thread() -> ! { } async fn discord_main_loop(mut client: DiscordIpcClient) -> AnyhowResult<()> { - info!("Connecting Discord IPC client"); + info!("(Re)-connecting Discord IPC client..."); client.connect() .map_err(|err| anyhow!("Error connecting to Discord IPC: {:?}", err))?; loop { - info!("Notifying discord presence API..."); + debug!("Notifying discord presence API..."); let assets = discord_rich_presence::activity::Assets::new() .large_image("https://storyteller.ai/android-chrome-512x512.png") diff --git a/frontend/apps/editor3d/app/src/configs.ts b/frontend/apps/editor3d/app/src/configs.ts index 8166aa9349..2f4bc37bd2 100644 --- a/frontend/apps/editor3d/app/src/configs.ts +++ b/frontend/apps/editor3d/app/src/configs.ts @@ -66,8 +66,8 @@ export class Configs { break; } - console.debug(`Build environment type: ${environment}`); - console.debug(`Deploy context: ${this.deployContext}`); - console.debug(`Upload API: ${this.uploadApiVideo}`); + //console.debug(`Build environment type: ${environment}`); + //console.debug(`Deploy context: ${this.deployContext}`); + //console.debug(`Upload API: ${this.uploadApiVideo}`); } } \ No newline at end of file diff --git a/frontend/apps/editor3d/app/src/pages/PageEnigma/tauri_events/SoraImageGenerationFailure.ts b/frontend/apps/editor3d/app/src/pages/PageEnigma/tauri_events/SoraImageGenerationFailure.ts index 9b9beb8063..1a74bdf654 100644 --- a/frontend/apps/editor3d/app/src/pages/PageEnigma/tauri_events/SoraImageGenerationFailure.ts +++ b/frontend/apps/editor3d/app/src/pages/PageEnigma/tauri_events/SoraImageGenerationFailure.ts @@ -1,6 +1,7 @@ import { SoundRegistry, SoundEffect } from "@storyteller/soundboard"; import { listen } from '@tauri-apps/api/event'; import { AppPreferencesPayload, CustomDirectory, GetAppPreferences, SystemDirectory } from "@storyteller/tauri-api"; +import { toast } from "@storyteller/ui-toaster"; type SoraImageGenerationFailed = { prompt: string, @@ -18,6 +19,7 @@ export const InstallImageGenerationFailure = () => { const registry = SoundRegistry.getInstance(); registry.playSound(soundName); } + toast.error("Image generation failed!"); }); } diff --git a/frontend/apps/editor3d/app/src/pages/PageEnigma/tauri_events/SoraImageGenerationSuccess.ts b/frontend/apps/editor3d/app/src/pages/PageEnigma/tauri_events/SoraImageGenerationSuccess.ts index cdbb6ddabe..126622597d 100644 --- a/frontend/apps/editor3d/app/src/pages/PageEnigma/tauri_events/SoraImageGenerationSuccess.ts +++ b/frontend/apps/editor3d/app/src/pages/PageEnigma/tauri_events/SoraImageGenerationSuccess.ts @@ -1,6 +1,7 @@ import { SoundRegistry, SoundEffect } from "@storyteller/soundboard"; import { listen } from '@tauri-apps/api/event'; import { AppPreferencesPayload, CustomDirectory, GetAppPreferences, SystemDirectory } from "@storyteller/tauri-api"; +import { toast } from "@storyteller/ui-toaster"; type ImageGenerationSuccess = { media_file_token: string, @@ -18,6 +19,7 @@ export const InstallImageGenerationSuccess = () => { const registry = SoundRegistry.getInstance(); registry.playSound(soundName); } + toast.success("Image generated!"); }); }