Skip to content

Hide tables in Users admin page if empty

Caleb Cooper requested to merge calebcooper-hide-empty-tables-admin-users into master

What does this MR do and why?

This MR hides tabs that include no users to avoid requiring a scrollbar to see all tabs in cases where not all categories are used.

Comes from a large MR: !77593 (closed).

Screenshots or screen recordings

Current view:

Screenshot_2022-01-11_17-57-27

Proposed view:

Screenshot_2022-01-11_17-29-09

Proposed view after an unused tab (blocked) is removed:

Screenshot_2022-01-11_17-29-51

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Daniel Mora

Merge request reports