improve backup button responsiveness and disable handling
All checks were successful
deploy / deploy (push) Successful in 3m35s

Use async message passing for create_backup to update UI immediately.
Add phx-throttle and pointer-events:none to fully prevent double-clicks.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-03-27 10:36:05 +00:00
parent 4ee097596b
commit 0b86cd66ce
2 changed files with 20 additions and 17 deletions

View File

@@ -187,7 +187,7 @@
color: var(--t-text-inverse);
&:hover { opacity: 0.85; }
&:disabled { opacity: 0.5; cursor: not-allowed; }
&:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
}
.admin-btn-primary {