Global Loading Indicator
- Published: 09 Apr 2024 Updated: 04 May 2024
provide a loading indicator for long running operations
Why?
Certain operations in Filament may experience prolonged loading times, for example when applying filters to a table. The following code snippet introduces a renderhook to the footer, coupled with an Alpine listener to display a loading message.
Ensure to set the timeout to a sufficiently high value to prevent the message from appearing unnecessarily for small requests.
Related Tricks:
add any link or actions to the topbar
you can disable breadcrumbs inside a resource class
Bring the sticky actions back form filament v2
A starting point for testing filamentPHP with tenant aware resources.
set any page like List Or view page as the main page instead of using a dashboard page in filamentPHP