--
Ticket URL: <https://code.djangoproject.com/ticket/27471>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "screenshot.png" added.
* has_patch: 1 => 0
* stage: Unreviewed => Accepted
Comment:
Sure, it was proposed in
wiki:DjangoDesign#Collapsefiltersinchangelistsidebar:
Filter options take of a lot of vertical space in the changelist
sidebar. This makes it difficult to use fields with lots of options as
filters, or to use more than a few fields as filters. This could be solved
by adding an option to display filters with more than a specified number
of options as a select element instead of in a list. (WM)
#21183 is a related ticket about collapsing the entire sidebar.
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:1>
* needs_docs: 0 => 1
* has_patch: 0 => 1
* needs_tests: 0 => 1
Comment:
[https://github.com/django/django/pull/7538 PR] (without tests or
documentation updates -- some screenshots need to be updated, for
example).
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:2>
* owner: nobody => Shiv K Sah
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:3>
* owner: Shiv K Sah => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:4>
* cc: Carlton Gibson (added)
Comment:
Related to the #21183 which is about toggling specific filters, not the
entire filter block. I'm not sure we need both 🤔.
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:5>
* owner: (none) => Marcelo Galigniana
* status: new => assigned
* has_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:6>
* has_patch: 0 => 1
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:7>
* needs_better_patch: 0 => 1
* needs_docs: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:8>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:9>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:10>
* needs_better_patch: 1 => 0
Comment:
Here I add the 2nd approach [https://github.com/django/django/pull/15424
PR] using [https://developer.mozilla.org/en-
US/docs/Web/HTML/Element/summary summary/details elements]
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:11>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:12>
* needs_better_patch: 1 => 0
* ui_ux: 1 => 0
Comment:
The disclosure element was re-styled and persistence logic too!
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:13>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:14>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:15>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"27aa7035f57f0db30b6632e4274e18b430906799" 27aa7035]:
{{{
#!CommitTicketReference repository=""
revision="27aa7035f57f0db30b6632e4274e18b430906799"
Fixed #27471 -- Made admin's filter choices collapsable.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:16>
Comment (by GitHub <noreply@…>):
In [changeset:"4a72da71001f154ea60906a2f74898d32b7322a7" 4a72da71]:
{{{
#!CommitTicketReference repository=""
revision="4a72da71001f154ea60906a2f74898d32b7322a7"
Refs #27471 -- Made admin's filter choice arrows use cursor pointers.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27471#comment:17>