fix: improve error handling in admin pages to show user-friendly error messages

- Add error display to help questions new/edit pages
- Improve error visibility in admin-badges, admin-applications, admin-logs, admin-users pages
- Update createHelpQuestion action to properly handle and display unique name collisions and database errors
- Add user-friendly error messages to admin error handling
- Enhances admin page error reporting for better user experience
This commit is contained in:
remco committed 2026-07-01 21:25:30 +02:00
1 parent d775e893f4
commit 0323c3fcaa
13 files changed
+222 -221

No files matched your search

+4 -6
View File
@@ -900,16 +900,14 @@ tbody tr:hover {
border-color: #f97316;
}
/* ── Glass dropdown (backdrop blur + animation) ─────────────── */
.glass-dropdown {
backdrop-filter: blur(20px) saturate(200%);
-webkit-backdrop-filter: blur(20px) saturate(200%);
background-color: color-mix(in srgb, var(--color-dropdown) 60%, transparent);
/* ── Dropdown menu (solid color + animation) ─────────────────── */
.dropdown-menu {
background-color: var(--color-dropdown);
border: 1px solid color-mix(in srgb, var(--color-text-muted) 14%, transparent);
box-shadow: 0 8px 32px color-mix(in srgb, rgb(0 0 0) 20%, transparent);
}
details[open] > .glass-dropdown {
details[open] > .dropdown-menu {
animation: dropdownIn 0.15s ease-out;
}