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:Jump to 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 π
3 Replies
I would just use session set in a filament form, then session getters within the widgets for that view.
Good old prestashop legacy there.
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
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 π