Critical bugs: - Fix bulk-download: UUID idempotency key, input validation, error handling, parallel asset validation - Fix leuchtkasten 404 link -> album page with search - Fix revalidatePath [id] -> [albumId] - Fix PDF crash on null invoiceNumber Logo: - Fix dimensions (1000x1000), dark mode support (logo-white.png), max-height constraint UI bugs: - Fix unsafe Date method calls (6 files) - Fix album UUID shown instead of name in catalog - Fix global search downloads (albumId from asset) - Add null guard for lightbox asset map Performance: - Parallelize admin dashboard queries (Promise.all) - Lazy-load recharts via next/dynamic - Add thumbnail caching headers (24h + ETag) - Reduce duplicate Immich API calls in usage service - Add DB index on usages(createdAt) - Add optimizePackageImports for lucide-react, recharts Security: - Input validation on bulk-download (max 100 items, UUID format, purpose length) - Verify security headers present in next.config.ts
11 lines
203 B
TypeScript
11 lines
203 B
TypeScript
"use client";
|
|
|
|
import dynamic from "next/dynamic";
|
|
|
|
const DownloadsChart = dynamic(
|
|
() => import("./downloads-chart").then((mod) => mod.DownloadsChart),
|
|
{ ssr: false }
|
|
);
|
|
|
|
export { DownloadsChart };
|