You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imagine if you are required to have a "Home" link before your "Dashboard" link in the navigation menu to get the user to the homepage of the website.
When you try to get the URL for a panel you want the dashboard url regardless of the appearance of the navigation menu.
But the current implementation gives you the first navigation item as the panel url, which is counter intuitive and I wouldn't have guessed it if I hadn't done some source diving.
Expected behavior
Panel::getUrl() should always return url('panel-id') or an explicitly customised url.
Steps to reproduce
Add a navigation item above "Dashboard" and try to get the url of the panel.
Reproduction repository (issue will be closed if this is not valid)
Package
filament/filament
Package Version
v3.2.108
Laravel Version
v11.20.0
Livewire Version
No response
PHP Version
8.3.9
Problem description
Imagine if you are required to have a "Home" link before your "Dashboard" link in the navigation menu to get the user to the homepage of the website.
When you try to get the URL for a panel you want the dashboard url regardless of the appearance of the navigation menu.
But the current implementation gives you the first navigation item as the panel url, which is counter intuitive and I wouldn't have guessed it if I hadn't done some source diving.
Expected behavior
Panel::getUrl()
should always returnurl('panel-id')
or an explicitly customised url.Steps to reproduce
Add a navigation item above "Dashboard" and try to get the url of the panel.
Reproduction repository (issue will be closed if this is not valid)
https://github.com/mokhosh/filament-dashboard-url-bug
Relevant log output
No response
Donate 💰 to fund this issue
The text was updated successfully, but these errors were encountered: