WebUI: Add new Add Torrent experience

This PR uses the new APIs from #21015 to provide a WebUI Add Torrent experience more closely matching the GUI's.

New functionality:
- View torrent size, date, infohash, files, etc.
- Reprioritize and ignore files before adding
- Specify tags when adding torrent
- Specify save path for incomplete torrent

Closes #20557, closes #10997, closes #12499, closes #14201, closes #15071, closes #15718, closes #16207.
PR #21645.
This commit is contained in:
Thomas Piccirello
2025-08-09 03:34:38 -07:00
committed by GitHub
parent 02d72179fe
commit 02892d1250
18 changed files with 1582 additions and 1074 deletions

View File

@@ -294,10 +294,10 @@
menu: "rssArticleMenu",
actions: {
Download: (el) => {
let dlString = "";
for (const rowID of rssArticleTable.selectedRows)
dlString += `${rssArticleTable.getRow(rowID).full_data.torrentURL}\n`;
showDownloadPage([dlString]);
for (const rowID of rssArticleTable.selectedRows) {
const { name, torrentURL } = rssArticleTable.getRow(rowID).full_data;
window.qBittorrent.Client.createAddTorrentWindow(name, torrentURL);
}
},
OpenNews: (el) => {
for (const rowID of rssArticleTable.selectedRows)