Looking for advice: Creating custom page with multiple tabs + resource tables
What am I trying to do?Create a custom page that will display some tables for multiple resources. Similar to how you can have a relationship and on the
ViewModel
page have multiple tabs that just show the has many relationships
with unique tables.
I am looking to do the same thing, but with not having a relationship to anything specific.
Why am I trying to do this?Creating a project management dashboard, and would like to have the first place I view act like a global inbox. Would like to have tabs for - submitted tasks for view - submitted time records for approval - client workspaces that are about to expire - tasks with unread messages or events
What do I need help with?Honestly just need some direction on how to go about this, I don't need the full answer. Any advice is appreciated. I keep going through the docs and got most of the dashboard finished, but genuinely blanking on how to go about this. This is my first filament app, and I probably started it 4-5 times from scratch this year haha Trying to avoid creating a full custom livewire page, wondering if there is a way to use the really nice filament approach to make such a custom page.
Solution:Jump to solution
just needted to add
->contained(false)
Found it here for future people
https://filamentphp.com/docs/3.x/infolists/layout/tabs#removing-the-styled-container...8 Replies
If this is something way to advanced for somone new to filament to do (5 months experiance) please let me know as well, so i can try other solutions. If I am over my heado n this
I created a screenshot of what i want, just takign a screenshot of a relationsimp manager from workspace and adding it on the inbox page. That's really alli want to setup
If it helps lol fresh page created again
In theory surely you can use a filament form, which loads in custom livewire components each one being a table? So you build the tabs and the tab fields would be a view which renders the livewire component?
🤔 im going to tinker with that now
I just tried making a INboxResource thinking i could get around that lol and add relationships to it
@toeknee this actually worked out pretty well, thanks bud
Trying it out with infolsits if it had any diffrences, trying to get the regular tabs style
Solution
just needted to add
->contained(false)
Found it here for future people
https://filamentphp.com/docs/3.x/infolists/layout/tabs#removing-the-styled-containerinbox page
Inbox blade
active tasks table
@toeknee tytyty for the advice, i was so lost on this for to long lol
Just somethign as simple as pointing that out helped so much haha