Commit Graph

24 Commits

Author SHA1 Message Date
Yoga Pangestu
4e8ac2750f refactor: Remove sortable from the 'Peran' column in UserResource. 2026-03-13 09:22:14 +07:00
Yoga Pangestu
28ca845adb feat: Enable edit, delete, force delete, and restore actions for all user roles. 2026-03-12 11:59:53 +07:00
Yoga Pangestu
02070f3d5f feat(user): add recordTitleAttribute in resource 2026-02-09 10:46:11 +07:00
Yoga Pangestu
9a63d33991 refactor: Standardize role checks by using RoleEnum for the 'Developer' role across multiple Filament resources and tables. 2026-01-30 14:56:42 +07:00
Yoga Pangestu
dceeabdf7e refactor: Adjust password field to set a default value only on creation and be visible only during creation. 2026-01-29 21:20:35 +07:00
Yoga Pangestu
0757696f24 chore: Update email placeholders and refine the journalist resource empty state description. 2026-01-28 09:06:29 +07:00
Yoga Pangestu
9ce3d72153 refactor: Extract user password reset action into a dedicated ChangePasswordAction class. 2026-01-27 21:24:40 +07:00
Yoga Pangestu
394525bcc2 style: Standardize arrow function spacing and apply minor formatting adjustments across several Filament resources. 2026-01-27 21:05:00 +07:00
Yoga Pangestu
3f0529a53e refactor: Reorder static properties and adjust function syntax in Filament resources and pages for consistency. 2026-01-27 20:47:04 +07:00
Yoga Pangestu
337238b518 feat: Add a reset password action to user records with a new password input and notification. 2026-01-27 15:49:56 +07:00
Yoga Pangestu
f1d1058868 feat: Auto-verify new user emails upon creation and remove recordTitleAttribute and autocomplete(false) from the user resource. 2026-01-27 15:28:14 +07:00
Yoga Pangestu
974d8ac92b feat: Restrict TrashedFilter visibility to the Developer role across multiple Filament resources and apply minor code formatting adjustments. 2026-01-27 15:16:37 +07:00
Yoga Pangestu
2983cd243f refactor: centralize cheerful notifications and cleanup auth calls
- Introduce `CheerfulNotification` utility class to standardize cheerful and expressive notifications across the application.
- Refactor custom "Cheerful" actions (Create, Edit, Delete, etc.) and `DefaultBulkActions` to utilize the new utility class.
- Update all `ToggleColumn` status updates in Master Data modules to use `CheerfulNotification::statusUpdated()`.
- Replace inline `Notification::make()` calls in custom actions (Reply, Crawl News, Cooperation actions) and Resource Pages with `CheerfulNotification` methods.
- Address various lint errors by standardizing the use of the `Auth` facade and improving type hinting for the authenticated `User` model.
2026-01-14 09:54:46 +07:00
Yoga Pangestu
6fe5e81717 refactor: add type hinting to closures and fix logic errors in Filament codebase
- Added comprehensive parameter and return type hinting to closures across various Filament resources, actions, and relation managers to improve type safety and static analysis.
- Fixed logic in ReportRelationManager where report count was incorrectly compared, preventing the 'Buat Laporan' button from showing correctly.
- Corrected namespaces for RepeatableEntry and TextEntry in ViewCooperation (changed from Filament\Schemas to Filament\Infolists).
- Fixed component rendering in JournalistResource form by ensuring sections are correctly returned in the mapping.
- Added @var docblocks to resolve lint errors related to auth()->user() and verified query builder return types.
- Standardized file retrieval logic in PartnerResource and improved overall code reliability."
2026-01-12 15:17:21 +07:00
Yoga Pangestu
57eece15db feat: Add navigationSort property to various resources for improved navigation order 2026-01-08 14:14:23 +07:00
Yoga Pangestu
926d25d6cf refactor: Remove navigationSort property from various Filament resource classes for cleaner code 2026-01-08 08:40:18 +07:00
Yoga Pangestu
03bf59e11e feat: Disable and hide user management actions for the PERUSAHAAN role. 2026-01-05 08:43:33 +07:00
Yoga Pangestu
ff54d97d98 refactor: Standardize anonymous function syntax and update modal width definitions to use Filament's Width enum. 2025-12-16 13:59:46 +07:00
Yoga Pangestu
89f0d511e4 feat: Organize Filament resources with navigation groups, update modal width enum usage, and add clean code documentation. 2025-12-16 13:53:59 +07:00
Yoga Pangestu
2603d90271 feat: Introduce RoleEnum and update user role selection to exclude developer and company roles. 2025-12-16 13:34:16 +07:00
Yoga Pangestu
7f1d10f4be refactor: update empty state icons across various resources
- Replaced the default empty state icon 'heroicon-o-bookmark' with specific Heroicon variants for improved visual representation in the Journalist, Partner, Classification, Department, Location, SubClassification, SubLocation, Theme, User, ContentRecaps, IssueManagements, MediaMonitorings, Announcement, and News resources.
- Updated the empty state description to ensure consistency across resources.
2025-12-12 10:11:24 +07:00
Yoga Pangestu
facd36688e refactor(action): move bulk action to class and used it in module and adjust emptyStateDescription 2025-12-05 09:21:24 +07:00
Yoga Pangestu
0167811e47 feat(table): move timestamp column to Columns Folder and adjust in module 2025-12-05 09:02:43 +07:00
Yoga Pangestu
28ec50494d feat: Add policies for SubClassification, SubLocation, and User models
- Created SubClassificationPolicy to manage authorization for SubClassification actions.
- Created SubLocationPolicy to manage authorization for SubLocation actions.
- Created UserPolicy to manage authorization for User actions.
- Integrate Filament Shield for role and permission management
- Updated DashboardPanelProvider to include FilamentShieldPlugin.
- Added filament-shield package to composer.json and updated composer.lock.
- Created filament-shield.php configuration file for Shield settings.
- Created permission.php configuration file for Spatie permissions.
- Added migration for creating permission tables.
- Created ShieldSeeder to seed roles and permissions.
- Updated DatabaseSeeder to include ShieldSeeder.
- Updated UserSeeder to assign the Developer role to the created user.
2025-11-20 09:00:59 +07:00