-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Ellipsize user name in top right #3273
Comments
A different approach would be the following:
|
I would agree to go avatar only in the case of a too narrow screen. |
Currently avatar will be always used when set, so why not have it also on larger screens when not set? |
I don't know. This is a good question. |
Because we don't want to placeholder be there. The placeholder is okayish, but not super perfect ;) |
We decided against this actually because then you have a colored placeholder there in the top right. And the color probably clashes with the Nextcloud blue, or theme color. That’s why we use a name. |
This is indeed a good decision. |
Thanks for explanation. Makes sense, if the colour of the placeholder avatar is random. |
What about removing the user name and put it inside the dropdown menu on narrow screen? |
Wow. Nice idea @skjnldsv 👍 I thought about something like this, where you can also change your spreed/chat online status and maybe see your quota: |
This is amazing!! 😱😱😱😍😍 |
@MariusBluem Could you work on it? 😍 PS: are you associating administrators with a rotten apple? 😱 |
I'd love to do ... bit I am really not an developer 😅😞
... I am at least not able to draw a gear 😒 |
Ahaha, so sorry! 😂 |
So, what icon should we use as the menu-opener-button? :)
|
I only can find examples that use the avatar -.- |
I'd go for a single-user icon. I mean it would duplicate with the personal menu item, but for non-admins, that is actually what the menu is for: profile (personal), help and logout. |
A single-user icon would conflict with the contacts menu-icon which will be introduced with Nextcloud 12 ... @ChristophWurst - see #3233 |
Was not aware. What if we use a non-colored avatar then? There was a issue about changing the default avatars. Maybe we have to think this through more... |
Ahahah, see #3273 (comment) @eppfel |
I was referring to that comment. Therefore I particular propose a
Or am I lost here? |
Hum, could be nice indeed! |
Sooo this is a great idea -> can you open a separate issue for it @MariusBluem? :) Because long usernames are still an issue and unrelated to this. Let's not derail the thread. ;) |
Well, if we go for icon only then the long username will be irrelevant right? |
Sorry but the top right should always be personalized. Either profile image or ellipsized name. No generic user icon because then you don't know immediately with which user you are logged in if you have multiple. |
An avatar with fixed colour is a good idea though, and it will help fix nextcloud/notifications#60. See @eppfel's comment |
A non colored avatar has two issues:
Think responsive, folks. ;) This is only an issue on small displays, on big screens it’s super nice how we do it. This is simply about ellipsizing long names correctly, nothing more and nothing less. :) |
I honestly don't see the point of seeing my username on the header in my opinion. :) Github just put the avatar for example, and without displaying the username. |
I see it as @skjnldsv It is only relevant for multi accounts, which I believe to be the minority. |
This is fixed with #4074 |
Currently there is no width limit on the username. This can lead to overlays with long names and narrow screens. For that we should either have a maximum width, or flexible so it automatically ellipsizes when the space gets narrow.
This is probably easy now with the switch to flexbox. Before it was a bit finnicky. cc @nextcloud/designers
The text was updated successfully, but these errors were encountered: