-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix(app): improve user menu design #683
Conversation
237893f
to
bbc236e
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.
Apart from it, looks and works nice! Will check the SFC migration thoroughly later
target="_blank"> | ||
<div class="user-menu__name"> | ||
<strong>{{ user['display-name'] }}</strong> | ||
<em>{{ user.id }}</em> |
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.
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.
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.
Or remove uid completely...
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.
Maybe text-overflow: ellipsis;
after a certain width ?
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.
Nextcloud Desktop and Talk mobile client doesn't show email/uid anywhere at all.
But I personally would like to keep it.
@nickvergessen what do you think?
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'm fine with a place swap only.
Ellipsizing might be tricky given that we don't know possible length of it for different auth methods, and also display name
+ view profile
would differ from person and locale.
With possible multiple accounts feature (within one app) in future, it will be useful anyway
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.
SFCs are good 🦅
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.
Tested, changes look good visually and code-wise 🚀
target="_blank"> | ||
<div class="user-menu__name"> | ||
<strong>{{ user['display-name'] }}</strong> | ||
<em>{{ user.id }}</em> |
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'm fine with a place swap only.
Ellipsizing might be tricky given that we don't know possible length of it for different auth methods, and also display name
+ view profile
would differ from person and locale.
With possible multiple accounts feature (within one app) in future, it will be useful anyway
e15ed90
to
2404ee4
Compare
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2404ee4
to
7bbe55c
Compare
|
☑️ Resolves
displayName
but alsouserid
🖼️ Screenshots