presseportale/dev/frontend/hub-flux/08-PHASE-4B-PRESS-RELEASES-DETAIL.md
Kevin Adametz 0a3e52d603 19-05-2026 Rebrand Pressekonto, Hub-Flux UI und Legacy-Media-Migration
Umbenennung presseportale → pressekonto in Domains, Themes und Dokumentation.
Design-Tokens, Portal-Shell, Customer-Dashboard, Auth- und Admin-PM-Views.
Artisan-Befehl migrate:legacy-media mit Tests und Hub-Flux-Entwicklungsdocs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-19 16:36:13 +00:00

56 lines
2.2 KiB
Markdown

# Phase 4B — Press-Releases Detail/Show-Pages
> Zweites Päckchen aus Phase 4. Folgt auf 4A (Listen).
**Status**: ✅ abgeschlossen · **Aufwand**: ~⅓ Tag · **Risiko**: niedrig
---
## Scope
- `resources/views/livewire/admin/press-releases/show.blade.php`
- `resources/views/livewire/customer/press-releases/show.blade.php`
NICHT in diesem Päckchen:
- `create.blade.php`, `edit.blade.php` (Päckchen 4C — Forms)
- Companies, Settings, Profile (Päckchen 4D/4E)
## Ziel
Beide Detail-Pages im Hub-Vokabular:
- **Page-Header** wie auf den Listen (Hub-Badge + Eyebrow + H1 +
Subtitle), Status-Pill direkt unter dem Eyebrow oder im Header-Meta,
Aktions-Buttons (Bearbeiten / Zurück / Vorschau-Link) rechts.
- **Status-Workflow-Aktionsbar** als `.panel` mit klarer Optik
je nach Status (review = warn, published = ok, draft = neutral).
- **Content-Hauptbereich** (PM-Text) als `.panel` (kein FluxUI-Card-Wrapper).
- **Sidebar / Side-Cards** als kleine `.panel` mit `panel-head`.
- **Status-Verlauf-Timeline** als `.panel` mit Hub-Badges
(`.badge.ok|warn|err|hub`).
- **Rejection-Hinweis** (Customer) als Hub-Style-Error-Panel mit
Linker Akzent-Border (statt `<flux:callout>`).
- **Share-Link-Erfolgsbox** (Customer) als Hub-Style-Success-Block.
- **Pressekontakte-Liste** (Customer) als Hub-Items in `.panel`.
## Was explizit NICHT angefasst wird
- **Confirm-Modals** (Publish / Reject / Archive) — Tests in
`AdminPressReleaseActionsTest` assertieren Wortlaute.
- **Wortlaute** `Werbliche Sprache wurde markiert.` und
`Erneut einreichen` aus `PressReleaseWorkflowTest`.
- **Volt-Logik** (publish/reject/archive/submitForReview/
generateShareLink/with) — Layout-only.
## Akzeptanzkriterien
- [x] Plan
- [x] Admin-Show: Page-Header + Status-Workflow-Bar + Text-Panel +
Sidebar-Panels + Timeline + Hub-Badges. Modals unverändert.
- [x] Customer-Show: Page-Header + Status-Workflow-Bar +
Rejection-Panel + Share-Erfolgsblock + Contacts-Panel +
Verlauf-Panel + Text-Panel + Hub-Badges. „Erneut einreichen" +
„Werbliche Sprache wurde markiert." Wortlaute bleiben.
- [x] `PressReleaseWorkflowTest` + `AdminPressReleaseActionsTest`
bleiben grün (16 passed, 52 assertions).
- [x] Build + Pint + PROGRESS.