MVP 1.0 (ohne Shop) #1

Merged
Lars merged 149 commits from develop into main 2026-11-20 21:58:42 +01:00
Showing only changes of commit 70695db290 - Show all commits
@@ -168,6 +168,7 @@ public function table(Table $table): Table
->label('Bezeichnung')
->searchable(['label', 'slug'])
->weight('semibold')
->wrap()
->description(fn (Model $record): string => 'Kennung: '.$record->slug
.($record instanceof EditorialContentKind && $record->isSystem() ? ' · vom System verwendet' : '')),
$materialart ? TextColumn::make('contexts')
@@ -177,7 +178,8 @@ public function table(Table $table): Table
(array) ($record->contexts ?? []),
)))
->badge()
->color('gray') : null,
->color('gray')
->wrap() : null,
TextColumn::make('is_active')
->label('Status')
->formatStateUsing(fn (bool $state): string => $state ? 'Aktiv' : 'Inaktiv')
@@ -186,6 +188,7 @@ public function table(Table $table): Table
TextColumn::make('verwendung')
->label('Verwendung')
->state(fn (Model $record): string => $this->verwendungText($record))
->wrap()
->action($this->verwendungAction()->name('verwendungZeigen')),
])))
->filters([