Commit Graph

33 Commits

Author SHA1 Message Date
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
968af2c1c7 feat: add default names for action classes to improve readability and consistency 2026-04-08 14:37:10 +07:00
Yoga Pangestu
ae46b93b32 refactor: streamline Cooperation resource by consolidating partner media queries and enhancing infolist structure for improved maintainability 2026-04-08 10:59:52 +07:00
Yoga Pangestu
a996fd6de2 refactor: update column labels for improved clarity and consistency across multiple resources 2026-04-07 14:40:26 +07:00
Yoga Pangestu
2a82afca1b refactor: update labels for various fields across multiple resources for clarity and consistency 2026-04-07 14:16:22 +07:00
Yoga Pangestu
745b6d21be refactor: implement key-based retrieval for empty state headings in Filament resources to enhance localization and maintainability 2026-04-06 09:45:09 +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
550d040834 feat: Introduce RowIndexColumn for consistent row indexing across various Filament resource tables. 2026-03-17 14:50:23 +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
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
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
c4347f980e feat: Conditionally render cooperation table filters based on user role and set the status filter to non-native. 2026-01-30 15:21:10 +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
ebd748fe83 feat: Enhance table filter UI by removing default date type selection, setting filter layout above content, and standardizing date/select input styles. 2026-01-30 14:50:22 +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
2e80c19c19 feat: Implement advanced filtering and Excel export functionality for Cooperation, Issue Management, Media Monitoring, and Content Recap tables. 2026-01-29 13:22:57 +07:00
Yoga Pangestu
3ba104c1a1 refactor: Replace hardcoded role checks with RoleEnum for consistency across cooperation and journalist actions 2026-01-19 10:48:44 +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
7915e1ce38 feat(cooperation): auto reject when media not responding 2026-01-14 10:41:08 +07:00
Yoga Pangestu
61238444c1 fix: change default action to cheerful action 2026-01-14 10:16:40 +07:00
Yoga Pangestu
c397ff3c55 fix: change name action to camel case 2026-01-13 08:22:33 +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
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
2b49688f8f feat: Enhance cooperation proposal management with media handling and improved infolist display
- Removed debug statement from CreateCooperation.php.
- Updated CooperationProposalRelationManager to include a detailed infolist schema with media and status information.
- Improved proposal creation logic in CooperationsTable to handle proposal attachments and store them in the media library.
- Implemented media handling in CooperationProposal model for better integration with file uploads.
2026-01-12 10:33:47 +07:00
Yoga Pangestu
6265410fb0 feat: Refactor media handling and improve file upload configurations in Cooperation and Journalist resources 2026-01-09 15:00:36 +07:00
Yoga Pangestu
7e1c688c78 feat: Enhance cooperation management with proposal template handling and media uploads 2026-01-09 12:40:50 +07:00
Yoga Pangestu
825c1b210c style: Apply minor formatting adjustments to anonymous function syntax and string concatenations. 2025-12-16 14:22:06 +07:00
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
c7a72a169e feat: implement comprehensive cooperation management module with models, migrations, and Filament resources 2025-12-16 12:37:53 +07:00