Skip to content

Conversation

@julien-nc
Copy link
Member

@julien-nc julien-nc commented Jun 16, 2025

Give the version label a min width so it does not get invisible when the author name is long.
Make sure the overflow ofboth version label and author name are ellispsised.

Before

image

After

image

@julien-nc julien-nc added this to the Nextcloud 32 milestone Jun 16, 2025
@julien-nc julien-nc requested a review from a team as a code owner June 16, 2025 12:53
@julien-nc julien-nc added bug 3. to review Waiting for reviews labels Jun 16, 2025
@julien-nc julien-nc requested review from artonge and nfebe and removed request for a team June 16, 2025 12:53
@julien-nc julien-nc requested a review from sorbaugh June 16, 2025 12:53
@julien-nc
Copy link
Member Author

/backport to stable31

@julien-nc
Copy link
Member Author

/backport to stable30

@julien-nc
Copy link
Member Author

/compile

@nextcloud-command nextcloud-command requested a review from a team as a code owner June 16, 2025 13:59
@tcitworld
Copy link
Member

Why not give it enough space for « Current version » to be shown entirely?

@julien-nc
Copy link
Member Author

@tcitworld No reason. Anyway many translations of this string are longer and will be cut.
I can make it larger indeed. Waiting for more opinions.

Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

Code wise ok, I would indeed make the label flex-grow with a max-width :)

Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

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

@nextcloud/designers can you give us your opinion?

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.

Looks very nice @julien-nc! :)

Why not give it enough space for « Current version » to be shown entirely?

Agree with @tcitworld’s point – since the 100px width is an arbitrary value anyway, it might as well be a little bit wider so that our default texts are shown fully, at least in English. :)

…t get invisible if the author name is long

Signed-off-by: Julien Veyssier <[email protected]>
@julien-nc julien-nc force-pushed the fix/noid/files-version-sidebar-item-style branch from abe85ad to 422e3d9 Compare June 18, 2025 09:47
@julien-nc
Copy link
Member Author

/compile

@julien-nc julien-nc requested a review from jancborchardt June 18, 2025 09:48
@julien-nc
Copy link
Member Author

@jancborchardt Changed the min-width and updated the screenshot.

Signed-off-by: nextcloud-command <[email protected]>
@tcitworld tcitworld merged commit 367a585 into master Jun 18, 2025
133 of 136 checks passed
@tcitworld tcitworld deleted the fix/noid/files-version-sidebar-item-style branch June 18, 2025 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants