Harden workstation UX and seed placeholder scans after Playwright QA.
CI / backend (push) Failing after 38s
CI / frontend (push) Successful in 9m35s

Fix mobile queue navigation, draft/loading states, and Intake overflow; seed MinIO demo PDFs so document viewing does not 500; add e2e smoke coverage.
This commit is contained in:
2026-10-06 15:07:15 +08:00
parent 7d7332641f
commit 3c7bf5bccb
47 changed files with 1160 additions and 140 deletions
@@ -242,8 +242,8 @@
<th class="py-2 px-4 font-medium">Patient</th>
<th class="py-2 px-4 font-medium">Assigned To</th>
<th class="py-2 px-4 font-medium">Status</th>
<th class="py-2 px-4 font-medium">Linked Batch</th>
<th class="py-2 px-4 font-medium">Created</th>
<th class="py-2 px-4 font-medium hidden lg:table-cell">Linked Batch</th>
<th class="py-2 px-4 font-medium hidden lg:table-cell">Created</th>
</tr>
</thead>
<tbody>
@@ -264,7 +264,7 @@
{{ sheet.track === 'BACKFILL' ? 'Backfill' : 'Live' }}
</span>
</td>
<td class="py-2 px-4">
<td class="py-2 px-4 max-w-[10rem] truncate" :title="sheet.patientName ?? undefined">
<template v-if="sheet.patientName">
{{ sheet.patientName }}
<span v-if="sheet.patientMrn" class="text-ink-secondary">
@@ -273,23 +273,24 @@
</template>
<span v-else class="text-ink-disabled">—</span>
</td>
<td class="py-2 px-4">
<td class="py-2 px-4 max-w-[8rem] truncate" :title="sheet.assignToUserName ?? undefined">
{{ sheet.assignToUserName ?? '—' }}
</td>
<td class="py-2 px-4">
<StatusBadge :status="sheet.isUsed ? 'USED' : 'UNUSED'" />
</td>
<td class="py-2 px-4">
<td class="py-2 px-4 hidden lg:table-cell">
<router-link
v-if="sheet.batchId"
:to="{ path: '/intake', query: { batchId: sheet.batchId } }"
:to="batchRouteForStatus(sheet.batchStatus ?? 'IN_ENTRY', sheet.batchId)"
class="font-mono text-xs text-primary-600 hover:text-primary-800"
:title="sheet.batchId"
>
{{ sheet.batchId.substring(0, 8) }}…
</router-link>
<span v-else class="text-ink-disabled">—</span>
</td>
<td class="py-2 px-4 text-ink-secondary">
<td class="py-2 px-4 text-ink-secondary hidden lg:table-cell">
{{ formatDate(sheet.createdAt) }}
</td>
</tr>
@@ -335,6 +336,7 @@ import StatusBadge from '../components/StatusBadge.vue'
import EmptyState from '../components/EmptyState.vue'
import SkeletonBlock from '../components/SkeletonBlock.vue'
import InlineError from '../components/InlineError.vue'
import { batchRouteForStatus } from '../utils/batchRoute'
import type { CoverSheetResponse, UserSummary } from '../types'
const toast = useToast()