#27471 closed New feature (fixed)
Make admin's list_filter choices collapsable
Reported by: | Greg McCoy | Owned by: | Marcelo Galigniana |
---|---|---|---|
Component: | contrib.admin | Version: | 1.10 |
Severity: | Normal | Keywords: | filter admin collaspe |
Cc: | Carlton Gibson | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I made a change to my site to add a toggle collapse on the filters in the admin page. Is this something we'd like in Django by default?
Attachments (1)
Change History (18)
by , 8 years ago
Attachment: | screenshot.png added |
---|
comment:1 by , 8 years ago
Has patch: | unset |
---|---|
Summary: | Collaspable filters in Admin → Make admin's list_filter choices collapsable |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 8 years ago
Has patch: | set |
---|---|
Needs documentation: | set |
Needs tests: | set |
PR (without tests or documentation updates -- some screenshots need to be updated, for example).
comment:3 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 3 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:5 by , 3 years ago
Cc: | added |
---|
Related to the #21183 which is about toggling specific filters, not the entire filter block. I'm not sure we need both 🤔.
comment:6 by , 3 years ago
Has patch: | unset |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:7 by , 3 years ago
Has patch: | set |
---|---|
Needs tests: | unset |
comment:8 by , 3 years ago
Needs documentation: | unset |
---|---|
Patch needs improvement: | set |
comment:9 by , 3 years ago
Patch needs improvement: | unset |
---|
comment:10 by , 3 years ago
Patch needs improvement: | set |
---|
comment:11 by , 3 years ago
Patch needs improvement: | unset |
---|
Here I add the 2nd approach PR using summary/details elements
comment:12 by , 3 years ago
Patch needs improvement: | set |
---|
comment:13 by , 3 years ago
Patch needs improvement: | unset |
---|---|
UI/UX: | unset |
The disclosure element was re-styled and persistence logic too!
Version 0, edited 3 years ago by (next)
comment:14 by , 3 years ago
Patch needs improvement: | set |
---|
comment:15 by , 3 years ago
Patch needs improvement: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
Sure, it was proposed in wiki:DjangoDesign#Collapsefiltersinchangelistsidebar:
#21183 is a related ticket about collapsing the entire sidebar.