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

User management: Fix header text alignment and new user "confirm" button #11523

Merged
merged 2 commits into from
Oct 1, 2018

Conversation

jancborchardt
Copy link
Member

Before:
screenshot from 2018-10-01 22-45-16

After:
screenshot from 2018-10-01 22-44-52

Please review @nextcloud/designers @R0maNNN

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@rullzer rullzer merged commit 28eaacd into master Oct 1, 2018
@rullzer rullzer deleted the usermgmt-design branch October 1, 2018 21:31
@MorrisJobke
Copy link
Member

@jancborchardt Could you backport this to stable14?

@@ -1448,6 +1448,17 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
&#grid-header {
color: var(--color-text-maxcontrast);
z-index: 60; /* above new-user */

#headerDisplayName,
Copy link
Contributor

Choose a reason for hiding this comment

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

all of these elements also have dedicated classnames, so why use their IDs?

#headerQuota,
#headerLanguages {
/* Line up header text with column content for when there’s inputs */
padding-left: 7px;
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be padding: 7px, or at the very least, `padding: 0 7px;

Reasoning: long titles should crop at the same point as the text in the rows bellow; in case we make these titles clickable at some point in the future (for example, to make the table sortable), it would be worth having padding all around the text for easier pointing.

@@ -1529,6 +1540,9 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
}
}
&.userActions {
#newsubmit {
width: 100%;
Copy link
Contributor

Choose a reason for hiding this comment

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

this can make the button very very long. I think it should be the normal icon-button size -> 44*44px

image

Copy link
Contributor

Choose a reason for hiding this comment

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

also, as a general rule, classes should be used in CSS wherever possible.

@pixelipo
Copy link
Contributor

pixelipo commented Oct 2, 2018

Please review my comments before backporting this, @jancborchardt @MorrisJobke

@MorrisJobke
Copy link
Member

@pixelipo Thanks for the feedback 👍

@jancborchardt
Copy link
Member Author

This is not something for backporting, but will look into your comments @pixelipo – good stuff as always! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug design Design, UI, UX, etc. feature: users and groups
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants