Clear completed button; reset overall progress after completed downloads

This commit is contained in:
Geomitron
2021-04-10 13:43:26 -05:00
parent 36803a5d0c
commit 8f670c5adc
5 changed files with 50 additions and 5 deletions

View File

@@ -29,7 +29,10 @@ export interface DownloadProgress {
description: string
percent: number
type: ProgressType
/** If `description` contains a filepath that can be clicked */
isLink: boolean
/** If the download should not appear in the total download progress */
stale?: boolean
}
export type ProgressType = 'good' | 'error' | 'cancel' | 'done'