Fix toast pointer-events, add show-all-series button, fix UI tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-06-26 21:49:49 +02:00
parent 7e4aeb22db
commit cece8fcb30
5 changed files with 20 additions and 15 deletions

View File

@@ -13,6 +13,7 @@
display: flex;
flex-direction: column;
gap: var(--spacing-sm);
pointer-events: none;
}
/* Toast base */
@@ -24,6 +25,7 @@
box-shadow: var(--shadow-elevated);
min-width: 300px;
animation: slideIn var(--transition-duration) var(--transition-easing);
pointer-events: auto;
}
/* Toast variants */

View File

@@ -529,9 +529,15 @@ class AniWorldApp {
this.toggleMissingOnlyFilter();
});
document.getElementById('sort-alphabetical').addEventListener('click', () => {
this.toggleAlphabeticalSort();
});
document.getElementById('show-all-series').addEventListener('click', () => {
if (this.showMissingOnly) {
this.toggleMissingOnlyFilter();
}
});
document.getElementById('sort-alphabetical').addEventListener('click', () => {
this.toggleAlphabeticalSort();
});
}
initTheme() {