Commit Graph

393 Commits

Author SHA1 Message Date
Yoga Pangestu
b88660b8c8 feat: Add force delete and restore actions to Partner and Announcement resources, and apply minor formatting adjustments across several Filament resources and relation managers. 2025-12-16 14:05:04 +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
aa77c1c940 feat: Add ContentRecap, Cooperation, IssueManagement, Journalist, MediaMonitoring, News, and Announcement policies. 2025-12-16 13:01:14 +07:00
Yoga Pangestu
c7a72a169e feat: implement comprehensive cooperation management module with models, migrations, and Filament resources 2025-12-16 12:37:53 +07:00
Yoga Pangestu
b9a266d35a feat(announcement): create AnnouncementMedia model, factory, and migration
- Introduced the AnnouncementMedia model, removing soft deletes for a simplified structure.
- Added AnnouncementMediaFactory for generating test data with relationships to Announcement and PartnerMedia.
- Created migration for the announcement_media table without soft deletes.
2025-12-12 11:30:36 +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
8386ea0d93 feat(models): add relationships to PartnerMedia and User models
- Introduced a many-to-many relationship in PartnerMedia for announcements.
- Added a has-many relationship in User for news authored by the user.
- Implemented an active scope in User for filtering active users.
2025-12-12 10:06:18 +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
Yoga Pangestu
97cdfd6e0b test: add comprehensive test suite and model factories
- Add HasFactory trait to all model classes for factory support
- Create factory classes for all models (Classification, Company, ContentRecap, Department, IssueManagement, Journalist, Location, MediaMonitoring, MediaMonitoringTheme, PartnerMedia, SubClassification, SubLocation, Theme, User)
- Add unit tests for all models with relationship and attribute validation
- Add unit tests for all enums (Channel, ContentType, IsActive, IssueSentiment, MediaClassification, MediaType, SocialMedia)
- Add feature tests for factory integration and basic application functionality
- Add tests for Filament actions, columns, and media library utilities
- Add tests for model policies (Classification, Theme) and traits (WithComment, WithValue)
- Update phpunit.xml configuration for test environment
- Add test documentation and working tests reference guide
- Add ContentType enum casting to ContentRecap model
- Add MediaMonitoringTheme relationships and factory support
- Establish comprehensive testing infrastructure for improved code quality and reliability
2025-12-11 14:50:37 +07:00
Yoga Pangestu
ae31d8f37f feat: Introduce Issue Management module, refactor enum implementations, and remove rich editors from location forms. 2025-12-11 10:41:43 +07:00
Yoga Pangestu
f9f1e60b2e feat(content recap): implement crud
- create model and migration
- relation to classification
- create resource
- create enum for support option
2025-12-09 15:36:50 +07:00
Yoga Pangestu
2f2de29dd5 refactor(provider): change navigationSort fot FilamentShieldPlugin to 999 2025-12-09 11:28:45 +07:00
Yoga Pangestu
a6ea4cfdc5 feat(media monitoring): implement crud
- create enums for channel
- create model and migration
- create many to many relation to theme
- feat resource
2025-12-09 11:27:59 +07:00
Yoga Pangestu
6161126d9f refactor(theme): change label airing proof theme to theme only 2025-12-05 09:59:02 +07:00
Yoga Pangestu
e9513b7634 feat(partner): partner page 2025-12-05 09:46:47 +07:00
Yoga Pangestu
e8061bb41b fix(register): change max length username 2025-12-05 09:25:15 +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
2f8c862ee9 fix(journalist): remove $this 2025-12-05 09:09:44 +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
0341d452a0 feat(journalist): implement journalist crud and create migration and model 2025-12-05 08:53:27 +07:00
Yoga Pangestu
a697511a99 feat(media): implement media crud with custom page
- fic relation parternMedia -> partnerMedia in Company model
- feat model and migration
2025-12-04 15:28:51 +07:00
Yoga Pangestu
5dd5d8316c deat(company): add required file input 2025-12-04 15:27:44 +07:00
Yoga Pangestu
500f934deb feat(enum): create enum for media module 2025-12-04 15:27:22 +07:00
Yoga Pangestu
9aa585d8c9 feat(company): implement custom company for 'Perusahaan' role
- crud with custom page
- create model and migration for database schema
- custom view
- company relation from User model
2025-12-04 14:44:46 +07:00
Yoga Pangestu
bfb92ae794 feat(user): add must verfiy email 2025-12-04 14:27:02 +07:00
Yoga Pangestu
b5b23a254b fix(register): fix unique validation 2025-12-04 14:23:34 +07:00
Yoga Pangestu
59d5040812 feat(spatie media lib & asmit upload: install and custom path in spatie library
- publish asset and view
- create migration
2025-12-04 13:57:33 +07:00
Yoga Pangestu
68a4a29a4f feat(register): implement custom register and user must verify email 2025-11-27 11:14:29 +07:00
Yoga Pangestu
fdda62b2a5 Add filament backgrounds styles for simple layout and main components
- Introduced CSS styles for .fi-simple-layout and .fi-simple-main classes.
- Implemented background image, gradient overlays, and responsive design features.
- Added support for dark mode and backdrop filters to enhance visual aesthetics.
2025-11-20 10:16:45 +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
Yoga Pangestu
3b3a19131c feat: add AiringProofTheme resource with management pages and migration for airing_proof_themes table 2025-11-19 16:26:56 +07:00
Yoga Pangestu
af6ad20122 feat: add Department resource with management pages and migration for departments table 2025-11-19 16:18:35 +07:00
Yoga Pangestu
061a87dad9 feat: add Location and SubLocation resources with management pages and migrations for locations and sub_locations tables 2025-11-19 15:50:45 +07:00
Yoga Pangestu
d2082806c7 feat: add SubClassification resource with management pages and migration for sub_classifications table 2025-11-19 15:41:41 +07:00
Yoga Pangestu
cb4c76562d feat: add Classification resource with management pages and migration for classifications table 2025-11-19 15:28:27 +07:00
Yoga Pangestu
dd368e3c48 feat: custom login 2025-11-19 14:52:07 +07:00
Yoga Pangestu
c9e012e387 feat(trait): add WithComment and Withvalue for enum utils 2025-10-24 08:29:22 +07:00
Yoga Pangestu
bcc442a00b feat(enum): add IsActive enum 2025-10-24 08:28:56 +07:00
Yoga Pangestu
ee7e62ebd8 feat: install filament and configure panel 2025-10-24 08:25:10 +07:00
Yoga Pangestu
aaa16df01f initial commit 2025-10-24 07:58:05 +07:00