feat: Add navigationSort property to various resources for improved navigation order
This commit is contained in:
parent
69c86e5d3c
commit
57eece15db
@ -28,9 +28,11 @@ class AdminVerification extends Page implements HasActions, HasForms
|
||||
|
||||
protected static ?string $title = 'Verifikasi Rekanan';
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Kelola';
|
||||
|
||||
protected static ?string $navigationLabel = 'Verifikasi Rekanan';
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Kelola';
|
||||
protected static ?int $navigationSort = 2;
|
||||
|
||||
protected static ?string $slug = 'manage/admin-verification';
|
||||
|
||||
|
||||
@ -28,10 +28,12 @@ class CustomCompany extends Page
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = Heroicon::BuildingOffice2;
|
||||
|
||||
protected static ?string $navigationLabel = 'Perusahaan';
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Kelola';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
|
||||
protected static ?string $navigationLabel = 'Perusahaan';
|
||||
|
||||
protected static ?string $slug = 'manage/company';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
@ -36,6 +36,8 @@ class CustomMedia extends Page
|
||||
|
||||
protected static ?string $navigationLabel = 'Media';
|
||||
|
||||
protected static ?int $navigationSort = 4;
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Kelola';
|
||||
|
||||
protected static ?string $slug = 'manage/media';
|
||||
|
||||
@ -27,6 +27,8 @@ class CustomVerification extends Page implements HasActions, HasForms
|
||||
|
||||
protected static ?string $navigationLabel = 'Verifikasi';
|
||||
|
||||
protected static ?int $navigationSort = 6;
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Kelola';
|
||||
|
||||
protected static ?string $slug = 'manage/verification';
|
||||
|
||||
@ -27,6 +27,8 @@ class ManageGeneralSettings extends SettingsPage
|
||||
|
||||
protected static ?string $navigationLabel = 'Umum';
|
||||
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static ?string $title = 'Pengaturan Umum';
|
||||
|
||||
public function form(Schema $schema): Schema
|
||||
|
||||
@ -25,6 +25,8 @@ class ManageSeoSettings extends SettingsPage
|
||||
|
||||
protected static ?string $navigationLabel = 'SEO';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
|
||||
protected static ?string $title = 'Pengaturan SEO';
|
||||
|
||||
public function form(Schema $schema): Schema
|
||||
|
||||
@ -25,6 +25,8 @@ class ManageSocialMediaSettings extends SettingsPage
|
||||
|
||||
protected static ?string $navigationLabel = 'Media Sosial';
|
||||
|
||||
protected static ?int $navigationSort = 2;
|
||||
|
||||
protected static ?string $title = 'Pengaturan Media Sosial';
|
||||
|
||||
public function form(Schema $schema): Schema
|
||||
|
||||
@ -35,6 +35,8 @@ class ContactResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Kontak';
|
||||
|
||||
protected static ?int $navigationSort = 8;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'subject';
|
||||
|
||||
protected static ?string $modelLabel = 'Kontak';
|
||||
|
||||
@ -37,6 +37,8 @@ class CooperationResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Kerja Sama';
|
||||
|
||||
protected static ?int $navigationSort = 7;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'title';
|
||||
|
||||
protected static ?string $slug = 'manage/cooperations';
|
||||
|
||||
@ -43,6 +43,8 @@ class JournalistResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Jurnalis';
|
||||
|
||||
protected static ?int $navigationSort = 5;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'manage/journalists';
|
||||
|
||||
@ -35,6 +35,8 @@ class PartnerResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Rekanan';
|
||||
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'manage/partners';
|
||||
|
||||
@ -36,6 +36,8 @@ class CategoryResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Kategori';
|
||||
|
||||
protected static ?int $navigationSort = 5;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'master/categories';
|
||||
|
||||
@ -36,6 +36,8 @@ class ClassificationResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Klasifikasi';
|
||||
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'master/classifications';
|
||||
|
||||
@ -36,6 +36,8 @@ class DepartmentResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'OPD';
|
||||
|
||||
protected static ?int $navigationSort = 6;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'master/departments';
|
||||
|
||||
@ -36,6 +36,8 @@ class LocationResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Lokasi';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'master/locations';
|
||||
|
||||
@ -38,6 +38,8 @@ class SubClassificationResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Sub Klasifikasi';
|
||||
|
||||
protected static ?int $navigationSort = 2;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'master/sub-classifications';
|
||||
|
||||
@ -38,6 +38,8 @@ class SubLocationResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Sub Lokasi';
|
||||
|
||||
protected static ?int $navigationSort = 4;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'master/sub-locations';
|
||||
|
||||
@ -36,6 +36,8 @@ class ThemeResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Tema';
|
||||
|
||||
protected static ?int $navigationSort = 7;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'master/themes';
|
||||
|
||||
@ -40,6 +40,8 @@ class UserResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Pengguna';
|
||||
|
||||
protected static ?int $navigationSort = 8;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $slug = 'master/users';
|
||||
|
||||
@ -27,6 +27,8 @@ class ContentRecapResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Rekap Konten';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'title';
|
||||
|
||||
protected static ?string $slug = 'monitoring/content-recaps';
|
||||
|
||||
@ -27,6 +27,8 @@ class IssueManagementResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Manajemen Isu';
|
||||
|
||||
protected static ?int $navigationSort = 2;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'mediaMonitoring.title';
|
||||
|
||||
protected static ?string $slug = 'monitoring/issue-managements';
|
||||
|
||||
@ -27,6 +27,8 @@ class MediaMonitoringResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Monitoring Media';
|
||||
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'code';
|
||||
|
||||
protected static ?string $slug = 'monitoring/media-monitorings';
|
||||
|
||||
@ -39,6 +39,8 @@ class AnnouncementResource extends Resource
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Publikasi';
|
||||
|
||||
protected static ?int $navigationSort = 2;
|
||||
|
||||
protected static ?string $slug = 'publication/announcements';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'title';
|
||||
|
||||
@ -27,6 +27,8 @@ class NewsResource extends Resource
|
||||
|
||||
protected static string|UnitEnum|null $navigationGroup = 'Publikasi';
|
||||
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static ?string $slug = 'publication/news';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'title';
|
||||
|
||||
@ -24,6 +24,8 @@ class VisitorResource extends Resource
|
||||
|
||||
protected static ?string $navigationLabel = 'Pengunjung';
|
||||
|
||||
protected static ?int $navigationSort = 4;
|
||||
|
||||
protected static ?string $slug = 'monitoring/visitors';
|
||||
|
||||
public static function table(Table $table): Table
|
||||
|
||||
Loading…
Reference in New Issue
Block a user