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

Typography user show #8140

Merged
merged 4 commits into from Aug 26, 2019
Merged

Conversation

DavidKang
Copy link
Contributor

@DavidKang DavidKang commented Aug 20, 2019

We applied some changes regarding the contrast in the username. Apart from that, we grouped the email with the other elements at the bottom.

Before

Screenshot_2019-08-20 Home of Admin(1)

After

Screenshot_2019-08-23 Home of Admin(2)

Beta Program Tooltip:
Screenshot_2019-08-23 Home of Admin(5)

We applied some changes regarding the contrast in the username. Apart
from that, we grouped the email with the other elements at the bottom.
@DavidKang DavidKang added the Frontend Things related to the OBS RoR app label Aug 20, 2019
Copy link
Contributor

@dmarcoux dmarcoux left a comment

Choose a reason for hiding this comment

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

I suggest leaving the email where it was. It's part of a user's details so it should be with the name, login and roles. It is also pushed down if a user is part of many groups.

@saraycp
Copy link
Contributor

saraycp commented Aug 21, 2019

@hennevogel @dmarcoux @DavidKang An alternative for the user's info area could be:

Screenshot-2019-8-21 Home of Admin(1)

I simplified the beta stuff using only one switch instead of a link and a badget.

I added a new commit that can be squashed after review.

@DavidKang
Copy link
Contributor Author

@hennevogel, what about this approach, regarding the "beta program"
Screenshot_2019-08-23 Home of Admin

@hennevogel
Copy link
Member

@DavidKang awesome

@DavidKang DavidKang force-pushed the typography-user-show branch 3 times, most recently from 56bd7b5 to 5a39f08 Compare August 23, 2019 11:56
@hennevogel hennevogel added the review-app Apply this label if you want a review app started label Aug 23, 2019
@obs-bot
Copy link
Collaborator

obs-bot commented Aug 23, 2019

Review app will appear here: http://obs-reviewlab.opensuse.org/davidkang-typography-user-show

Copy link
Member

@hennevogel hennevogel left a comment

Choose a reason for hiding this comment

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

The switch isn't working like we defined in our patterns.

@saraycp saraycp force-pushed the typography-user-show branch 3 times, most recently from fe8597b to 1e3ddd1 Compare August 26, 2019 15:57
= check_box_tag('user[in_beta]', !user.in_beta, user.in_beta, class: 'custom-control-input', id: 'beta-switch')
= label_tag 'Public Beta Program', nil, class: 'custom-control-label', for: 'beta-switch'
= hidden_field_tag('user[login]', user.login)
%i.fa.fa-question-circle.text-info{ data: { placement: 'top', toggle: 'popover', html: 'true',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
%i.fa.fa-question-circle.text-info{ data: { placement: 'top', toggle: 'popover', html: 'true',
%i.fa.fa-question-circle.text-info{ data: { placement: 'top', toggle: 'popover', html: 'true',
content: 'In our <strong>beta program</strong> you can try ' +
'the latest features we develop, so you can give us feedback before we release them.' } }

saraycp and others added 2 commits August 26, 2019 19:06
Co-authored-by: David Kang <dkang@suse.com>
Co-authored-by: Lukas Krause <lkrause@suse.de>
@saraycp saraycp dismissed hennevogel’s stale review August 26, 2019 19:22

It was approved except for the text, which is already updated

@saraycp saraycp merged commit 59b7849 into openSUSE:master Aug 26, 2019
@saraycp saraycp deleted the typography-user-show branch August 26, 2019 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app review-app Apply this label if you want a review app started
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants