feat(monitor): 取消失败发布并修正危险按钮对比度
- Parse-monitor: the batch-retry button rendered red-on-red because weknoraMonitor.css overrode the global .danger style with text color only; make .danger a filled red button with proper hover/disabled states. - Add operator cancel: 批量取消所选 / per-task 不再处理 buttons move failed/stalled publications to a new 'cancelled' state in one audited batch operation (POST /api/v1/test-publications/cancel-batch, idempotent, migration 000041 widens the CHECK constraints). Queued upload jobs are cancelled, open dead letters abandoned; source records and spool files stay intact so re-marking in the catalog can retry later. - Queue status filter and labels learn 已取消; OpenAPI contract updated.
This commit is contained in:
@@ -614,6 +614,7 @@ const processingLabels: Record<ProcessingState, string> = {
|
||||
completed: '已完成',
|
||||
failed: '失败',
|
||||
stalled: '停滞',
|
||||
cancelled: '已取消',
|
||||
}
|
||||
|
||||
interface TestPublicationsProps {
|
||||
|
||||
Reference in New Issue
Block a user