New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapsible filters in admin listings #252
Comments
@morlandi cool suggestion! |
This is similar to what I have suggested in #163! |
@smunoz-ml true, even if at UI level, having the filter collapsible to the right seems to be more complicated than having it in an absolute position above the changelist. |
I do agree on this point, partly because the django-grappelli solution is familiar to me and therefore I'm used to it, but above all because having the filters under your nose (even when collapsed they act as a placeholder), is more intuitive compared to an anonymous button. |
Whatever is easier for you @fabiocaccamo or whomever is going to implement this feature. I suggested the solution of collapsing to the right like the left menu because the left menu is already implemented and I thought that the implementation of the same feature on the right side would be easier. But @morlandi's solution also works for me! |
Sidebar collapsing would look better and be more usable than the button style in the screenshot! |
The real challenge here is to implement this without interfering too much with Django admin templates .. so the solution can survive across future Django releases ;) I am available to collaborate in the implementation perhaps with some strategic suggestions from the author @fabiocaccamo , or at the very least to test a temporary solution during development |
@morlandi if you want to work on a PR for this, I will be glad to discuss it together. I would opt for the "Grappelli" solution, it seems to me the better at UX level and also easier to develop/maintain in the long term. |
Sometime you need to display many columns in the listing,
and the horizontal space taken up by the filters results in additional horizontal scrolling which might be inconvenient.
In these situations, the possibility to (optionally) collapse the filters could help; mush like django-grappelli does:
The text was updated successfully, but these errors were encountered: