Keep floating dialogs open until an explicit action

This commit is contained in:
Dymas committed 2026-10-27 13:55:24 +01:00
1 parent 2f963cd28e
commit f9a75b59f9
6 files changed
+9 -44

No files matched your search

+6
View File
@@ -1,5 +1,11 @@
# Changelog
## 0.55.5 — 2026-10-27
- Keep floating dialogs open when clicking outside their boundaries or pressing Escape. Search selection, watchlist alternative titles and auto-download settings, the path browser, and the changelog now close through their explicit action buttons. Subtitle review already follows this behavior.
- Preserve unsaved dialog input on accidental outside clicks. Existing save, cancel, close, select, track, and queue actions retain their behavior; stored instance data is unchanged.
- Checked providers against upstream revision `5a1de84ad651d088cf427655573a96500151d862`: newer Anikoto and AnimePahe versions remain available, and AniNeko is absent upstream. Bundled providers and local patches are retained.
## 0.55.4 — 2026-10-27
- Replace per-card search thumbnail metadata lookups with one shared browser batch for up to 100 result titles. Match titles and season identities against up to three AnimeSchedule result pages, cache metadata for five minutes, and share concurrent lookups.
+2
View File
@@ -9,6 +9,8 @@ A local web app to search, track, and download anime from Anikoto, AniNeko, and
The AI Subtitles page uses the same sidebar navigation and responsive layout as the other pages. **Sign out** is centered at the bottom of the left sidebar on every page.
Floating dialogs stay open when you click outside them or press Escape. Use their Save, Cancel, Close, or other action buttons to finish or dismiss them.
Search posters use one shared metadata request from the browser for up to 100 result titles. Kaizoku matches them against the search query's AnimeSchedule results (up to three pages of 18 entries), caches that metadata for five minutes, and serves matched images through its own authenticated image cache. External provider image URLs are skipped because the page's image policy blocks them. Image files still load individually, with at most four downloads at once and no per-title metadata lookup. Concurrent requests share lookups and downloads; source failures back off for at least a minute. Existing cached images remain available, while unmatched or temporarily unavailable posters show title initials. Broad searches can leave posters unmatched beyond the metadata page limit; watchlist thumbnail lookup remains independent.
Jellyfin handoff checks each downloaded TV season in **Finished** separately, verifies its season-specific completion metadata, and moves only that season and its sidecars once its expected video files are present. Other seasons remain in Downloads. Use **Config → Handoff → Run now** after updating to repair missing or incorrect season metadata and retry previously skipped seasons. If metadata cannot be verified, the queue reports the skip and retains the files for a later retry.
+1 -1
View File
@@ -1 +1 @@
0.55.4
0.55.5
-18
View File
@@ -1421,24 +1421,6 @@ CONFIG_HTML = r"""<!doctype html>
$("pathBrowserUpBtn").addEventListener("click", browseParentPath);
$("pathBrowserHomeBtn").addEventListener("click", browseHomePath);
$("pathBrowserRefreshBtn").addEventListener("click", () => loadPathBrowser());
pathBrowserOverlay.addEventListener("click", (event) => {
if (event.target === pathBrowserOverlay) {
closePathBrowser();
}
});
changelogOverlay.addEventListener("click", (event) => {
if (event.target === changelogOverlay) {
closeChangelog();
}
});
window.addEventListener("keydown", (event) => {
if (event.key === "Escape" && !pathBrowserOverlay.hidden) {
closePathBrowser();
}
if (event.key === "Escape" && !changelogOverlay.hidden) {
closeChangelog();
}
});
for (const button of document.querySelectorAll(".browse-path-btn")) {
button.addEventListener("click", () => openPathBrowser(button.dataset.target || "", button.dataset.mode || "dir"));
}
-6
View File
@@ -912,12 +912,6 @@ INDEX_HTML = r"""<!doctype html>
$("selectionMode").addEventListener("change", () => {
if (state.selected) loadSelectedEpisodes($("selectionMode").value);
});
selectionModal.addEventListener("click", (event) => {
if (event.target === selectionModal) closeSelectionModal();
});
window.addEventListener("keydown", (event) => {
if (event.key === "Escape" && !selectionModal.hidden) closeSelectionModal();
});
$("firstEpBtn").addEventListener("click", () => { $("episodesInput").value = state.episodes[0] || ""; });
$("latestEpBtn").addEventListener("click", () => {
$("episodesInput").value = state.episodes[state.episodes.length - 1] || "";
-19
View File
@@ -1116,11 +1116,6 @@ WATCHLIST_HTML = r"""<!doctype html>
}
altTitlesCloseBtn.addEventListener("click", closeAltTitlesOverlay);
altTitlesOverlay.addEventListener("click", (event) => {
if (event.target === altTitlesOverlay) {
closeAltTitlesOverlay();
}
});
function closeAutoDownloadOverlay() {
state.autoDownloadDraft = null;
@@ -1168,20 +1163,6 @@ WATCHLIST_HTML = r"""<!doctype html>
}
});
autoDownloadCloseBtn.addEventListener("click", closeAutoDownloadOverlay);
autoDownloadOverlay.addEventListener("click", (event) => {
if (event.target === autoDownloadOverlay) {
closeAutoDownloadOverlay();
}
});
window.addEventListener("keydown", (event) => {
if (event.key === "Escape" && !altTitlesOverlay.hidden) {
closeAltTitlesOverlay();
return;
}
if (event.key === "Escape" && !autoDownloadOverlay.hidden) {
closeAutoDownloadOverlay();
}
});
autoDownloadSaveBtn.addEventListener("click", async () => {
if (!state.autoDownloadDraft) return;
autoDownloadSaveBtn.disabled = true;