small ui polish: loading state, relative timestamps, log-marker formatting, wider tooltips, type tidy-ups

This commit is contained in:
jarek committed 2026-07-31 10:10:55 +02:00
1 parent 8a32bc377d
commit 9bc4eaa47b
9 files changed
+106 -26

No files matched your search

@@ -1,4 +1,5 @@
<script lang="ts">
import { formatErrorLines } from '$lib/utils/format';
import * as Dialog from '$lib/components/ui/dialog';
import { Progress } from '$lib/components/ui/progress';
import { Button } from '$lib/components/ui/button';
@@ -227,7 +228,7 @@
<XCircle class="w-5 h-5 text-destructive shrink-0" />
{/if}
{#if phase === 'error'}
<span class="text-destructive">{errorMessage}</span>
<span class="whitespace-pre-wrap break-words text-destructive">{formatErrorLines(errorMessage)}</span>
{:else}
<span>
Scanned <span class="font-medium">{scanned}</span> image{scanned === 1 ? '' : 's'}{failed > 0 ? `, ${failed} failed` : ''}