fix(ui): clearer hold reasons, aligned details and chart states

Render the hold reason as a sentence, pluralise counts, give the details grid a fixed rhythm, use distinct registry colours, label the plotted series, and show a note for a single day of history.
This commit is contained in:
2026-11-24 01:27:22 +00:00
parent 6e8ac5265c
commit ad8295455d
19 changed files with 203 additions and 51 deletions
+2 -2
View File
@@ -59,7 +59,7 @@
<template #cell-state="{ row }">
<StatusBadge :status="scannerState(row)" :label="STATE_LABELS[scannerState(row)]" :tones="STATE_TONES" />
</template>
<template #cell-version="{ row }">{{ row.version ? `v${row.version}` : 'Not reported' }}</template>
<template #cell-version="{ row }">{{ scannerVersion(row) || 'Not applicable' }}</template>
</DataTable>
</CardContent>
</Card>
@@ -133,7 +133,7 @@ import AdminKeyDialog from './parts/AdminKeyDialog.vue'
import { useAdminKey } from '@/lib/adminKey'
import { formatBytes, formatDuration } from '@/lib/format'
import { faRotateRight } from '@/lib/icons'
import { describePolicy, scannerState, useSystem, type ScannerInfo } from '@/lib/system'
import { describePolicy, scannerState, scannerVersion, useSystem, type ScannerInfo } from '@/lib/system'
const { info, error, load } = useSystem()
const adminKey = useAdminKey()