Resource Structure

Hi all. Just wondered what the best way to approach this would be: I am going to have a number of related resources, so say Documents, then DocumentStatuses and DocumentCategories etc. I’ve looked into Clusters but I don’t like the way the navigation takes up more screen space - I’d rather it was stacked. So I’ve created parents in the navigation which seems to work well enough. My folder structure is then everything grouped is moved down a level, so App\Filament\Resources\Documents instead of App\Filament\Resources, to keep the grouping and stop the top folder getting too busy. Does that sound a suitable solution? Has anyone got a better way to structure something like this?
3 Replies
LeandroFerreira
LeandroFerreira6mo ago
You can also use clusters with subNavigationPosition Top
No description
Rajunda
Rajunda6mo ago
I've put SubNavigationPosition but why my clusters still in sidebar mode? is it because it's resources not pages?
No description
No description
Vp
Vp6mo ago
You have to put inside resource list (inside cluster), not on cluster itself.. if you have 3 resource then you need to add on those 3 lists If it's a page (not resource) then inside the page
Want results from more Discord servers?
Add your server