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

Fixes #37530 - Very long CV names/labels display weirdly on CV UI #11072

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

sjha4
Copy link
Member

@sjha4 sjha4 commented Jul 12, 2024

What are the changes introduced in this pull request?

Adds truncated name/labels to UI where necessary.

Considerations taken when implementing this change?

Truncate truncates by default to 50 chars which seems like enough information for a CV name. The full name is seen on the CV details tab.

What are the testing steps for this pull request?

Create a CV with a loooong name
Navigate around the CV UI and make sure the UI doesn't get weird with the long way and truncates and displays CV info properly.

@chris1984
Copy link
Member

Code looks fine, starting to test

Copy link
Member

@chris1984 chris1984 left a comment

Choose a reason for hiding this comment

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

Two small comments discussed on slack, around areas it's missing

@sjha4 sjha4 force-pushed the truncate_cv_label branch 2 times, most recently from 248db46 to c7b709a Compare July 18, 2024 15:12
Copy link
Member

@chris1984 chris1984 left a comment

Choose a reason for hiding this comment

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

ACK, works good. APJ. Looks like there are some eslint complaints,

@sjha4 sjha4 merged commit 8548944 into Katello:master Jul 18, 2024
28 checks passed
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.

2 participants