Closed Z3d0X closed 4 months ago
Modification to the FilamentFabricatorPlugin.php file
The central code file of our plugin, FilamentFabricatorPlugin.php
, has been updated.
Removal of an unnecessary import
We've removed an import, Z3d0X\FilamentFabricator\Resources\PageResource
, which was not necessary for our code and was cluttering the file.
Streamlining resource registration
The register
function has been modified. Now it uses a tool called array_filter
. This change makes our resource registration process more efficient.
Auto-registration of the FilamentPeekPlugin
We've added a small program that checks if FilamentPeekPlugin
is registered or not. If it's not registered, the program will register it automatically. This feature ensures that all required tools are ready for use without the need for manual checking.
No additional components or files In this update, we've only focused on refining our existing code. No new files or components were introduced. This implies that there would be no need for learning or adjusting to new components, ensuring that our team can continue to work without disruption.
Potential fix for #131
explicitly setting
null
forpage-resource
in config file, will no longer automatically register the page-resource