Release 2.2.2: version history linked from the release popup

- ReleaseHistory groups release notes by version (sorted by version
  number, newest marked "Aktuell") and renders them as Sakani cards on
  /redaktion/neuigkeiten and /admin/versionen (with audience + delete).
- The "Was ist neu?" popup links to the history ("Frühere Änderungen
  ansehen") and closes on navigation.
- Release notes for 2.2.2 seeded via custom migration 0005; popup
  version bumped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Leon TonhäuserandClaude Opus 5.5 committed 2026-11-30 22:45:37 +01:00
1 parent 71110208a9
commit d479e1e79b
9 files changed
+2671 -70

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
-- Custom SQL migration file, put your code below! --
INSERT INTO "release_notes" ("version", "audience", "body", "created_by_user_id")
VALUES
('2.2.2', 'admin', 'Versionshistorie: Unter /admin/versionen sind alle Hinweise jetzt nach Version gruppiert, neueste zuerst. Das Fenster „Was ist neu?“ verlinkt direkt auf die früheren Änderungen.', NULL),
('2.2.2', 'editorial', 'Neu: Unter Neuigkeiten steht die komplette Versionshistorie mit allen Änderungen seit Version 2.0. Das Fenster „Was ist neu?“ führt über „Frühere Änderungen ansehen“ direkt dorthin.', NULL)
ON CONFLICT ("version", "audience") DO NOTHING;