From 57786961400e14f32455cbd2235212b44f217dfb Mon Sep 17 00:00:00 2001 From: Jake Date: Thu, 7 May 2026 10:49:37 +0100 Subject: [PATCH] feat(dictation): surface "Talk now, think later" empty state and hide post-transcript actions Reduces first-run cognitive load. Save / Copy / Clear / Export now appear only once the user has a transcript or is recording, sliding in via animate-fade-in (brand --duration-ui + ease-out-quart). Template and Extract Tasks remain always-visible because they shape transcription rather than acting on completed content. Empty state now leads with the catchphrase as a brand statement (font-display italic 28px) with the hotkey hint demoted to body-font tertiary. EmptyState gains an optional headline prop; callers without it render unchanged. --- src/lib/components/EmptyState.svelte | 13 ++++-- src/lib/pages/DictationPage.svelte | 67 +++++++++++++++------------- 2 files changed, 45 insertions(+), 35 deletions(-) diff --git a/src/lib/components/EmptyState.svelte b/src/lib/components/EmptyState.svelte index 43e0e25..5842092 100644 --- a/src/lib/components/EmptyState.svelte +++ b/src/lib/components/EmptyState.svelte @@ -1,12 +1,17 @@ -
+
{#if Icon} -
{:else if !transcript.trim() && !page.recording && !transcribing}
- +