feat: add resumability detection and pause warnings

- Update 'fetch_metadata' to detect 'Accept-Ranges' HTTP header
- Persist 'resumable' flag in DownloadItem across backend and frontend
- Add confirmation dialog when pausing non-resumable downloads (single and bulk actions)
- Improve UI for start/pause/options buttons by adopting the application accent color on hover
This commit is contained in:
NimBold
2026-06-28 00:03:12 +03:30
parent 1cba5ee556
commit 77b940df60
10 changed files with 63 additions and 7 deletions
+10
View File
@@ -394,6 +394,16 @@
transform: scale(0.94);
}
.download-cell-right .app-icon-button:hover:not(:disabled) {
background: hsl(var(--accent-color) / 0.15);
color: hsl(var(--accent-color));
}
.download-cell-right .app-icon-button:active:not(:disabled) {
background: hsl(var(--accent-color) / 0.25);
transform: scale(0.94);
}
.app-modal-backdrop {
background: hsl(0 0% 0% / 0.2);
animation: fade-in 150ms ease-out;