fix(decks/from-image): kontextbewusste Statusmeldungen für URL-only-Generierung

🌐-Emoji und angepasste Texte wenn nur URL (keine Bilder) verarbeitet wird.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-05-10 16:02:21 +02:00
parent 0c68186563
commit b761cd52c9
2 changed files with 7 additions and 5 deletions

View file

@ -275,7 +275,9 @@
<p class="ai-hint" aria-live="polite">Generiere… ca. 1060 s</p>
{/if}
{#if imageGenerating}
<p class="ai-hint" aria-live="polite">Analysiere Bild… ca. 1560 s</p>
<p class="ai-hint" aria-live="polite">
{imageFiles.length > 0 && imageUrl.trim() ? 'Bild + URL' : imageUrl.trim() ? 'URL' : 'Bild'} wird analysiert… ca. 1560 s
</p>
{/if}
<div class="actions">
@ -287,7 +289,7 @@
</button>
<button type="button" disabled={(imageFiles.length === 0 && !imageUrl.trim()) || imageGenerating || saving || generating} onclick={onFromImage} class="btn-ai">
{#if imageGenerating}
🖼 Analysiere…
{imageUrl.trim() && imageFiles.length === 0 ? '🌐' : '🖼'} Analysiere…
{:else if imageFiles.length > 0 && imageUrl.trim()}
🖼 Bild + URL
{:else if imageUrl.trim()}