Commit Graph

14 Commits

Author SHA1 Message Date
Yoga Pangestu
fbb0f92b37 refactor: restrict action visibility to administrator and developer roles across cooperation and report modules 2026-04-11 15:02:13 +07:00
Yoga Pangestu
43271a82a9 refactor: remove verification status from cooperation workflow and automate transition to payment 2026-04-10 14:42:28 +07:00
Yoga Pangestu
5e545f4bea feat: allow report acceptance and rejection during assignment status 2026-04-10 13:25:43 +07:00
Yoga Pangestu
968af2c1c7 feat: add default names for action classes to improve readability and consistency 2026-04-08 14:37:10 +07:00
Yoga Pangestu
3a5ef20334 refactor: replace direct message retrieval with key-based retrieval in CheerfulNotification across various enums and Filament pages for improved localization and maintainability 2026-04-06 09:22:07 +07:00
Yoga Pangestu
0086ff50d2 feat: Introduce UxStyle enum for enhanced user experience and update modal headings and descriptions across Filament actions to utilize cheerful notifications, improving clarity and engagement. 2026-03-26 14:40:35 +07:00
Yoga Pangestu
573615c979 feat: Revamp modal headings and descriptions across Filament actions for improved user engagement and clarity, incorporating playful icons and friendly language. 2026-03-26 14:05:40 +07:00
Yoga Pangestu
938680e2cc style: Replace filled Heroicons with their outlined counterparts across various Filament resources, pages, and actions. 2026-03-17 12:44:59 +07:00
Yoga Pangestu
2d7f4ee0e8 feat: Enhance cooperation and reporting workflows with refined relationships, new payment management, and updated actions. 2026-02-02 11:56:49 +07:00
Yoga Pangestu
ad7789dd3f feat: Add a console command to simulate cooperation time, improve date validation, and refine UI texts and report creation conditions. 2026-01-19 08:23:56 +07:00
Yoga Pangestu
1d52463286 feat(cooperation): refactor workflow and implement payment system
- Refactored cooperation workflow to include manual status transitions.
- Implemented payment tracking with CooperationPayment model and PayAction.
- Updated UpdateCooperationStatusCommand for automatic assignment and verification transitions.
- Removed deprecated date columns (assignment_deadline, verification_deadline).
- Enhanced Filament UI with new actions (Complete, Proceed to Payment, Pay).
- Added CooperationSeeder for testing purposes.
2026-01-14 15:41:23 +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
c793c8e67a refactor: standardize action naming conventions and organization
- Refactor custom Filament actions into resource-specific subfolders (Cooperation, Proposal, Report).
- Standardize all action identifiers to snake_case for consistency.
- Move action identifiers directly into ::make('name') calls.
- Remove getDefaultName() from custom action classes to favor explicit naming.
- Update relation managers and resources to use the new namespaced action classes.
- Standardize closure syntax (fn) and string formatting across schemas and actions.
2026-01-12 13:20:56 +07:00