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

Remove display name ellipsis in user menu #42402

Merged

Conversation

Jerome-Herbinet
Copy link
Member

@Jerome-Herbinet Jerome-Herbinet commented Dec 20, 2023

Fixes #42455

Screenshots made with NC 28.0.1 RC1

Before

2023-12-20_15-12

After

2023-12-20_15-12_1

Checklist

@Jerome-Herbinet Jerome-Herbinet added design Design, UI, UX, etc. 3. to review Waiting for reviews 28-feedback labels Dec 20, 2023
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

This leads to the width of the menu extending infinitely though depending on the name:
image

I suggest using a higher value for the max-width. Either a set one (208px works well in English) or if possible to just use whichever space is available in the menu. But not to extend the width of the menu. :)

@Jerome-Herbinet Jerome-Herbinet force-pushed the Jerome-Herbinet-remove-full-name-ellipsis-in-user-menu branch from a818238 to 1e1f940 Compare December 21, 2023 07:54
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Works, but maybe it’s nicer to use something like flex-grow to make this entry fill the available width. :) Then we don’t need a fixed value.

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

Fine by me

@Jerome-Herbinet
Copy link
Member Author

There is a conflict ; what's the easiest way for me to solve it ?

@Jerome-Herbinet Jerome-Herbinet force-pushed the Jerome-Herbinet-remove-full-name-ellipsis-in-user-menu branch 2 times, most recently from 9bd9138 to 8d21e7c Compare January 5, 2024 10:05
@zak39
Copy link
Contributor

zak39 commented Jan 5, 2024

Hello everyone :)

@szaimen & @jancborchardt : Should @Jerome-Herbinet update the branch with rebase (please, look at the screenshot)?

I worked with him this morning and we rebased his branch.
Does he have to rebase again?

image

@szaimen szaimen force-pushed the Jerome-Herbinet-remove-full-name-ellipsis-in-user-menu branch from 8d21e7c to 8898d97 Compare January 9, 2024 13:05
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Update UserMenu.vue

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Revert with a higher max-width value

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
@szaimen szaimen force-pushed the Jerome-Herbinet-remove-full-name-ellipsis-in-user-menu branch from 8898d97 to 02e2c69 Compare January 11, 2024 08:19
@szaimen
Copy link
Contributor

szaimen commented Jan 11, 2024

/compile

@szaimen szaimen added this to the Nextcloud 29 milestone Jan 11, 2024
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@szaimen
Copy link
Contributor

szaimen commented Jan 11, 2024

/backport 02e2c69 to stable28

@szaimen
Copy link
Contributor

szaimen commented Jan 11, 2024

CI failure unrelated

@szaimen szaimen merged commit 744720b into master Jan 11, 2024
39 of 41 checks passed
@szaimen szaimen deleted the Jerome-Herbinet-remove-full-name-ellipsis-in-user-menu branch January 11, 2024 09:29
@blizzz blizzz mentioned this pull request Mar 5, 2024
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 28-feedback design Design, UI, UX, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Top right menu ellipsizes short names
5 participants