Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filament 3 upgrade #15

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Filament 3 upgrade #15

merged 1 commit into from
Aug 4, 2023

Conversation

andreia
Copy link
Member

@andreia andreia commented Aug 3, 2023

No description provided.

@what-the-diff
Copy link

what-the-diff bot commented Aug 3, 2023

PR Summary

  • Improved Documentation and Compatibility
    Updated the README with information on compatibility with a newer version of Filament, i.e., Filament 2.x.

  • System Requirement Update
    Modified the composer.json file to work with PHP version 8.1 and stable version 3.0 of Filament.

  • Service Provider Upgrade
    Updated the FilamentAuditingServiceProvider.php file to make the software extend better functionality by using PackageServiceProvider instead of the older PluginServiceProvider.

  • Changes in the Audit Relation Manager
    Several updates have been made to the AuditsRelationManager.php file to enhance the application's functionality:

    • Switched the used module for table management to Filament\Tables\Table from Filament\Resources\Table, providing improved handling and management of table data.
    • Added ability for canViewForRecord and getTitle methods to handle page class.
    • Efficiency enhancements by removing the getTableQuery method.
    • Made the table method an instance method instead of a static method, which allows it to have a state and hence store information.
    • Improvement in query manipulation technique in the table method.
    • Update to the visual representation of the restore action with a new icon.
    • Enhanced the dispatching method in the restore action.

@andreia andreia requested a review from swilla August 3, 2023 22:34
@andreia andreia merged commit 442f07e into main Aug 4, 2023
@delete-merged-branch delete-merged-branch bot deleted the upgrade_to_filament3 branch August 4, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants