Files · Transfers: file operations, a transfer queue, downloads and storage
A file on its way is a Transfer with a state: waiting, moving at a rate, paused, done or failed with a reason. One row draws it for the queue and the downloads: its icon, its way, a bar while it moves or waits paused, a status with the time left, and only the actions its state allows. TransferQueue counts what moves and waits. DownloadManager keeps the finished below under Clear, opening on a press and showing their folder. FileOperationProgress tells a copy or move with its bar, time left and current file, its header wrapping by the header rule; a failure speaks in the danger tone. StorageUsage points to data_display's UsageBar.
This commit is contained in:
1 parent
b280929d07
commit
4ef9830def
11 files changed
+1180
-5
No files matched your search
@@ -9,6 +9,7 @@ use jiff::{Timestamp, ToSpan};
|
||||
mod actions;
|
||||
mod explorer;
|
||||
mod find;
|
||||
mod transfers;
|
||||
|
||||
use super::Page;
|
||||
use crate::{
|
||||
@@ -216,5 +217,9 @@ fn render(window: &mut Window, cx: &mut App) -> AnyElement {
|
||||
.child(find::duplicates(window, cx))
|
||||
.child(find::archive(cx))
|
||||
.child(find::hex(window, cx))
|
||||
.child(transfers::operations(window, cx))
|
||||
.child(transfers::queue(window, cx))
|
||||
.child(transfers::downloads(window, cx))
|
||||
.child(transfers::storage(cx))
|
||||
.into_any_element()
|
||||
}
|
||||
Reference in new issue
Block a user