Ordne die Navigation unter Inhalte neu und führe alte Adressen weiter
Deploy Test / test (push) Successful in 3m15s
Deploy Test / deploy (push) Successful in 33s

Menü: Programme, Module, Übungen, Contentmanager (bisher Medien), dahinter die
Fachlichen Kombinationen. Der Arbeitsplatz ist kein Menüpunkt mehr, die gemeinsame
Übersicht bleibt über den Filterlink der Stammdaten erreichbar. Dokumente rückt
vorläufig hinter die vier Einträge (Position folgt im Dokumentenauftrag).

Adressen: programme, module, fachuebungen, contentmanager. Die alten Adressen
kurse, uebungen (= Module) und content-elements leiten mit Objektnummer,
Unterseite und Filtern per 302 weiter, hinter der Anmeldung des Panels; die Rechte
prüft das Ziel. Rücklinks aus der Bearbeitung führen zur Liste der eigenen Art
statt zum Arbeitsplatz.

Tests: Reihenfolge in UebungNavigationTest bewusst geändert (Übungen standen vor
Modulen und Programmen); 'content-elements/' in EditorialEditorTest folgt der neuen
Adresse. Neu: VerwaltungNavigationTest.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-24 17:22:05 +01:00
1 parent e72c9ddb8d
commit 3aed45a2fe
15 files changed
+289 -22

No files matched your search

@@ -30,7 +30,13 @@
@endphp
<div class="vw vw-aufbauseite" x-data x-on:keydown.window.ctrl.s.prevent="$wire.saveDraft()">
@include('filament.verwaltung.kopf', [
'zurueck' => ['label' => 'Zum Arbeitsplatz', 'href' => \App\Filament\Pages\EditorialDesk::getUrl()],
'zurueck' => ['label' => match ($this->hostKind()) {
\App\Domain\Catalog\CompositionKind::Kurs => 'Zu den Programmen',
\App\Domain\Catalog\CompositionKind::Uebung => 'Zu den Modulen',
\App\Domain\Catalog\CompositionKind::Exercise => 'Zu den Übungen',
\App\Domain\Catalog\CompositionKind::Document => 'Zu den Dokumenten',
\App\Domain\Catalog\CompositionKind::Kombination => 'Zu den Kombinationen',
}, 'href' => $this::getResource()::getUrl('index')],
'brot' => [['label' => $this->hostKind()->plural() === 'Kurse' ? 'Programme' : $this->hostKind()->plural(), 'href' => $this::getResource()::getUrl('index')], $titel],
'titel' => $titel,
'typ' => $this->hostLabel().' · '.$typ,
@@ -39,7 +39,7 @@
@else
<div class="vw">
@include('filament.verwaltung.kopf', [
'brot' => [['label' => 'Medien', 'href' => \App\Filament\Resources\ContentElements\ContentElementResource::getUrl('index')], $titel],
'brot' => [['label' => 'Contentmanager', 'href' => \App\Filament\Resources\ContentElements\ContentElementResource::getUrl('index')], $titel],
'titel' => $titel,
'typ' => implode(' · ', array_filter(['Medium', \App\Domain\Cms\Catalog\PublicMaterialReader::outputLabel((string) $element->output_class), $element->editorialContentKind?->label])),
'status' => [