feat(files): the Files page — the library in one aligned list, its folders in a rail

Files is the one library: every done file, the ones shared with me, or one
folder's, picked in a side rail (sources, own folders, the storage meter) and
mirrored to ?folder=. One table with every kind of value in its own column;
Copy link, Share and Save in sight, every action on a right click: play,
cut, rename in the row, move to an own folder or back home, keep, details,
re-download, delete.

The Downloads page keeps only the queue until the tray replaces it. The old
/api/downloads library routes are gone: list shared, upload, the details
PATCH, delete, the file and the usage now live under /api/files, and a
listed file says which source it came from. The job's "expired" flag is gone
with the state it described.
This commit is contained in:
2026-10-11 05:34:25 +02:00
parent 1a1665b8ec
commit 85aa917b38
65 changed files with 2295 additions and 1044 deletions
+60
View File
@@ -0,0 +1,60 @@
{
"navLabel": "Files",
"searchPlaceholder": "Search files…",
"count_one": "{{count}} item",
"count_other": "{{count}} items",
"rowMenu": "File actions",
"phoneOk": "Plays on a phone too",
"rail": {
"library": "Library",
"all": "All files",
"shared": "Shared with me",
"sources": "Sources",
"own": "My folders",
"noSources": "Nothing downloaded yet",
"noOwn": "No folders of your own yet"
},
"source": {
"youtube": "YouTube",
"plex": "Plex clips",
"upload": "Uploads",
"hub": "Hub"
},
"usage": {
"title": "Storage"
},
"columns": {
"name": "Name",
"source": "Source",
"phone": "Phone",
"retention": "Keeps",
"size": "Size",
"added": "Added"
},
"retention": {
"kept": "Kept",
"never": "Kept until you delete it",
"until": "Goes on {{when}}",
"days_one": "{{count}} day",
"days_other": "{{count}} days"
},
"empty": {
"all": "No files yet.",
"folder": "This folder is empty.",
"shared": "Nothing has been shared with you.",
"search": "No file matches “{{q}}”."
},
"actions": {
"copyLink": "Copy link",
"copySourceLink": "Copy source link",
"share": "Share…",
"rename": "Rename",
"move": "Move to",
"moveHome": "Back to {{folder}}",
"noOwnFolders": "No folders of your own yet",
"keep": "Keep",
"unkeep": "Stop keeping",
"details": "Details…",
"upload": "Upload"
}
}