From a3fc838855dbe4526af45002754a311cbd0f127c Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 19 May 2026 07:44:12 +0200 Subject: [PATCH] fix(import): surface S3 failures + already-exists in skippedFiles, a11y + max-height - Change importSingleDocument return type from boolean to Optional so callers in processRows receive the skip reason on every non-success path. S3 upload failures now surface as "S3_UPLOAD_FAILED" and already-imported documents as "ALREADY_EXISTS" in the skippedFiles list shown in the admin UI. - Add two new tests: runImportAsync_addsS3UploadFailed_toSkippedFiles and runImportAsync_addsAlreadyExists_toSkippedFiles; update importSingleDocument_skips_whenDocumentAlreadyUploadedNotPlaceholder and the S3-failure test to assert on the Optional return value. - Add i18n keys for S3_UPLOAD_FAILED and ALREADY_EXISTS in de/en/es messages. - Svelte ImportStatusCard: add aria-hidden="true" to SVG chevron, wrap conditional warning section in aria-live="polite" div, add max-h-64 overflow-y-auto to skipped-files