From 967f20f629604e5e38abc471b3da4eb7ea965b76 Mon Sep 17 00:00:00 2001 From: Jake Date: Fri, 15 May 2026 18:27:13 +0100 Subject: [PATCH] v0.3 Phase 5d refinements: title case + contained drop zone + central Browse + quieter dock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Polish pass on Files per round-13 feedback. Four small refinements, no colour exploration, no structural restructure. 1. Title case. "File transcription" -> "File Transcription". Sets the convention for future page titles (Tasks, History, Settings will follow). 2. Contained drop zone. Was: flex-1 dashed zone fills entire primary surface, reads as one vast empty void. Now: outer flex container centres a max-w-2xl + min-h-280px dashed card inside the primary surface. The primary surface retains its boundary; the drop target sits inside it with breathing room rather than dominating the whole panel. 3. Central Browse Files in the empty state. Added a primary blue Browse Files button directly under the support line. Empty state reads: [Upload icon] Drop an audio file. Or browse from your computer. [Browse Files] MP3 · WAV · M4A · MP4 · FLAC · OGG This is the primary browse affordance now; the action dock's Browse Files button moves to secondary so the two buttons do not compete for attention. Both still work — one is centred in the empty state, the other lives in the dock for once-a-file- is-loaded re-entry. 4. Quieter disabled dock actions. Export was reading too prominent in light mode while disabled. Variant logic now: - When no transcript: Export = tertiary disabled (low emphasis) - When transcript exists: Export = primary blue Copy stays tertiary throughout. Browse Files stays secondary in the dock (primary lives in empty state). Compile clean: npm run check 0 errors / 0 warnings / 5707 files. State screenshots captured separately (committed as no-op mock changes that revert before this commit — see captures in email): files_EMPTY__quiet-{dark,light} contained drop zone files_TRANSCRIBING__quiet-{dark,light} Upload + filename + blue progress files_COMPLETE__quiet-{dark,light} transcript textarea + Export primary blue + Copy enabled Phase 5d Files is now complete. Phase 5f (History) is next per Jake's direction. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/lib/pages/FilesPage.svelte | 48 +++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/src/lib/pages/FilesPage.svelte b/src/lib/pages/FilesPage.svelte index 75aef89..254de44 100644 --- a/src/lib/pages/FilesPage.svelte +++ b/src/lib/pages/FilesPage.svelte @@ -214,7 +214,7 @@ {#snippet header()}
-

File transcription

+

File Transcription

Transcribe audio files locally.

{/snippet} @@ -246,19 +246,27 @@ {:else if !fileTranscript} - -
-
- +
Browse files + >Browse Files Copy {#snippet trigger()} - Export + Export {/snippet}