Opened 7 months ago

Last modified 7 months ago

#35475 closed Cleanup/optimization

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

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

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 (3)

by Alex Coates, 7 months ago

Attachment: all-models.png added

by Alex Coates, 7 months ago

Attachment: empty-app.png added

by Alex Coates, 7 months ago

Attachment: proper.png added
Note: See TracTickets for help on using tickets.
Back to Top