Commit Graph

17 Commits

Author SHA1 Message Date
Yoga Pangestu
c3166bfdee chore: Adjust the navigation sort order for various Filament pages and resources. 2026-01-29 10:02:33 +07:00
Yoga Pangestu
2626d890a4 feat: introduce a comprehensive data change request and review system with new Filament resources, models, migrations, and actions for managing data changes. 2026-01-29 09:44:52 +07:00
Yoga Pangestu
d355af39af refactor: reorder class properties and apply minor formatting adjustments across Filament pages. 2026-01-28 08:53:33 +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
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
6574684f46 refactor: Update modal headings and descriptions for clarity, enhance date formatting, and improve user notifications in verification processes. 2026-01-19 09:40:46 +07:00
Yoga Pangestu
ab318a030b feat(notification): enhance user notifications for cooperation and verification processes
- Added detailed notifications for users and admins upon acceptance, rejection, and submission of proposals, verifications, and reports.
- Improved user experience with personalized messages and actionable links in notifications.
- Refactored notification logic across various actions to ensure consistent messaging and clarity.
- Introduced new notification titles and bodies to better reflect the status of actions taken.
2026-01-13 15:53:07 +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
9ca4e68de9 refactor: implement local scopes for enums with #[Scope] attribute across models
- Added local scopes for Enum-based fields (status, type, decision) in models: Cooperation, VerificationRequest, PartnerMedia, CooperationProposal, CooperationMedia, and VerificationReview.
- Refactored query logic in Commands, Services, and Filament Resources to use the new scopes for better readability and maintainability.
- Added specific pivot status scopes in PartnerMedia model for cleaner relationship filtering.
- Fixed incorrect Enum usage in ViewCooperation.php during the refactoring process.
- Standardized code style for closures and string concatenation in the modified files.
2026-01-12 11:14:22 +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
69c86e5d3c Refactor verification process and UI updates
- Updated JournalistResource to conditionally display actions based on user roles and verification status.
- Modified ManageJournalists page to hide header actions if verification request status is not NEED_REVISION.
- Changed CategoryResource navigation label from 'Kategori Berita' to 'Kategori'.
- Adjusted ManageCategories page to reflect the new category label and modal headings.
- Refactored Company model to change verificationRequest relationship from MorphOne to HasOne.
- Removed verificationRequest method from Journalist and PartnerMedia models.
- Updated VerificationRequest model to change verifiable relationship from MorphTo to BelongsTo.
- Introduced VerificationService to handle verification logic, including data completeness checks and submission processes.
- Created a new migration to adjust the verification_requests table structure.
- Enhanced admin verification view to display detailed verification progress and review history.
- Updated company and media forms to conditionally show the save button based on verification request status.
2026-01-08 13:55:37 +07:00
Yoga Pangestu
bd122f77b9 feat: Add navigation badge for pending verification requests and implement pending scope in VerificationRequest model 2026-01-08 09:42:40 +07:00
Yoga Pangestu
57ed5e3cda feat: Implement policy classes for Category, Contact, and Visitor with authorization methods 2026-01-08 09:11:30 +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
3760eeb00d fix: Improve Filament component behavior, update dependencies, and adjust styling. 2026-01-05 09:29:57 +07:00
Yoga Pangestu
eb72bac3cb refactor: update internal Filament navigation to use getUrl() methods and remove redundant getRedirectUrl() implementations. 2026-01-05 09:18:10 +07:00
Yoga Pangestu
b4d2ae52f0 feat: Implement a comprehensive verification system with dedicated pages, models, and UI components for companies, media, and journalists. 2025-12-22 15:00:19 +07:00