F
Filamentβ€’4w ago
Pede

Loading indicator on record change

Is there a way to show a loading view when I load a diffrent id. Like when i change from: https://demo.filamentphp.com/shop/orders/1/edit to https://demo.filamentphp.com/shop/orders/2/edit and it takes more than 1 sec I want to show a "Please wait while data is loading" and a spinner. Thank you in advance!
2 Replies
Dennis Koch
Dennis Kochβ€’4w ago
I'd rather check why your app takes more than 1 second to load. Do you have OPCache disabled? Btw: I think people are used to more loading time than 1sec. You could probably inject some overlay and spinner on pageunload via JS
Pede
PedeOPβ€’4w ago
Thank you for a quick response πŸ˜€ I'm using Laravel vapor so I think OPCache should be ok. Checked my code to reduce the loading time. Found a few places to improve however I want a loading spinner for the user experience on slower loads.
Want results from more Discord servers?
Add your server