Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't Display UserInfo on Userlist Avatars #2002

Merged

Conversation

rdig
Copy link
Member

@rdig rdig commented Jan 26, 2020

Description

This PR disables the UserInfo tooltip on items displayed via a UserList in the admin panel. This was due to both actions firing at the same time: showing userinfo and opening the permission modal resulting in a broken UI state.

While I was at it, I also added a simple logic check to display the parent (root) inheritance description text, only if a different domain that root is selected.

Changes

  • UserListItem don't show UserInfo on avatars
  • Permissions only show parent inheritance tip on non-root domains

Screenshots

UserInfo still available on the permissions edit modal:
Screenshot from 2020-01-26 15-57-01

Parent inheritance tip only shown on non-root domain:
Screenshot from 2020-01-26 15-56-53
Screenshot from 2020-01-26 15-57-20

Resolves #1913

@rdig rdig self-assigned this Jan 26, 2020
@rdig rdig marked this pull request as ready for review January 26, 2020 14:12
@rdig rdig requested review from chmanie and ceolson01 January 26, 2020 14:12
}}
/>
</p>
{selectedDomain && selectedDomain.id !== ROOT_DOMAIN && (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@chmanie chmanie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fair!

@rdig rdig merged commit 0bcb602 into master Jan 27, 2020
@rdig rdig deleted the fix/1913-prevent-user-info-showing-up-in-permissions-list branch January 27, 2020 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Both the roll modal and profile popover open when you click on profile image in permissions list
2 participants