backstage/community-plugins

๐Ÿš€ rbac: Improve user and group search and selection on "Create Role" page.

Opened this issue ยท 2 comments

Plugin Name

rbac

๐Ÿ”– Feature description

Improve the user and group search and selection on the Create Role page to not fill the search bar once a user or group is selected. Instead, clear the search bar when a user or group is selected, or do not edit the search bar at all.

๐ŸŽค Context

Currently, when creating a role, the second tab is for adding users and groups. To add users or groups, you must search for them in the text search, this will also reveal a suggestions dropdown for existing users and groups.

The problem is once a user or group is selected, the search bar populates with that string. This is a bad user experience because now I must manually clear out the search field and search my next user to add them. Since this is the only way to add users or groups, for each user or group I would like to add, I have to select the user or group, and then manually clear out the search bar before selecting the next.

Ideally, selecting a user or group would not automatically populate the search bar and therefore remove the drop down suggestions, that way I can add multiple users and groups quickly simply by selecting the users and groups I would like to add.

Screenshots:

  1. Begin adding groups and users
image
  1. Select first group or user. The search bar is now filled and the suggested drop down disappears. I must clear out the search bar to add the next group or user.
image

โœŒ๏ธ Possible Implementation

No response

๐Ÿ‘€ Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Hi @mcintoac-aws,

thanks for the issue. If you like please open a PR to clear out the search field. You can ping @divyanshiGupta or me for a review.

But I like to share that we're working already on the next iteration of that page. Maybe @divyanshiGupta or @ShiranHi can share some more details on that.

Thanks @mcintoac-aws for opening this ticket. We are working with our UX team to solve this in the best possible way and we have a story for it already. Let us know if you have any questions.