- ZIP download from the Merkzettel: every photo is a new usage by
default; only already downloaded photos offer "Neu / Bereits genutzt"
(SegmentedControl), with thumbnails and a cost summary. "Bild
auslassen" is gone.
- Toasts (Sakani Toaster) for admin saves, deletes and errors; billing
errors are readable and use router.refresh instead of reloads. Errors
inside modal dialogs stay inline (a toast would sit behind the
backdrop).
- Album overview in blog-listing style, Sakani Pagination for albums,
search and usage history, skeleton loading states.
- Registration stepper; verification mail lands on step 3.
- Editorials as a searchable, filterable table; audit log with event
picker, German labels and collapsible details.
- Release notes 2.4.0 seeded (migration 0009).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the hand-rolled Tailwind/shadcn look with Sakani UI across the
editorial area, the admin area and all signed-out pages.
- AppShell (Sakani Sidebar + TopBar) for /redaktion and /admin, with a
mobile drawer, theme toggle, sign-out, legal links and a "Was ist neu"
button; PublicShell for login, registration, password, 2FA and errors.
- Shared primitives (Button, Card, Input, PageHeader) now render Sakani;
components/ui/sakani.tsx is the client boundary for Server Components
(Sakani ships no "use client") and adds FormSelect (native form value)
and DataTable (element cells from the server).
- Legacy CSS variables map onto Sakani tokens; globals.css shrinks from
~2200 to ~700 lines. Geist replaces Inter. recharts/lucide-react dropped
(charts via Sakani BarChart).
- Release notes popup per area, shown once per version (localStorage) and
reopenable from the sidebar; native <dialog> for focus trapping.
- Fixes found while testing: TOTP field reused the typed password in
clear text, modal dialogs sat top-left, invisible unchecked checkboxes
in dark mode.
- Parallel run: compose.parallel.yaml, AUTO_RULE_SYNC_DISABLED switch and
docs/operations.md §8 (start, rollback, cutover).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three production bugs on redaktionen.leon-tonhaeuser.de:
1. Download 404 (POST /api/download-intents → 404). getAlbum requested
?withoutAssets=true, so album.assets was always empty and the usages
membership check (album.assets.some(id)) always failed → ASSET_NOT_IN_ALBUM
→ 404. Same root cause broke bulk-download's assetToGrantedAlbum map.
Removed withoutAssets so consumers that authorize via album.assets get the
real list; grants/thumbnail consumers ignore the extra data.
2. _next/image 400 on thumbnail proxy. next/image's optimizer choked on the
watermarked streaming thumbnail response. Thumbnails are already
server-resized to 800px, so the optimizer added nothing — switched
leuchtkasten + admin AlbumGrid to plain <img>, matching photo-gallery.
3. Cross-album search "finds nothing". Immich albumIds is AND across albums
(PR #18985): one /search/metadata call with all granted ids requires the
asset to be in EVERY album, so single-album photos never match. Album-
internal search passed one id so it worked. Fan out per granted album and
merge; callers already paginate in-app.
Also drop the jahr filter from the album-internal search form (unnecessary
within a single album); backend still honors a jahr query param.
Co-Authored-By: Claude <noreply@anthropic.com>