EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

Non-modal, permanent sidebar filters user space prototype. Includes example code.

Open klemens-u opened this issue 1 year ago • 2 comments

I'm searching for help to develop non-modal filters for Easyadmin. A current project of mine requires to have the filters directly in a permanent sidebar on the list page. (Like in sf1 admin, are you that old to remember? ;-)).

I know this request was already declared as non-fix in #4880. Still, anyone who worked on this? Anyone have any hints where to start?

I think this feature could benefit power users of Easyadmin a lot. You know repeated administration where every click counts.

Thank you!

klemens-u avatar Mar 01 '24 07:03 klemens-u

I hacked together a prototype: https://github.com/klemens-u/easyadminSidebarFilters

Unfortunately, Easyadmin currently supports filters only within a popup (modal). This approach is not particularly user-friendly and can be quite inefficient for daily interaction with the UI.

I believe that a similar solution could be integrated into Easyadmin itself with relative ease, possibly through a straightforward configuration option in the DashboardController.

If you're interested in exploring this idea further, please consider leave a comment.

klemens-u avatar Mar 02 '24 17:03 klemens-u

Thx @klemens-u - I was able to rework your https://github.com/klemens-u/easyadminSidebarFilters to display as a collapsible bar across the top of the EA index view:

Screen Shot 2024-06-26 at 1 08 33 PM

For anyone looking to rework the EA filters, @klemens-u 's repo is a great way to start.

nbennett25 avatar Jun 26 '24 17:06 nbennett25