feat(files): download from anywhere — a link box, a pasted link, the palette; the running downloads in a tray
- Files toolbar link box (paste button, Enter); a lone http(s) link pasted onto any page opens the one app-wide download dialog, which now names the link; the palette's "Download from a link…" focuses the box on its history entry. - The download tray, bottom right on every page: what waits, runs, is paused or failed (reason + Retry, the queue's right-click / "…" menu), and what finished in this tab as "Done · Open" until closed; folds to a pill (per-account pref); closed, it stays shut — across a reload — until the work changes or something finishes. Back to top steps up over it, the page end keeps clear. - A finish is announced once: "Downloaded: …", whether a phone plays it, Copy link + Open (toasts and notices may carry a second action). - The inbox's ready notice opens the file in its folder: download_done carries job_id + folder_id. - GET /api/downloads is the queue only (in flight, failed, finished in the last 10 minutes), with each row's source key.
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
"manage": "Manage formats…"
|
||||
},
|
||||
"page": {
|
||||
"addUrl": "Paste a video link (YouTube, Facebook, …) or a YouTube video id…",
|
||||
"add": "Add",
|
||||
"paste": "Paste link from clipboard",
|
||||
"upload": "Upload",
|
||||
"manage": "Manage formats…"
|
||||
|
||||
@@ -86,5 +86,10 @@
|
||||
"here": "Drop to upload into {{folder}}",
|
||||
"oneAtATime": "Upload one file at a time — the first one is ready to go."
|
||||
},
|
||||
"perPage": "Files per page"
|
||||
"perPage": "Files per page",
|
||||
"link": {
|
||||
"label": "A link to download",
|
||||
"placeholder": "Paste a link and I'll download it (YouTube, TikTok, Facebook…)",
|
||||
"download": "Download"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"andMore_one": "and {{count}} more",
|
||||
"andMore_other": "and {{count}} more",
|
||||
"openScheduler": "Open Scheduler",
|
||||
"openDownloads": "Open Downloads",
|
||||
"openFile": "Open the file",
|
||||
"revertFailed": "Couldn't undo that — please try again",
|
||||
"downloadDone": {
|
||||
"title": "Download ready"
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
"actions": "Actions"
|
||||
},
|
||||
"actions": {
|
||||
"surprise": "Surprise me"
|
||||
"surprise": "Surprise me",
|
||||
"downloadLink": "Download from a link…"
|
||||
},
|
||||
"open": "Open the command palette"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"label": "Downloads in progress",
|
||||
"title": "Downloads",
|
||||
"rowMenu": "Download actions",
|
||||
"fold": "Fold the downloads",
|
||||
"unfold": "Show the downloads",
|
||||
"close": "Close",
|
||||
"count": {
|
||||
"running_one": "{{count}} running",
|
||||
"running_other": "{{count}} running",
|
||||
"paused_one": "{{count}} paused",
|
||||
"paused_other": "{{count}} paused",
|
||||
"error_one": "{{count}} failed",
|
||||
"error_other": "{{count}} failed",
|
||||
"done_one": "{{count}} done",
|
||||
"done_other": "{{count}} done"
|
||||
},
|
||||
"done": {
|
||||
"label": "Done",
|
||||
"open": "Open",
|
||||
"copyLink": "Copy link",
|
||||
"title": "Downloaded: {{title}}",
|
||||
"phone": "Plays on a phone too",
|
||||
"file": "Saved in Files"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user