small ui polish: loading state, relative timestamps, log-marker formatting, wider tooltips, type tidy-ups
This commit is contained in:
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` : ''}
|
||||
|
||||
Reference in new issue
Block a user