feat: enhance export and import workflows with improved error handling and notifications

This commit is contained in:
2025-11-10 18:44:42 +01:00
parent 43b1e53837
commit e2465188c2
6 changed files with 127 additions and 13 deletions

11
static/js/alerts.js Normal file
View File

@@ -0,0 +1,11 @@
document.addEventListener("DOMContentLoaded", () => {
document.querySelectorAll("[data-toast-close]").forEach((button) => {
button.addEventListener("click", () => {
const toast = button.closest(".toast");
if (toast) {
toast.classList.add("hidden");
setTimeout(() => toast.remove(), 200);
}
});
});
});