init
This commit is contained in:
232 files changed
+25416
No files matched your search
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\BazaarReleases\Schemas;
|
||||
|
||||
use Filament\Infolists\Components\IconEntry;
|
||||
use Filament\Infolists\Components\TextEntry;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class BazaarReleaseInfolist
|
||||
{
|
||||
public static function configure(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
TextEntry::make('bazaar_release_id')->label('Bazaar release ID'),
|
||||
TextEntry::make('status')->badge(),
|
||||
TextEntry::make('artifact_type')->badge(),
|
||||
TextEntry::make('staged_rollout_percentage')->suffix('%'),
|
||||
IconEntry::make('auto_publish')->boolean(),
|
||||
TextEntry::make('changelog_fa')->columnSpanFull(),
|
||||
TextEntry::make('changelog_en')->columnSpanFull(),
|
||||
TextEntry::make('developer_note')->columnSpanFull(),
|
||||
TextEntry::make('bazaar_response')->formatStateUsing(fn (?array $state): string => json_encode($state, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE))->columnSpanFull(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user