[Django] #35471: Make the admin search filter optional in nav sidebar?

17 views
Skip to first unread message

Django

unread,
May 21, 2024, 8:53:10 PM5/21/24
to django-...@googlegroups.com
#35471: Make the admin search filter optional in nav sidebar?
-----------------------------------------+------------------------
Reporter: Ryu | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-----------------------------------------+------------------------
Filtering content on navigation sidebar is useful if there is a lot of
content, but unnecessary if there is little content.
We also received inquiries about users mistakenly typing in the search
field and the content was lost.
We need the ability to make the filtering optional.

== Proposal

Add AdminSite.enable_nav_sidebar_filter and if it is false, hide the
search field.
--
Ticket URL: <https://code.djangoproject.com/ticket/35471>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 21, 2024, 8:54:58 PM5/21/24
to django-...@googlegroups.com
#35471: Make the admin search filter optional in nav sidebar?
-------------------------------+--------------------------------------
Reporter: Ryu | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by Ryu):

* Attachment "django_1.jpg" added.

Django

unread,
May 21, 2024, 8:57:18 PM5/21/24
to django-...@googlegroups.com
#35471: Make the admin search filter optional in nav sidebar?
-------------------------------+--------------------------------------
Reporter: Ryu | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Description changed by Ryu:

Old description:

> Filtering content on navigation sidebar is useful if there is a lot of
> content, but unnecessary if there is little content.
> We also received inquiries about users mistakenly typing in the search
> field and the content was lost.
> We need the ability to make the filtering optional.
>
> == Proposal
>
> Add AdminSite.enable_nav_sidebar_filter and if it is false, hide the
> search field.

New description:

[[Image(ticket:35471:django_1.jpg)]]

Filtering content on navigation sidebar is useful if there is a lot of
content, but unnecessary if there is little content.
We also received inquiries about users mistakenly typing in the search
field and the content was lost.
We need the ability to make the filtering optional.


== Proposal

Add AdminSite.enable_nav_sidebar_filter and if it is false, hide the
search field.

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35471#comment:1>

Django

unread,
May 21, 2024, 9:00:18 PM5/21/24
to django-...@googlegroups.com
#35471: Make the admin search filter optional in nav sidebar?
-------------------------------+--------------------------------------
Reporter: Ryu | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Description changed by Ryu:

Old description:

> [[Image(ticket:35471:django_1.jpg)]]
>
> Filtering content on navigation sidebar is useful if there is a lot of
> content, but unnecessary if there is little content.
> We also received inquiries about users mistakenly typing in the search
> field and the content was lost.
> We need the ability to make the filtering optional.
>

> == Proposal
>
> Add AdminSite.enable_nav_sidebar_filter and if it is false, hide the
> search field.

New description:

[[Image(ticket:35471:django_1.jpg,50%)]]

Filtering content on navigation sidebar is useful if there is a lot of
content, but unnecessary if there is little content.
We also received inquiries about users mistakenly typing in the search
field and the content was lost.
We need the ability to make the filtering optional.


== Proposal

Add AdminSite.enable_nav_sidebar_filter and if it is false, hide the
search field.

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35471#comment:2>

Django

unread,
May 21, 2024, 9:30:42 PM5/21/24
to django-...@googlegroups.com
#35471: Make the admin search filter optional in nav sidebar?
-------------------------------+--------------------------------------
Reporter: Ryu | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Description changed by Ryu:

Old description:

> [[Image(ticket:35471:django_1.jpg,50%)]]
>
> Filtering content on navigation sidebar is useful if there is a lot of
> content, but unnecessary if there is little content.
> We also received inquiries about users mistakenly typing in the search
> field and the content was lost.
> We need the ability to make the filtering optional.
>

> == Proposal
>
> Add AdminSite.enable_nav_sidebar_filter and if it is false, hide the
> search field.

New description:

[[Image(ticket:35471:django_1.jpg,50%)]]

Filtering content on navigation sidebar is useful if there is a lot of
content, but unnecessary if there is little content.
Also, It seems that users of our service are unintentionally making inputs
into the search field. We have received inquiries from them stating that
their content has disappeared.
To avoid user confusion, an option to disable Filtering content on
navigation sidebar is needed.


== Proposal

Add AdminSite.enable_nav_sidebar_filter and if it is false, hide the
search field.

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35471#comment:3>

Django

unread,
May 22, 2024, 3:00:20 AM5/22/24
to django-...@googlegroups.com
#35471: Make the admin search filter optional in nav sidebar?
-------------------------------+--------------------------------------
Reporter: Ryu | Owner: nobody
Type: New feature | Status: closed
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by Sarah Boyce):

* resolution: => wontfix
* status: new => closed

Comment:

You can propose this on the

If you wish to do this on your project you could overwrite the template
[https://github.com/django/django/blob/main/django/contrib/admin/templates/admin/nav_sidebar.html
admin/nav_sidebar.html] to be empty, see
[https://docs.djangoproject.com/en/5.0/intro/tutorial07/#customize-the-
admin-index-page customizing the admin index page].

Otherwise, to way to request new features is to first propose and discuss
the idea with the community and gain consensus. To do that, please
consider starting a new conversation on the
[https://forum.djangoproject.com/c/internals/5 Django Forum], where you'll
reach a wider audience and likely get extra feedback.

I'll close the ticket for now, but if there is a community agreement for
the feature request, you are welcome to come back to the ticket and point
to the forum topic, so we can then re-open it. For more details, please
see [https://docs.djangoproject.com/en/stable/internals/contributing/bugs-
and-features/#requesting-features the documented guidelines for requesting
features].
--
Ticket URL: <https://code.djangoproject.com/ticket/35471#comment:4>
Reply all
Reply to author
Forward
0 new messages