Fix: file-manager and swarm-desktop bugs (#714)
- drive capacity display with stamp polling - download/upload progress handling - overlay and tooltip issues - FileMaganger readme - ultra-light mode handling - account feed view page - download media files - remove not found syncing link - fix ultra light node wallet page - tooltip issues --------- Co-authored-by: Andrei Mitrea <andrei.mitrea.hq@gmail.com> Co-authored-by: nidishk <nidishkrishnan45@gmail.com> Co-authored-by: Ferenc Sárai <sarai.ferenc@gmail.com> Co-authored-by: Nándor Komlódi <nandor.komlodi@gmail.com> Co-authored-by: rolandlor <33499567+rolandlor@users.noreply.github.com>
This commit is contained in:
+2
-16
@@ -3,26 +3,14 @@ import './FileProgressNotification.scss'
|
||||
import UpIcon from 'remixicon-react/ArrowUpSLineIcon'
|
||||
import DownIcon from 'remixicon-react/ArrowDownSLineIcon'
|
||||
import { FileProgressWindow } from '../FileProgressWindow/FileProgressWindow'
|
||||
import { FileTransferType, TransferStatus } from '../../constants/transfers'
|
||||
|
||||
type ProgressItem = {
|
||||
name: string
|
||||
size?: string
|
||||
percent?: number
|
||||
kind?: FileTransferType
|
||||
status?: TransferStatus
|
||||
driveName?: string
|
||||
etaSec?: number
|
||||
elapsedSec?: number
|
||||
}
|
||||
import { FileTransferType, TransferStatus, ProgressItem } from '../../constants/transfers'
|
||||
|
||||
interface FileProgressNotificationProps {
|
||||
label?: string
|
||||
type: FileTransferType
|
||||
open?: boolean
|
||||
count?: number
|
||||
items?: ProgressItem[]
|
||||
onRowClose?: (name: string) => void
|
||||
onRowClose?: (uuid: string) => void
|
||||
onCloseAll?: () => void
|
||||
}
|
||||
|
||||
@@ -30,7 +18,6 @@ export function FileProgressNotification({
|
||||
label,
|
||||
type,
|
||||
open,
|
||||
count,
|
||||
items,
|
||||
onRowClose,
|
||||
onCloseAll,
|
||||
@@ -88,7 +75,6 @@ export function FileProgressNotification({
|
||||
|
||||
{showFileProgressWindow && (
|
||||
<FileProgressWindow
|
||||
numberOfFiles={items && items.length ? undefined : count}
|
||||
items={items}
|
||||
type={type}
|
||||
onCancelClick={() => setShowFileProgressWindow(false)}
|
||||
|
||||
Reference in New Issue
Block a user