Retain interrupted download progress cards and add in-place retry action
- Keep failed or interrupted downloads in active downloads queue instead of dismissing immediately - Present interrupted state with error tooltip, distinct status chip, and progress percentage - Add in-place Retry download play action that resumes downloading from existing partial files - Support dismissing interrupted downloads via cancel button - Update CSS styling and unit tests for download action handlers and progress states
This commit is contained in:
@@ -769,6 +769,29 @@
|
||||
border-radius: var(--mr-missing-chip-radius);
|
||||
}
|
||||
|
||||
.mr-download-queue-item.mr-download-queue-item-error {
|
||||
border-color: rgba(239, 68, 68, 0.35);
|
||||
}
|
||||
|
||||
.mr-download-queue-status.mr-download-queue-status-error {
|
||||
color: var(--mr-color-danger-bright, #ff4d4f);
|
||||
background: var(--mr-badge-error-bg, rgba(239, 68, 68, 0.16));
|
||||
border-color: var(--mr-badge-error-border, rgba(239, 68, 68, 0.34));
|
||||
}
|
||||
|
||||
.mr-download-queue-progress .mr-progress-fill.mr-progress-fill-error {
|
||||
background: var(--mr-color-danger-bright, #ff4d4f);
|
||||
box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
|
||||
}
|
||||
|
||||
.mr-download-queue-stat.mr-download-queue-stat-error {
|
||||
max-width: 220px;
|
||||
overflow: hidden;
|
||||
color: var(--mr-color-danger-bright, #ff4d4f);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mr-download-history-toolbar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
Reference in New Issue
Block a user