From 20a7d7d9d5f2e527899191778b91b9adde8dd77f Mon Sep 17 00:00:00 2001 From: grokbot_ty Date: Sun, 27 Sep 2026 09:04:47 -0700 Subject: [PATCH] feat(ui): Jeff-facing copy + 3:4 inventory thumbs + fixed overlay font MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Locked UI/copy pass on proto-per-user-woo-creds (Settings/Woo gate polish out of scope): - Inventory PNG thumbs at 3:4 contain (Review, Publish preview, Photos ready); stop 1:1 cover squaring - Dimension overlay labels fixed OVERLAY_FONT_PX=36 for every product - Page 1–3 Jeff-plain copy; drop Measure red tech essays / px scale rows - Review: lock SVG, consistent red missing/not-ready, View prompt gated (Settings default off) --- frontend/src/App.svelte | 6 +- frontend/src/capture/BatchPhotos.svelte | 10 +- frontend/src/capture/MeasurePanel.svelte | 64 +++------ frontend/src/capture/measureInputs.test.ts | 6 +- .../src/capture/photosReadyLineup.test.ts | 12 +- frontend/src/capture/photosReadyLineup.ts | 8 +- .../src/capture/session.batchApply.test.ts | 6 +- frontend/src/capture/session.ts | 8 +- .../src/create/publish/PublishPreview.svelte | 4 +- frontend/src/create/review/Review.svelte | 130 ++++++++++-------- .../src/create/review/createDescGate.test.ts | 2 +- frontend/src/create/review/createDescGate.ts | 4 +- frontend/src/create/review/lineup.test.ts | 4 +- frontend/src/create/review/lineup.ts | 6 +- .../create/review/reviewUi.contract.test.ts | 16 +++ frontend/src/create/settings/Settings.svelte | 15 ++ frontend/src/png/overlay.test.ts | 42 +++--- frontend/src/png/overlay.ts | 14 +- frontend/src/settings/viewPrompt.ts | 29 ++++ frontend/tests/e2e/photos-ready.spec.ts | 20 +-- frontend/tests/e2e/settings-contrast.spec.ts | 2 +- 21 files changed, 231 insertions(+), 177 deletions(-) create mode 100644 frontend/src/settings/viewPrompt.ts diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index cc70e5f..5cf5bef 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -140,7 +140,7 @@ enterReview(id, capture); } catch (e) { saveError = - e instanceof ApiError ? e.message : 'Could not start the slab. Check your connection and try again.'; + e instanceof ApiError ? e.message : 'Couldn’t start this slab. Check your connection and try again.'; backToCapture(); } finally { saving = false; @@ -200,7 +200,7 @@ {:else if curFlow.phase === 'saving'}
-

Saving slab…

+

Saving…

{:else} @@ -244,7 +244,7 @@ /> {/if} {#if saving} -
Saving slab…
+
Saving…
{/if} {#if saveError} diff --git a/frontend/src/capture/BatchPhotos.svelte b/frontend/src/capture/BatchPhotos.svelte index f115195..60c6ab1 100644 --- a/frontend/src/capture/BatchPhotos.svelte +++ b/frontend/src/capture/BatchPhotos.svelte @@ -31,20 +31,20 @@
-

Batch photos

+

Add slab photos

{#if photos.length > 0} -