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

Show username in menu #16525

Open
Ruslan-Aleev opened this issue Feb 12, 2024 · 2 comments
Open

Show username in menu #16525

Ruslan-Aleev opened this issue Feb 12, 2024 · 2 comments
Labels
feature Request about implementing a brand new function or possibility. type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript.
Milestone

Comments

@Ruslan-Aleev
Copy link
Collaborator

Ruslan-Aleev commented Feb 12, 2024

Feature request

Summary

Menu item labels, which are located in the "User Navigation" menu area, are hidden in the styles.
Don't know why this was done, but ok.

.label, .description, #user-username {

However, it is worth always displaying the username, because to find it out you have to click on the menu, which is not convenient, it's just bad UX.

user_1
user_2

There was a discussion (#15595) that long name in login may not fit, but we can add word-wrap: break-word; this will fix the problem. And it’s strange to add long names to login.

user_3

Another option is to add a title="" attribute with login to avatar, at least you don’t have to click user menu item. The UX will improve a little, but in my opinion it would be better to display the name in the menu.

user_4

Related issue(s)/PR(s)

#15595

@Ruslan-Aleev Ruslan-Aleev added type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript. feature Request about implementing a brand new function or possibility. labels Feb 12, 2024
@Ruslan-Aleev Ruslan-Aleev added this to the v3.1.0 milestone Feb 12, 2024
@rthrash
Copy link
Member

rthrash commented Feb 12, 2024

I'd vote for both a tooltip and CSS break-word, personally. Good suggestions @Ruslan-Aleev. Thanks!

@smg6511
Copy link
Collaborator

smg6511 commented Apr 19, 2024

Absolutely agree with @Ruslan-Aleev that it's better to have the username visible. However, I'm not crazy about how long names would appear if using break-word. For some, the convention is to create short names like m3admin (I've done this a lot too in the past), but for arguably many others it might be to use one's email address.

At the same time, ideally we require zero user interaction to see that username. What if we show it in the sidebar, but truncate it to fit? So short names like Ruslan's example would fully show, but long form usernames (such as an email) would display as, for example, jim@mysi... .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request about implementing a brand new function or possibility. type-frontend Issues related to UI/UX issues, mostly about styles and frontend implementations on JavaScript.
Projects
None yet
Development

No branches or pull requests

3 participants