Files
immich-redaktions-plugin/compose.parallel.yaml
T
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

41 lines
1.8 KiB
YAML

# Parallel run of the new (Sakani) UI next to the live portal: same database,
# same Immich, own subdomain. Run it from the LIVE checkout so the service joins
# the live compose project and its networks — see docs/operations.md §8:
#
# docker compose -f compose.yaml -f ../portal-sakani/compose.parallel.yaml up -d portal-app-next
#
# The image is built beforehand from the Sakani branch checkout:
# docker build -t portal-app:sakani ../portal-sakani
services:
portal-app-next:
image: ${PARALLEL_IMAGE:-portal-app:sakani}
container_name: portal-app-next
restart: unless-stopped
ports:
- "${PARALLEL_PORT:-3001}:3000"
environment:
DATABASE_URL: ${DATABASE_URL:-postgres://portal:change-me@portal-db:5432/portal}
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
# Public URL of the parallel instance (links in e-mails, auth callbacks).
BETTER_AUTH_URL: ${PARALLEL_BASE_URL:?set PARALLEL_BASE_URL in .env, e.g. https://neu.redaktionen.leon-tonhaeuser.de}
IMMICH_BASE_URL: ${IMMICH_BASE_URL}
IMMICH_API_KEY: ${IMMICH_API_KEY}
SMTP_HOST: ${SMTP_HOST}
SMTP_PORT: ${SMTP_PORT:-587}
SMTP_USER: ${SMTP_USER}
SMTP_PASSWORD: ${SMTP_PASSWORD}
SMTP_FROM: ${SMTP_FROM}
LEGAL_IMPRINT_URL: ${LEGAL_IMPRINT_URL:-https://leon-tonhaeuser.de/impressum}
LEGAL_PRIVACY_URL: ${LEGAL_PRIVACY_URL:-https://leon-tonhaeuser.de/datenschutz}
LEGAL_TERMS_URL: ${LEGAL_TERMS_URL:-https://leon-tonhaeuser.de/agb}
# The live instance keeps running the album auto-rule sync and the cron
# endpoint; the parallel one must not do either a second time.
AUTO_RULE_SYNC_DISABLED: "true"
CRON_SECRET: ""
depends_on:
portal-db:
condition: service_healthy
networks:
- portal-internal
- immich_default