Skip to content

fix(web): truncate long repository names in header#811

Open
khiem-nguyen-ict wants to merge 1 commit into
l3montree-dev:mainfrom
khiem-nguyen-ict:fix/2285-truncate-repo-name-header
Open

fix(web): truncate long repository names in header#811
khiem-nguyen-ict wants to merge 1 commit into
l3montree-dev:mainfrom
khiem-nguyen-ict:fix/2285-truncate-repo-name-header

Conversation

@khiem-nguyen-ict

@khiem-nguyen-ict khiem-nguyen-ict commented Jul 8, 2026

Copy link
Copy Markdown

Long repository names in the asset header overflowed because the name was only wrapped in a CSS truncate span that could not shrink inside the flex Link. The group/project names already use truncateMiddle, so apply the same to the repository (asset) name for consistent truncation.

Screenshot 2026-07-08 at 22 19 59

Fixes #2285 : l3montree-dev/devguard#2285

Long repository names in the asset header overflowed because the name
was only wrapped in a CSS `truncate` span that could not shrink inside
the flex Link. The group/project names already use truncateMiddle, so
apply the same to the repository (asset) name for consistent truncation.

Fixes #2285

Signed-off-by: Khiem Nguyen <nguyenthanhkhiemvn@gmail.com>
@juliankepka

Copy link
Copy Markdown
Collaborator

@khiem-nguyen-ict Thank you for your pull request! We will review it and merge it as soon as possible.

@juliankepka juliankepka left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I really like your fix! I would appreciate if you could remove all the lint changes and just commit the fix.

@khiem-nguyen-ict khiem-nguyen-ict force-pushed the fix/2285-truncate-repo-name-header branch from 343f63d to ad4195b Compare July 9, 2026 15:58
@khiem-nguyen-ict

Copy link
Copy Markdown
Author

I really like your fix! I would appreciate if you could remove all the lint changes and just commit the fix.

@juliankepka i've reverted the last commit for the changes on the lint changes. Could you please take a look again?

@juliankepka juliankepka left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good now. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long repository names not truncated in header

2 participants