Implement "import history" in import page

This commit is contained in:
2026-01-08 03:57:00 +05:00
parent c29c12feec
commit 9984bb804a
26 changed files with 591 additions and 127 deletions

View File

@ -19,10 +19,6 @@
<p class="text-sm text-muted-foreground">
{{ format }}
</p>
<Dot />
<p class="text-sm text-muted-foreground">
{{ type }}
</p>
</div>
<div class="flex flex-row items-center gap-2" v-if="hasProgress">
<p class="text-sm text-muted-foreground">
@ -85,10 +81,6 @@
<Label>Size</Label>
<p class="text-sm">{{ size }}</p>
</div>
<div class="space-y-2">
<Label>Type</Label>
<p class="text-sm">{{ type }}</p>
</div>
</div>
</div>
@ -194,7 +186,6 @@ interface Props {
title: string
size?: string
format?: string
type?: string
progress?: number
error?: string
trackProgressData?: {
@ -219,7 +210,7 @@ const emit = defineEmits<{
const isDialogOpen = ref(false);
const hasLoaded = props.size && props.format && props.type;
const hasLoaded = props.size && props.format;
const hasProgress = props.progress !== undefined && props.progress > 0;
const hasError = props.error;