Commit Graph

14 Commits

Author SHA1 Message Date
Yoga Pangestu
0caf03e03f feat: Introduce SelectFilter for various resources to enhance filtering capabilities across tables. 2026-03-16 22:19:18 +07:00
Yoga Pangestu
3578d7eaa9 feat: Implement configurable pagination options and deferred loading for all Filament tables. 2026-03-16 17:13:03 +07:00
Yoga Pangestu
88c450af7f refactor: Relocate news link display from its own table column to the title's description, remove the getRelations method, and enhance tags input with helper text. 2026-03-13 09:39:39 +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
0d4662086a feat: Restrict TrashedFilter visibility to only the Developer role in various resource tables. 2026-01-30 14:28:42 +07:00
Yoga Pangestu
e35a4c5985 feat: Automatically assign author ID in news creation form and update news table views column. 2026-01-27 21:45:59 +07:00
Yoga Pangestu
8ddad47c01 refactor: Replace Notification with CheerfulNotification for improved user feedback and enhance error logging in various services 2026-01-19 09:52:32 +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
cb8dac63fe fix(news): Update category placeholder text in news table
- Change placeholder text from 'Tidak ada tag' to 'Tidak ada kategori' for the categories column
2026-01-08 08:31:44 +07:00
Yoga Pangestu
19934bbe89 feat: Implement news categories and status management with a new category resource and updated news form fields for excerpt, categories, and status. 2025-12-24 08:56:11 +07:00
Yoga Pangestu
2dbbe62aa9 refactor: standardize icon imports across monitoring and publication tables
- Added the Heroicon import to ContentRecapsTable, IssueManagementTable, MediaMonitoringsTable, and NewsTable for consistency in icon usage across various resources.
2025-12-12 10:51:05 +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
2c5b057958 feat(news): implement news resource with CRUD functionality
- Created NewsResource for managing news entries.
- Added pages for creating, editing, and listing news.
- Defined NewsForm schema for news entry forms.
- Configured NewsTable for displaying news records with actions.
- Implemented News model with relationships and soft deletes.
- Added factories for generating test data for news and tags.
- Created migrations for news and tags tables.
2025-12-12 09:48:34 +07:00