Tenant Data Migration Admin UI — Historical Audits: Audit Drawer Detail

What the admin sees
Clicking the view icon on any row in the submission list opens AuditDrawer.tsx over the same page. For this SUCCESS batch, the drawer shows a success banner, the same three verification steps from the Ingest tab (Extract Bundle, Schema & Directory Audit, Compile Records) all marked PASSED, and ten Entity Summary cards — one per entity type migrated in this batch — each built by MigrationService.ts’s entitySummaryRows and showing its own Queued/Processed/Failed counts. As in the Live Execution Monitor, entity-type names render as raw backend enum strings rather than a humanized label (see TD-32).
What the admin does here
Reviews the full audit record for a completed (or failed) batch without re-running anything. A MigrationErrorsPanel is mounted conditionally — only when getTotalFailed reports at least one failed record across the entity summary — so a clean SUCCESS batch like this one shows no errors section at all, keeping the drawer uncluttered for the common case. On a batch with failures, the same panel renders the row-level error detail fetched via fetchBatchErrors, letting the admin inspect exactly which records failed and why before deciding whether to retry from the submission list.
Related Documents
- SR-030 — Admin UI: Tenant Catalog Migration Console Spec — FR-14, FR-16, FR-17
- Architecture-00025 — Tenant Migration Admin Console Component Topology and Data Flow
- Technical Debt — Tenant Migration Admin Console Gaps — TD-32
- Microservices: tenant-migration, document-service
- Previous: Historical Audits — Submission List · Back to: Walkthrough Overview