From 54ac49fa33b1c138fc470bf8dea1e887fc456c2b Mon Sep 17 00:00:00 2001 From: ookami125 Date: Mon, 22 Jun 2026 00:02:11 -0400 Subject: [PATCH] webui: tags field in the add-torrent modal Comma-separated tags input with a datalist of existing tags. Co-Authored-By: Claude Opus 4.8 --- public/js/app.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/js/app.js b/public/js/app.js index d012c50..3e0bc0b 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -503,6 +503,10 @@ function openAddModal() {
+
+ + ${state.meta.tags.length ? `${state.meta.tags.map((t) => `` : ''}
@@ -515,6 +519,7 @@ function openAddModal() { const magnet = document.getElementById('addMagnet').value.trim(); const common = { category: document.getElementById('addCat').value, + tags: document.getElementById('addTags').value.split(',').map((s) => s.trim()).filter(Boolean), savePath: document.getElementById('addPath').value.trim(), paused: document.getElementById('addPaused').checked, seqDl: document.getElementById('addSeq').checked,