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
@@ -105,7 +105,7 @@
<iframe
v-if="isPdf"
:src="url"
class="scan-page w-[800px] h-[1100px] bg-white"
class="scan-page w-full max-w-[800px] aspect-[8/11] h-auto sm:w-[800px] sm:h-[1100px] sm:aspect-auto bg-white"
frameborder="0"
title="Scanned document"
/>
@@ -132,6 +132,7 @@
<script setup lang="ts">
import { ref, computed, watch, nextTick } from 'vue'
import { useResizeObserver } from '@vueuse/core'
import SkeletonBlock from './SkeletonBlock.vue'
import InlineError from './InlineError.vue'
import EmptyState from './EmptyState.vue'
@@ -242,6 +243,12 @@ watch(
}
}
)
useResizeObserver(viewerContainer, () => {
if (props.url && !props.loading && !props.error) {
fitWidth()
}
})
</script>
<style scoped>