From 116b61c53b0325b7e26c837a486f7336b7dadf11 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 3 May 2025 23:06:46 +0400 Subject: [PATCH] refac --- src/lib/components/playground/Notes.svelte | 122 ------------------ .../(app)/playground/notes/+page.svelte | 5 - 2 files changed, 127 deletions(-) delete mode 100644 src/lib/components/playground/Notes.svelte delete mode 100644 src/routes/(app)/playground/notes/+page.svelte diff --git a/src/lib/components/playground/Notes.svelte b/src/lib/components/playground/Notes.svelte deleted file mode 100644 index 8db333e69..000000000 --- a/src/lib/components/playground/Notes.svelte +++ /dev/null @@ -1,122 +0,0 @@ - - -
- {#if loading} -
-
- -
-
- {/if} - -
-
-
- -
-
- -
- -
-
- -
-
- {#if voiceInput} -
- { - voiceInput = false; - }} - onConfirm={(data) => { - const { text, filename } = data; - - // url is hostname + /cache/audio/transcription/ + filename - const url = `${window.location.origin}/cache/audio/transcription/${filename}`; - - // Open in new tab - - if (content.trim() !== '') { - content = `${content}\n\n${text}\n\nRecording: ${url}\n\n`; - } else { - content = `${content}${text}\n\nRecording: ${url}\n\n`; - } - - voiceInput = false; - }} - /> -
- {:else} - - - - {/if} - - -
-
-
diff --git a/src/routes/(app)/playground/notes/+page.svelte b/src/routes/(app)/playground/notes/+page.svelte deleted file mode 100644 index 51a4bc517..000000000 --- a/src/routes/(app)/playground/notes/+page.svelte +++ /dev/null @@ -1,5 +0,0 @@ - - -