perf(frontend): split admin bundles and tighten data fetching

Add next/dynamic lazy loading for database, logs, and settings heavy
modules; migrate access-logs and task-executions to React Query; parallelize
login auth-sources with public config; consolidate users table tooltips;
enable lazy image decoding; and replace barrel @/lib/services imports with
direct module paths.
This commit is contained in:
ryan
2026-06-17 12:12:47 +08:00
parent 9550fa6ff3
commit a44043262e
43 changed files with 752 additions and 695 deletions
@@ -242,6 +242,8 @@ export function UserFileManager() {
<img
src={getFileUrl(file.id, "medium") ?? undefined}
alt={file.file_name}
loading="lazy"
decoding="async"
className="max-h-full max-w-full object-contain rounded-md shadow-xs transition-transform duration-350 group-hover:scale-103"
onError={(e) => {
;(e.currentTarget as HTMLImageElement).style.display = "none"