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

Update groups on My profile to be a Label not an input #281

Merged
merged 5 commits into from
Jan 8, 2021

Conversation

ZitaNemeckova
Copy link
Member

Fixes-Issue: AAH-160

Before:

User is in groups:

Screenshot 2020-12-15 at 14 24 31

Screenshot 2020-12-15 at 14 25 34

User is not in a group:

Screenshot 2020-12-15 at 14 24 55

Screenshot 2020-12-15 at 14 25 10

After:

User is in groups:

Screenshot 2020-12-15 at 14 06 14

Screenshot 2020-12-15 at 14 06 24

User is not in a group
Screenshot 2020-12-15 at 14 08 54
Screenshot 2020-12-15 at 14 09 09

@sbuenafe-rh @fionayhlin What do you think? I'm not sure No groups looks good.

@fionayhlin
Copy link

Hi Zita! The group labels you have on the screenshots should be chips, and it looks like they're missing some padding in between. [No groups] shouldn't be a label -- maybe either leave it blank or use plain text? @sbuenafe-rh

Also, what's the super user checkbox and who gets to check/uncheck it?

@sbuenafe-rh
Copy link

@ZitaNemeckova @fionayhlin yep the [No groups] should probably be left blank.

If the super user checkbox is only read-only and no one can make any edits to this. Then we should just have labels for Super user and User

Verified

This commit was created on github.com and signed with GitHub’s verified signature. The key has expired.
@ZitaNemeckova
Copy link
Member Author

Updated version:
Screenshot 2020-12-17 at 14 36 03
Screenshot 2020-12-17 at 14 36 29
Screenshot 2020-12-17 at 14 50 59
Screenshot 2020-12-17 at 14 42 45

@sbuenafe-rh @fionayhlin Changed as suggested, please have a look. I just left plain text in Groups if there isn't any group. But I can change it if it looks bad. Thanks for review :)

@sbuenafe-rh
Copy link

@ZitaNemeckova I think removing the plain text No groups and keeping it blank will be okay. And the rest of the changes for the Super user area looks good!

Copy link
Member

@newswangerd newswangerd left a comment

Choose a reason for hiding this comment

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

LGTM if UX is happy.

@sbuenafe-rh
Copy link

@ZitaNemeckova @newswangerd LGTM

@ZitaNemeckova ZitaNemeckova merged commit 605dcef into ansible:master Jan 8, 2021
@ZitaNemeckova ZitaNemeckova deleted the update_my_profile branch January 8, 2021 14:00
@newswangerd newswangerd added the backport-4.2 This PR should be backported to stable-4.2 (1.2) label Jan 19, 2021
patchback bot pushed a commit that referenced this pull request Jan 19, 2021
* Update groups on My profile to be a Label not an input

Fixes-Issue: AAH-160

* Use chips and hide super user part from a user

* Change super user checkbox to label

* Rename super user to User type

* Show nothing when no groups

(cherry picked from commit 605dcef)
newswangerd pushed a commit that referenced this pull request Jan 20, 2021
* Update groups on My profile to be a Label not an input

Fixes-Issue: AAH-160

* Use chips and hide super user part from a user

* Change super user checkbox to label

* Rename super user to User type

* Show nothing when no groups

(cherry picked from commit 605dcef)

Co-authored-by: ZitaNemeckova <znemecko@redhat.com>
@ZitaNemeckova ZitaNemeckova added the backported-4.2 This PR has been backported to stable-4.2 (1.2) label Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-4.2 This PR should be backported to stable-4.2 (1.2) backported-4.2 This PR has been backported to stable-4.2 (1.2)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants