F
Filamentβ€’17mo ago
benzo

Dashboard with filters

What would be the best filament way to build an analytic/sales dashboard with a global date range filter? The dashboard is mainly based on one table records, so resource page I guess? Is there a way to reuse the table filter with date-range filament plugin? Or a custom select input form using query params? Something like: https://www.belikesoftware.com/wp-content/uploads/2017/02/dashboard-prestashop.png
Solution:
Ahh no problem, yeah that's how I would do it. You only need a resource when you are CRUD really. Otheriwse widgets are your friend πŸ™‚
Jump to solution
3 Replies
toeknee
toekneeβ€’17mo ago
I would just use session set in a filament form, then session getters within the widgets for that view. Good old prestashop legacy there.
benzo
benzoOPβ€’17mo ago
Ok, so not even a resource page, basic custom page with widgets πŸ‘πŸΌ Yeah a bit old, I took the first example I had in mind corresponding to what I would like to build, different data but concept is basically the same!
Solution
toeknee
toekneeβ€’17mo ago
Ahh no problem, yeah that's how I would do it. You only need a resource when you are CRUD really. Otheriwse widgets are your friend πŸ™‚
Want results from more Discord servers?
Add your server