Custom Dashboard Not Working
I followed the documentation https://filamentphp.com/docs/3.x/panels/dashboard#customizing-the-dashboard-page on how to create a new dashboard.php file and remove the dashboard class from my PanelProvider, but when I browse to that panel, all I get are 302 redirects constantly until chrome calls it quits with TOO_MANY_REDIRECTS
Not sure where to start here..
Solution:Jump to solution
You didn't register the page. The page is located in
App\Filament\Pages
and the auto-discovery is set to App\Filament\UserPanel\Pages
4 Replies
Please share some code. Panel config and maybe your custom dashboard?
Yep sorry!
UserPanelPanelProvider (great name)
https://gist.github.com/tommmoe/ea910227c3e44072139ed532b9b565f3
app\Filament\Pages\Dashboard.php
<?php
namespace App\Filament\Pages;
class Dashboard extends \Filament\Pages\Dashboard
{
// ...
}
Solution
You didn't register the page. The page is located in
App\Filament\Pages
and the auto-discovery is set to App\Filament\UserPanel\Pages
Of course! sorry, my first time making a new panel.. Thanks!