0.12.0-18 Tests and Converter Fixes

This commit is contained in:
2026-03-31 12:51:32 +00:00
parent aea8fa6772
commit 5aa65ad4c1
24 changed files with 2281 additions and 249 deletions
+9 -1
View File
@@ -13,6 +13,7 @@ import MetadataSelectionDialog from './MetadataSelectionDialog';
import CdMetadataDialog from './CdMetadataDialog';
import { CD_FORMATS, CD_FORMAT_SCHEMAS, getDefaultFormatOptions } from '../config/cdFormatSchemas';
import { getStatusLabel, getStatusSeverity } from '../utils/statusPresentation';
import { confirmModal } from '../utils/confirmModal';
const VIDEO_OUTPUT_FORMATS = [
{ label: 'MKV', value: 'mkv' },
@@ -1129,7 +1130,14 @@ export default function ConverterJobCard({
const confirmText = statusUpper === 'READY_TO_START'
? `${jobIdLabel} wirklich abbrechen?\nDer Job wird auf "Abgebrochen" gesetzt.`
: `${jobIdLabel} wirklich abbrechen?`;
if (!window.confirm(confirmText)) return;
const confirmed = await confirmModal({
header: 'Job abbrechen',
message: confirmText,
acceptLabel: 'Abbrechen',
rejectLabel: 'Zurück',
danger: true
});
if (!confirmed) return;
setCancelBusy(true);
try {
await api.cancelConverterJob(job.id);