refactor: remove record title attributes from various resource classes for cleaner code structure

This commit is contained in:
Yoga Pangestu 2026-04-02 12:13:45 +07:00
parent 10d90a0297
commit addc675999
8 changed files with 0 additions and 16 deletions

View File

@ -40,8 +40,6 @@ class Index extends Page implements HasActions, HasForms
protected static ?int $navigationSort = 5;
protected static ?string $recordTitleAttribute = 'day_of_week';
protected static ?string $slug = 'information/course-schedules';
protected string $view = 'filament.pages.information.course-schedule.index';

View File

@ -58,8 +58,6 @@ public static function getNavigationBadgeColor(): ?string
protected static ?int $navigationSort = 15;
protected static ?string $recordTitleAttribute = 'title';
protected static ?string $slug = 'learning/assignments';
public static function form(Schema $schema): Schema

View File

@ -38,8 +38,6 @@ class ListAssignments extends Page
protected static ?string $title = 'Tugas';
protected static ?string $recordTitleAttribute = 'title';
public static function getPagePermission(): string
{
return 'View:CourseSchedule';

View File

@ -20,8 +20,6 @@ class AttendanceResource extends Resource
protected static ?int $navigationSort = 20;
protected static ?string $recordTitleAttribute = 'date';
protected static ?string $slug = 'learning/attendances';
public static function getPages(): array

View File

@ -25,8 +25,6 @@ class ClassSessionResource extends Resource
protected static ?int $navigationSort = 5;
protected static ?string $recordTitleAttribute = 'session_number';
protected static ?string $slug = 'learning/class-sessions';
public static function getRelations(): array

View File

@ -48,8 +48,6 @@ class MaterialResource extends Resource
protected static ?int $navigationSort = 10;
protected static ?string $recordTitleAttribute = 'title';
protected static ?string $slug = 'learning/materials';
public static function form(Schema $schema): Schema

View File

@ -37,8 +37,6 @@ class CourseResource extends Resource
protected static ?int $navigationSort = 10;
protected static ?string $recordTitleAttribute = 'name';
protected static ?string $slug = 'master/courses';
public static function form(Schema $schema): Schema

View File

@ -26,8 +26,6 @@ class StudentResource extends Resource
protected static ?int $navigationSort = 5;
protected static ?string $recordTitleAttribute = 'full_name';
protected static ?string $slug = 'master/students';
public static function form(Schema $schema): Schema