Pflege Anzeigedaten ohne neue Fassung und zeige sie in den echten Karten.
Deploy Test / test (push) Successful in 47s
Deploy Test / deploy (push) Successful in 28s

Der Medieneditor trennt Beschreibung, Inhalt, Fassungen und Verwendung. Der vorhandene Picker filtert nach Zusammenhang und lässt Entwürfe für die gemeinsame Freigabe sichtbar.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-18 20:03:56 +01:00
1 parent 3e56314cf9
commit d37a7093dd
13 files changed
+827 -54

No files matched your search

+21
View File
@@ -66,6 +66,27 @@ public function classifications(): array
return $options;
}
/**
* @param array<string, string> $filters
* @return list<array<string, mixed>>
*/
/**
* @return array<string, mixed>
*/
public function cardFor(ContentElement $element, bool $canEdit): array
{
$element->loadMissing(['versions', 'pillars']);
$versionIds = $element->versions->pluck('id')->all();
return $this->card(
$element,
$this->portrait($element),
$this->placements($versionIds)[$element->id] ?? [],
$this->licenses($versionIds)[$element->id] ?? [],
$canEdit,
);
}
/**
* @param array<string, string> $filters
* @return list<array<string, mixed>>