This commit is contained in:
Meghdad committed 2026-08-24 19:44:24 +03:30
commit 8d5446f466
232 files changed
+25416

No files matched your search

@@ -0,0 +1,16 @@
<?php
namespace App\Filament\Resources\BazaarReleases\Schemas;
use Filament\Schemas\Schema;
class BazaarReleaseForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
//
]);
}
}
@@ -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(),
]);
}
}