F
Filament5mo ago
dasK_

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:
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
Jump to solution
4 Replies
Dennis Koch
Dennis Koch5mo ago
Please share some code. Panel config and maybe your custom dashboard?
dasK_
dasK_5mo ago
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 { // ... }
Gist
gist:ea910227c3e44072139ed532b9b565f3
GitHub Gist: instantly share code, notes, and snippets.
Solution
Dennis Koch
Dennis Koch5mo ago
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
dasK_
dasK_5mo ago
Of course! sorry, my first time making a new panel.. Thanks!