Opened 6 months ago

Last modified 6 months ago

#35475 closed Cleanup/optimization

In admin sidebar, hide empty app headers — at Version 1

Reported by: Alex Coates Owned by: Alex Coates
Component: contrib.admin Version: dev
Severity: Normal Keywords: sidebar
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Alex Coates)

In the admin sidebar, when a filter is applied, app headers, that don't have any matching models, are still visible.
In project with a lot of apps, these app titles can consume all vertical space, leaving relevant models out of sight,
or just clutter the sidebar.



To improve user experience, I suggest that the headers for apps, that have no remaining models, should be hidden:


Change History (4)

by Alex Coates, 6 months ago

Attachment: all-models.png added

by Alex Coates, 6 months ago

Attachment: empty-app.png added

by Alex Coates, 6 months ago

Attachment: proper.png added

comment:1 by Alex Coates, 6 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top