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:
2026-10-11 16:56:13 +02:00
parent d22c64f4dd
commit 1c4f0042d2
42 changed files with 1509 additions and 162 deletions
@@ -19,8 +19,6 @@
"manage": "Formátumok kezelése…"
},
"page": {
"addUrl": "Illessz be egy videólinket (YouTube, Facebook, …) vagy YouTube-videóazonosítót…",
"add": "Hozzáad",
"paste": "Link beillesztése a vágólapról",
"upload": "Feltöltés",
"manage": "Formátumok kezelése…"
+6 -1
View File
@@ -86,5 +86,10 @@
"here": "Engedd el, és feltöltöm ide: {{folder}}",
"oneAtATime": "Egyszerre egy fájlt tölthetsz fel — az első készen áll."
},
"perPage": "Fájl oldalanként"
"perPage": "Fájl oldalanként",
"link": {
"label": "Letöltendő link",
"placeholder": "Illessz be egy linket, és letöltöm (YouTube, TikTok, Facebook…)",
"download": "Letöltés"
}
}
+1 -1
View File
@@ -14,7 +14,7 @@
"andMore_one": "és még {{count}}",
"andMore_other": "és még {{count}}",
"openScheduler": "Ütemező megnyitása",
"openDownloads": "Letöltések megnyitása",
"openFile": "Fájl megnyitása",
"revertFailed": "Nem sikerült visszavonni — próbáld újra",
"downloadDone": {
"title": "Letöltés kész"
+2 -1
View File
@@ -15,7 +15,8 @@
"actions": "Műveletek"
},
"actions": {
"surprise": "Meglepetés"
"surprise": "Meglepetés",
"downloadLink": "Letöltés linkről…"
},
"open": "Parancspaletta megnyitása"
}
+26
View File
@@ -0,0 +1,26 @@
{
"label": "Folyamatban lévő letöltések",
"title": "Letöltések",
"rowMenu": "Letöltés műveletei",
"fold": "Letöltések összecsukása",
"unfold": "Letöltések megjelenítése",
"close": "Bezárás",
"count": {
"running_one": "{{count}} fut",
"running_other": "{{count}} fut",
"paused_one": "{{count}} szünetel",
"paused_other": "{{count}} szünetel",
"error_one": "{{count}} hibás",
"error_other": "{{count}} hibás",
"done_one": "{{count}} kész",
"done_other": "{{count}} kész"
},
"done": {
"label": "Kész",
"open": "Megnyitás",
"copyLink": "Link másolása",
"title": "Letöltve: {{title}}",
"phone": "Telefonon is lejátszható",
"file": "Bekerült a Fájlok közé"
}
}