Skip to content

Add new search/filter categories for Admin->Users

🎨 Figma working file

Problem

Currently there is a search field in the Admin->Users section, however it only appears to allow for Search:

  • Name
  • email
  • username

The use of tabs as filter categories feels like bad UX, rather than utilizing a proper filtering logic. Should tabs be reserved for User types.

  • Active (seats?)
  • Admins
  • 2fa state
  • External
  • Blocked
  • Banned
  • Pending
  • Deactivated
  • with out projects

Screen_Shot_2020-08-18_at_12.36.11_PM

Update from Oct-2022

The problem has gotten much worse, with numerous tabs causing a scroll behavior.

first half second half
Screen_Shot_2022-10-19_at_12.23.58_PM Screen_Shot_2022-10-19_at_12.24.09_PM

Proposal

  • move Cohorts to its own sub section of Users
  • Tabs: Active, Pending approval
  • Dropdown filters:
    • Admin: Yes
    • LDAP User: Yes
    • With out projects: Yes
    • 2FA Enabled: Yes
    • External User: Yes

    • Deactivated
    • Blocked
    • Banned
  • Can search by name, email or username

Users_-_Tabs-2_sections

Caveats:

  • These filter bar will only show on the Active tab. See #238183 (comment 416216604) for more info
  • Currently the backend only supports one filter at a time. Once a user selects a filter they will not be able to select another filter. We will, however, be able to search and use one filter at the same time.
  • As far as I know the "Pending" tab has not been implemented yet, not planning on having this be part of the MVC.

Estimation

Based on the above I am going to weight this a 5 because there are going to be a number of feature specs to update.

This is what I am thinking for a breakdown

This issue - weighted a 3
Issue dedicated to updating feature specs - weighted a 2

I will create an issue dedicated to updating the feature specs. This issue will list out which specs need to be updated.

These two issues should be scheduled in the same milestone.

Edited by Daniel Mora