feat: Update page titles and subheadings across various Filament resources to utilize cheerful notifications, enhancing user engagement and clarity.
This commit is contained in:
parent
996058e4a7
commit
3897954b78
@ -7,6 +7,7 @@
|
||||
use App\Filament\Pages\AdminVerification\Actions\RejectAction;
|
||||
use App\Filament\Pages\AdminVerification\Actions\RevisionAction;
|
||||
use App\Filament\Resources\Manage\Partners\Pages\ViewPartner;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use App\Models\VerificationRequest;
|
||||
use BackedEnum;
|
||||
use BezhanSalleh\FilamentShield\Traits\HasPageShield;
|
||||
@ -39,7 +40,15 @@ class Index extends Page implements HasActions, HasForms
|
||||
|
||||
protected static ?string $slug = 'manage/admin-verification';
|
||||
|
||||
protected static ?string $title = 'Verifikasi Rekanan';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Verifikasi Rekanan 👥🛡️', 'Verifikasi Data Rekanan');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Tinjau dan verifikasi data rekanan media kita agar kerja sama berjalan lancar dan akurat! 👥🛡️', 'Halaman ini digunakan oleh Admin untuk meninjau dan memverifikasi pengajuan data dari rekanan media.');
|
||||
}
|
||||
|
||||
protected string $view = 'filament.pages.admin-verification';
|
||||
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use App\Enums\RoleEnum;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use App\Filament\Widgets\Charts\CompanyStatusChart;
|
||||
use App\Filament\Widgets\Charts\CooperationStatusChart;
|
||||
use App\Filament\Widgets\Charts\IssueDepartmentChart;
|
||||
@ -36,7 +37,15 @@ class Analytic extends BaseDashboard
|
||||
|
||||
protected static ?string $slug = 'analytic';
|
||||
|
||||
protected static ?string $title = 'Analisa';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Analisa 📊✨', 'Analisa Data');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Mari bedah data kita lebih dalam lewat visualisasi grafik yang intuitif! 📊🔍', 'Halaman ini menyajikan grafik dan visualisasi data untuk membantu pengambilan keputusan yang lebih baik.');
|
||||
}
|
||||
|
||||
protected static ?string $navigationLabel = 'Analisa';
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use App\Filament\Widgets\Stats\OverviewStats;
|
||||
use BezhanSalleh\FilamentShield\Traits\HasPageShield;
|
||||
use Filament\Pages\Dashboard as BaseDashboard;
|
||||
@ -10,6 +11,16 @@ class Dashboard extends BaseDashboard
|
||||
{
|
||||
use HasPageShield;
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Dasbor 🏠✨', 'Dasbor');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Selamat datang kembali! Pantau ringkasan data dan statistik sistem dalam sekejap! 🚀📊', 'Halaman ini menyajikan ringkasan statistik dan informasi penting sistem Anda.');
|
||||
}
|
||||
|
||||
protected static ?string $pollingInterval = null;
|
||||
|
||||
public function getColumns(): int|array
|
||||
|
||||
@ -31,7 +31,15 @@ class ManageGeneralSettings extends SettingsPage
|
||||
|
||||
protected static string $settings = GeneralSettings::class;
|
||||
|
||||
protected static ?string $title = 'Pengaturan Umum';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Pengaturan Umum 📋✨', 'Kelola Pengaturan Umum');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola informasi dasar dan identitas situs agar tetap relevan dan akurat! 📋✨', 'Halaman ini digunakan untuk mengelola konfigurasi dasar situs web.');
|
||||
}
|
||||
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
|
||||
@ -29,7 +29,15 @@ class ManageSeoSettings extends SettingsPage
|
||||
|
||||
protected static string $settings = SeoSettings::class;
|
||||
|
||||
protected static ?string $title = 'Pengaturan SEO';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('SEO 🔍✨', 'Kelola SEO');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Optimasi pengaturan SEO agar situs kita makin mudah ditemukan di mesin pencari! 🔍📈', 'Halaman ini digunakan untuk mengelola konfigurasi optimasi mesin pencari.');
|
||||
}
|
||||
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
|
||||
@ -29,7 +29,15 @@ class ManageSocialMediaSettings extends SettingsPage
|
||||
|
||||
protected static string $settings = SocialMediaSettings::class;
|
||||
|
||||
protected static ?string $title = 'Pengaturan Media Sosial';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Media Sosial 🔗✨', 'Kelola Media Sosial');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Hubungkan semua kanal media sosial kita agar jangkauan informasi makin luas! 🔗🌐', 'Halaman ini digunakan untuk mengelola tautan media sosial resmi.');
|
||||
}
|
||||
|
||||
public function form(Schema $schema): Schema
|
||||
{
|
||||
|
||||
@ -39,7 +39,15 @@ class Verification extends Page implements HasActions, HasForms
|
||||
|
||||
protected static ?string $slug = 'manage/verification';
|
||||
|
||||
protected static ?string $title = 'Verifikasi';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Verifikasi 🛡️✨', 'Pengajuan Verifikasi');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Pantau status pengajuan verifikasi perusahaan Anda di sini ya! 🚀✨', 'Halaman ini menyajikan informasi dan tahapan proses verifikasi data perusahaan Anda.');
|
||||
}
|
||||
|
||||
public ?VerificationRequest $verificationRequest = null;
|
||||
|
||||
|
||||
@ -3,9 +3,20 @@
|
||||
namespace App\Filament\Resources\Manage\Contacts\Pages;
|
||||
|
||||
use App\Filament\Resources\Manage\Contacts\ContactResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Resources\Pages\ManageRecords;
|
||||
|
||||
class ManageContacts extends ManageRecords
|
||||
{
|
||||
protected static string $resource = ContactResource::class;
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kontak 📧✨', 'Kelola Kontak');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Cek pesan dan aspirasi yang masuk dari pengguna sistem! 📧💬', 'Halaman ini digunakan untuk melihat dan menanggapi pesan yang dikirimkan oleh pengguna.');
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
|
||||
use App\Enums\RoleEnum;
|
||||
use App\Filament\Resources\Manage\Cooperations\CooperationResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
@ -11,7 +12,15 @@ class ListCooperations extends ListRecords
|
||||
{
|
||||
protected static string $resource = CooperationResource::class;
|
||||
|
||||
protected static ?string $title = 'Kerja Sama';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kerja Sama 🤝✨', 'Kelola Kerja Sama');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola semua program dan jalinan kerja sama agar berjalan maksimal! 📂🤝', 'Halaman ini menyajikan daftar seluruh jalinan kerja sama yang terdaftar di dalam sistem.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -4,12 +4,23 @@
|
||||
|
||||
use App\Filament\Actions\BackAction;
|
||||
use App\Filament\Resources\Manage\Cooperations\CooperationResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Resources\Pages\ViewRecord;
|
||||
|
||||
class ViewCooperation extends ViewRecord
|
||||
{
|
||||
protected static string $resource = CooperationResource::class;
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Detail Kerja Sama 🤝✨', 'Detail Data Kerja Sama');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Cek detail jalinan kerja sama kita agar semuanya makin mantap! 📂🤝', 'Halaman ini menyajikan detail rincian data kerja sama yang dipilih.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
|
||||
@ -3,11 +3,20 @@
|
||||
namespace App\Filament\Resources\Manage\DataChanges\Pages;
|
||||
|
||||
use App\Filament\Resources\Manage\DataChanges\DataChangesResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
class ManageDataChanges extends ListRecords
|
||||
{
|
||||
protected static string $resource = DataChangesResource::class;
|
||||
|
||||
protected static ?string $title = 'Permohonan Perubahan Data';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Permohonan Perubahan Data 📝✨', 'Kelola Permohonan Perubahan Data');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Tinjau dan proses permohonan perubahan data agar informasi tetap akurat! 📝✅', 'Halaman ini digunakan untuk mengelola daftar permohonan perubahan data yang diajukan oleh pengguna.');
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,12 +4,23 @@
|
||||
|
||||
use App\Filament\Actions\BackAction;
|
||||
use App\Filament\Resources\Manage\DataChanges\DataChangesResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Resources\Pages\ViewRecord;
|
||||
|
||||
class ViewDataChange extends ViewRecord
|
||||
{
|
||||
protected static string $resource = DataChangesResource::class;
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Detail Perubahan Data 📝✨', 'Detail Permohonan Perubahan Data');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Tinjau detail rincian perubahan data yang diajukan oleh pengguna! 📝🔍', 'Halaman ini menyajikan rincian permohonan perubahan data yang perlu ditinjau.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
|
||||
@ -6,13 +6,22 @@
|
||||
use App\Enums\VerificationStatus;
|
||||
use App\Filament\Resources\Manage\Journalists\Actions\CreateJournalistAction;
|
||||
use App\Filament\Resources\Manage\Journalists\JournalistResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Resources\Pages\ManageRecords;
|
||||
|
||||
class ManageJournalists extends ManageRecords
|
||||
{
|
||||
protected static string $resource = JournalistResource::class;
|
||||
|
||||
protected static ?string $title = 'Jurnalis';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Jurnalis ✍️✨', 'Kelola Jurnalis');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola data jurnalis yang terdaftar di media Anda! ✍️📋', 'Halaman ini digunakan untuk mengelola daftar jurnalis yang bernaung di bawah media Anda.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -3,11 +3,20 @@
|
||||
namespace App\Filament\Resources\Manage\Partners\Pages;
|
||||
|
||||
use App\Filament\Resources\Manage\Partners\PartnerResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Resources\Pages\ManageRecords;
|
||||
|
||||
class ManagePartners extends ManageRecords
|
||||
{
|
||||
protected static string $resource = PartnerResource::class;
|
||||
|
||||
protected static ?string $title = 'Rekanan';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Rekanan 🏢✨', 'Kelola Rekanan');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola seluruh mitra rekanan yang bekerja sama dengan pemerintah! 🏢🤝', 'Halaman ini digunakan untuk mengelola data para mitra rekanan yang terdaftar di sistem.');
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,12 +4,23 @@
|
||||
|
||||
use App\Filament\Actions\BackAction;
|
||||
use App\Filament\Resources\Manage\Partners\PartnerResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Resources\Pages\ViewRecord;
|
||||
|
||||
class ViewPartner extends ViewRecord
|
||||
{
|
||||
protected static string $resource = PartnerResource::class;
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Detail Rekanan 🏢✨', 'Detail Data Rekanan');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Lihat profil lengkap rekanan media kita agar kerja sama makin erat! 🏢🤝', 'Halaman ini menampilkan informasi detail mengenai profil rekanan media.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
|
||||
@ -415,7 +415,7 @@ public static function table(Table $table): Table
|
||||
]),
|
||||
])
|
||||
->emptyStateIcon(Heroicon::OutlinedBuildingOffice2)
|
||||
->emptyStateDescription(fn () => CheerfulNotification::getMessage('Belum ada rekanan yang terdaftar nih. Yuk, mulai buat data pertama! 🏢✨', 'Belum ada data rekanan yang tersedia saat ini.'))
|
||||
->emptyStateDescription(fn () => CheerfulNotification::getMessage('Belum ada rekanan yang terdaftar nih. Yuk, ajak mereka bergabung dengan aplikasi kita! 🏢✨', 'Belum ada data rekanan yang tersedia saat ini.'))
|
||||
->defaultSort('created_at', 'desc')
|
||||
->deferFilters(false)
|
||||
->paginated([25, 50, 100, 'all'])
|
||||
|
||||
@ -12,7 +12,15 @@ class ManageCategories extends ManageRecords
|
||||
{
|
||||
protected static string $resource = CategoryResource::class;
|
||||
|
||||
protected static ?string $title = 'Kategori';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kategori 🏷️✨', 'Kelola Kategori');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola kategori data agar tetap rapi dan terorganisir dengan baik! 📁😊', 'Gunakan halaman ini untuk memantau dan memperbarui kategori yang ada.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -12,7 +12,15 @@ class ManageClassifications extends ManageRecords
|
||||
{
|
||||
protected static string $resource = ClassificationResource::class;
|
||||
|
||||
protected static ?string $title = 'Klasifikasi';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Klasifikasi 📂✨', 'Kelola Klasifikasi');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola klasifikasi data untuk membantu pengelompokan yang lebih akurat! 🧩😊', 'Gunakan halaman ini untuk memantau dan mengelola parameter klasifikasi data.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -12,7 +12,15 @@ class ManageDepartments extends ManageRecords
|
||||
{
|
||||
protected static string $resource = DepartmentResource::class;
|
||||
|
||||
protected static ?string $title = 'OPD';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('OPD 🏢✨', 'Kelola OPD');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola data Organisasi Perangkat Daerah agar kolaborasi berjalan lancar! 🤝✨', 'Gunakan halaman ini untuk memantau dan memperbarui informasi instansi atau OPD yang ada.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -12,7 +12,15 @@ class ManageLocations extends ManageRecords
|
||||
{
|
||||
protected static string $resource = LocationResource::class;
|
||||
|
||||
protected static ?string $title = 'Lokus';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Lokus 📍✨', 'Kelola Lokus');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola titik-titik lokasi (Lokus) data agar pemetaan informasi semakin presisi! 🗺️😊', 'Gunakan halaman ini untuk memantau dan memperbarui data Lokus di sistem.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -12,7 +12,15 @@ class ManageSubClassifications extends ManageRecords
|
||||
{
|
||||
protected static string $resource = SubClassificationResource::class;
|
||||
|
||||
protected static ?string $title = 'Subklasifikasi';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Subklasifikasi 📑✨', 'Kelola Subklasifikasi');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola rincian klasifikasi (Subklasifikasi) agar pengarsipan data lebih tertata! 🗂️😊', 'Halaman ini digunakan untuk mengelola rincian subklasifikasi data yang ada di sistem.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -132,7 +132,7 @@ public static function table(Table $table): Table
|
||||
]),
|
||||
])
|
||||
->emptyStateIcon(Heroicon::OutlinedQueueList)
|
||||
->emptyStateDescription(fn () => CheerfulNotification::getMessage('Belum ada data nih! Mulai buat data pertama sekarang biar makin rame! 🚀✨', 'Belum ada data yang tersedia saat ini.'))
|
||||
->emptyStateDescription(fn () => CheerfulNotification::getMessage('Belum ada data Subklasifikasi nih! Mulai buat data pertama sekarang biar makin rame! 🚀✨', 'Belum ada data yang tersedia saat ini.'))
|
||||
->defaultSort('created_at', 'desc')
|
||||
->deferFilters(false)
|
||||
->paginated([25, 50, 100, 'all'])
|
||||
|
||||
@ -12,7 +12,15 @@ class ManageSubLocations extends ManageRecords
|
||||
{
|
||||
protected static string $resource = SubLocationResource::class;
|
||||
|
||||
protected static ?string $title = 'Sublokus';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Sublokus 📌✨', 'Kelola Sublokus');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola rincian titik lokasi (Sublokus) agar data semakin detail dan mendalam! 📍😊', 'Halaman ini digunakan untuk mengelola detail data sublokus yang ada di sistem.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -12,7 +12,15 @@ class ManageThemes extends ManageRecords
|
||||
{
|
||||
protected static string $resource = ThemeResource::class;
|
||||
|
||||
protected static ?string $title = 'Tema';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Tema 📂✨', 'Kelola Tema');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola tema-tema berita agar informasi makin mudah dikelompokkan! 📚😊', 'Gunakan halaman ini untuk mengelola daftar tema berita yang tersedia.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -12,7 +12,15 @@ class ManageUsers extends ManageRecords
|
||||
{
|
||||
protected static string $resource = UserResource::class;
|
||||
|
||||
protected static ?string $title = 'Pengguna';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Pengguna 👤✨', 'Kelola Pengguna');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola akses dan akun pengguna agar sistem tetap aman dan tertib! 👤🛡️', 'Halaman ini digunakan untuk mengelola data akun pengguna yang terdaftar di sistem.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -192,7 +192,7 @@ public static function table(Table $table): Table
|
||||
]),
|
||||
])
|
||||
->emptyStateIcon(Heroicon::OutlinedUserGroup)
|
||||
->emptyStateDescription(fn () => CheerfulNotification::getMessage('Belum ada data nih! Mulai buat data pertama sekarang biar makin rame! 🚀✨', 'Belum ada data yang tersedia saat ini.'))
|
||||
->emptyStateDescription(fn () => CheerfulNotification::getMessage('Belum ada data pengguna nih! Mulai buat data pertama sekarang biar makin rame! 🚀✨', 'Belum ada data yang tersedia saat ini.'))
|
||||
->defaultSort('created_at', 'desc')
|
||||
->deferFilters(false)
|
||||
->paginated([25, 50, 100, 'all'])
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
|
||||
use App\Filament\Exports\ContentRecapExcelExport;
|
||||
use App\Filament\Resources\Monitoring\ContentRecaps\ContentRecapResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
use pxlrbt\FilamentExcel\Actions\ExportAction;
|
||||
@ -12,7 +13,15 @@ class ListContentRecaps extends ListRecords
|
||||
{
|
||||
protected static string $resource = ContentRecapResource::class;
|
||||
|
||||
protected static ?string $title = 'Rekap Konten';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Rekap Konten 📝✨', 'Kelola Rekap Konten');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Lihat dan kelola rekap konten media agar tetap update dengan informasi terbaru! 📱📋', 'Halaman ini menyajikan daftar rekapitulasi konten media yang telah tercatat di sistem.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
|
||||
use App\Filament\Exports\IssueManagementExcelExport;
|
||||
use App\Filament\Resources\Monitoring\IssueManagements\IssueManagementResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
use pxlrbt\FilamentExcel\Actions\ExportAction;
|
||||
@ -12,7 +13,15 @@ class ListIssueManagements extends ListRecords
|
||||
{
|
||||
protected static string $resource = IssueManagementResource::class;
|
||||
|
||||
protected static ?string $title = 'Manajemen Isu';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Manajemen Isu 📢✨', 'Kelola Manajemen Isu');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Pantau dan kelola isu-isu terkini agar tetap terkendali dan terinformasi! 📢📋', 'Halaman ini menampilkan daftar manajemen isu yang sedang dipantau oleh sistem.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
use App\Filament\Exports\MediaMonitoringExcelExport;
|
||||
use App\Filament\Resources\Monitoring\MediaMonitorings\Actions\CrawlNewsAction;
|
||||
use App\Filament\Resources\Monitoring\MediaMonitorings\MediaMonitoringResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
use pxlrbt\FilamentExcel\Actions\ExportAction;
|
||||
@ -13,7 +14,15 @@ class ListMediaMonitorings extends ListRecords
|
||||
{
|
||||
protected static string $resource = MediaMonitoringResource::class;
|
||||
|
||||
protected static ?string $title = 'Monitoring Media';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Monitoring Media 📺✨', 'Kelola Monitoring Media');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Pantau pemberitaan media secara real-time agar berita tetap terkendali! 📰📱', 'Halaman ini menyajikan daftar hasil pemantauan media yang telah tercatat di sistem.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
namespace App\Filament\Resources\Publication\News\Pages;
|
||||
|
||||
use App\Filament\Resources\Publication\News\NewsResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
@ -10,7 +11,15 @@ class ListNews extends ListRecords
|
||||
{
|
||||
protected static string $resource = NewsResource::class;
|
||||
|
||||
protected static ?string $title = 'Berita';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Berita 📰✨', 'Kelola Berita');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Kelola berita dan informasi terbaru untuk dibagikan kepada khalayak! 📰📢', 'Halaman ini digunakan untuk mengelola daftar berita dan artikel yang akan dipublikasikan.');
|
||||
}
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
|
||||
@ -3,11 +3,20 @@
|
||||
namespace App\Filament\Resources\Visitors\Pages;
|
||||
|
||||
use App\Filament\Resources\Visitors\VisitorResource;
|
||||
use App\Filament\Support\CheerfulNotification;
|
||||
use Filament\Resources\Pages\ManageRecords;
|
||||
|
||||
class ManageVisitors extends ManageRecords
|
||||
{
|
||||
protected static string $resource = VisitorResource::class;
|
||||
|
||||
protected static ?string $title = 'Pengunjung';
|
||||
public function getTitle(): string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Pengunjung 👤✨', 'Kelola Pengunjung');
|
||||
}
|
||||
|
||||
public function getSubheading(): ?string
|
||||
{
|
||||
return CheerfulNotification::getMessage('Lihat siapa saja yang mampir dan berinteraksi dengan sistem kita hari ini! 👤📈', 'Halaman ini menyajikan data statistik dan daftar pengunjung sistem.');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user