From 9e548f8f7f91c86440b61fea32305d1c8bcb9edd Mon Sep 17 00:00:00 2001 From: Silvio Tomatis Date: Tue, 2 Jun 2026 06:42:28 +0000 Subject: [PATCH] improve(make): lead with the looping GIF, prompt the first rectangle, humanize lab tooltips MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quick-wins batch 1 (no change to rendering/export logic — copy + one overlay): - Export & Share menus now lead with the Looping GIF (the shareable artifact), reworded in plain language; the misleading "Image" is renamed to "Still image (PNG)" with honest copy; dropped the "480px · 25fps" jargon. - Cold-start prompt over the photo until the first rectangle is drawn, so a first-timer with their own photo knows what to do. - Pipeline / Playground rail tooltips rewritten from notation ("log · rotated log", "f(z) explorer") to plain language. Voice/copy changes — awaiting redline before merge + deploy. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/components/ui1/CanvasStage.svelte | 27 +++++++++++++++++++++++++++ src/components/ui1/ExportMenu.svelte | 20 ++++++++++---------- src/components/ui1/ShareMenu.svelte | 24 ++++++++++++------------ src/components/ui1/ToolRail.svelte | 8 ++++---- 4 files changed, 53 insertions(+), 26 deletions(-) diff --git a/src/components/ui1/CanvasStage.svelte b/src/components/ui1/CanvasStage.svelte index 4b98163..133a14d 100644 --- a/src/components/ui1/CanvasStage.svelte +++ b/src/components/ui1/CanvasStage.svelte @@ -690,6 +690,11 @@
{Math.round(doc.rect.x)}, {Math.round(doc.rect.y)} · {Math.round(doc.rect.w)}×{Math.round(doc.rect.h)}
{/if} {/if} + {#if !hasRect} +
+ Drag a rectangle on your photo — that's the part that spirals into itself. +
+ {/if} {/if} @@ -717,6 +722,28 @@ .stage:not(.has-image) .viewport { box-shadow: none; } .layer { position: absolute; display: block; } .overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } + /* Cold-start prompt: shown over the photo until the first rectangle is drawn. */ + .draw-hint { + position: absolute; + inset: 0; + display: flex; + align-items: center; + justify-content: center; + pointer-events: none; + padding: 16px; + } + .draw-hint span { + background: var(--ink); + color: var(--bg); + opacity: 0.92; + padding: 9px 15px; + border-radius: 999px; + font-size: 13px; + line-height: 1.35; + max-width: 24em; + text-align: center; + box-shadow: var(--shadow); + } .badge { position: absolute; background: var(--accent); diff --git a/src/components/ui1/ExportMenu.svelte b/src/components/ui1/ExportMenu.svelte index 8872709..c6658ab 100644 --- a/src/components/ui1/ExportMenu.svelte +++ b/src/components/ui1/ExportMenu.svelte @@ -155,27 +155,27 @@ {#if ui.exportMenuOpen}