Commit Graph
4 Commits
Author SHA1 Message Date
Leon TonhäuserandClaude Opus 5.5 9e938e4d07 feat: redesign portal UI with Sakani UI and add release notes
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>
2026-11-30 18:24:05 +01:00
Leon TonhäuserandClaude a7df6bd60a feat: redesign album overview to match photo grid + surface download/merkzettel errors
Album overview:
- AlbumContactSheet now uses cover tiles in the photo-gallery aesthetic:
  object-fit: cover, 4/3 tiles, persistent bottom gradient with album name
  + photo count, hover zoom. Drops the old 3:2 contain tiles + monospace
  caption strip.

Diagnostics (download + merkzettel both failed silently for the user):
- UsageDialog now reads the server's { code } from /api/download-intents and
  maps each stable error code (FORBIDDEN, NOT_FOUND, UPSTREAM_UNAVAILABLE,
  ACCOUNTING_UNAVAILABLE, ...) to a specific German message instead of the
  generic "try again". The fallback includes the raw code so unmapped
  failures stay actionable when reported back.
- LightboxToggleButton logs the caught server-action error to the console
  (and notes the dev terminal) instead of reverting the optimistic toggle
  with no signal. Root cause still needs the live error; this makes it
  visible.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-11 13:52:15 +02:00
Leon Tonhäuser 510fde7afa fix: harden delivery accounting and history 2026-08-10 13:44:04 +02:00
Leon Tonhäuser 8871e4794a feat: stream originals with download accounting 2026-08-10 13:10:13 +02:00