-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Move users management to multi line #17239
Move users management to multi line #17239
Conversation
Looks good to me, I know there's a 'no uppercase' policy @jancborchardt :) but I think that it provides some nice hierarchy here. An alternative to that could be increasing the font size. |
Hehe, so the point is that the focus should not be on the table headings, but on the content. That is why they were lighter than the content text. The policy and the design does not come out of thin air. ;) Uppercase text is quite bad for legibility as well as accessibility, and we shouldn’t start using it here on an otherwise unrelated change, especially not in table headings which are not a point of focus. :) @GretaD could you change the headings to normal case, and a color like |
90991aa
to
433dd70
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased and cleaned up :)
- the menu on the end is not aligned anymore :)
- Menu not vertically centered
- we should not show the password column if it's not in edit mode as nothing is displayed :)
- we can hide the userid when editing so only the displayname (editable) is shown in the middle
- Some slight mislignment of the multiselects
- The quota bar doesn't have the tooltip with details like it had before (in readonly mode)
Otherwise great work!! It's looking very clean and much more understandable :)
👍
autocorrect="off" | ||
autocapitalize="off" | ||
spellcheck="false"> | ||
<input |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- the inputs submit are not shown anymore :(
They should still be shown inline and trigger a save :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added back, can you please tell me if its ok now?
@@ -191,6 +214,11 @@ | |||
</div> | |||
<div class="userActions"> | |||
<div v-if="OC.currentUser !== user.id && user.id !== 'admin' && !loading.all" class="toggleUserActions"> | |||
<Actions> | |||
<ActionButton icon="icon-checkmark" @click="editing = false"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It just toggle the editing, it doesn't "save", so the text should be something else :)
To save a property you still need to manually click the submit button next to the input you're changing (the multiselects automatically save on change)
Additionally, pressing escape should cancel the editing I think, but that is an additional task ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added "Done" is it better as an option?
computed: { | ||
userGroupsLabels() { | ||
return this.userGroups | ||
.map((groupObject) => groupObject.name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! 👍
f0218b0
to
18f777c
Compare
@skjnldsv hey, we were discussing yesterday with Frank and Arthur about the "User Backend" column. Backend is very technical, should we rename it something like Local maybe, instead of Database? Or something else, less technical. |
I think it's hidden by default in the bottom left settings ;) |
i meant database not backend :) user backend is fine. the database we were discussing to call it smth like Local user or smth |
Yes, it's the "user backend" (database, ldap...) It's hidden by default |
To answer your question: Yes, changing the label from "Database" to "Local" seems good! :) |
Ah, sorry I missed your point @GretaD 🙇♀️ |
50f2f99
to
c215919
Compare
efc9432
to
375eb3e
Compare
hopefully we should be able to get this in yes ;) |
afe2924
to
c9d7a26
Compare
And I open the User settings | ||
And I see that the list of users contains the user user0 | ||
# disabled because we need the TAB patch: | ||
Scenario: assign user to a group |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't use the automated tabs option of phpstorm 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😭
Removing it its not that user friendly since you have to wonder where to find the password to change it. We can add a placeholder or text to say smth like " click edit button to change password" or smth
Its
This is fixed, can you please check it out again, i cannot reproduce it anymore.
Yes, thats right, weird bug after the last changes pushed by @skjnldsv, will see whats wrong.
only for mobile, otherwise its fine, you dont need to scroll
this is also fixed, please recheck. |
2941ccd
to
7208c16
Compare
0fcbf03
to
5f3874a
Compare
Signed-off-by: Greta Doci <gretadoci@gmail.com>
5f3874a
to
c864bc8
Compare
All rebased and ready to go. Please review! |
CI all greeeeennn yoohooo |
fix #17208
The user management used to be like this:
Now it looks like this:
This version is in read mode. The toggle to edit the display name will be added with another patch.
@nextcloud/designers what do you think? Any other suggestions related to design?