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

Making tags more readable #9320

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

liu-samuel
Copy link
Contributor

@liu-samuel liu-samuel commented Dec 10, 2024

Old:
Screenshot 2024-12-10 at 3 45 04 PM

New:
Screenshot 2024-12-10 at 3 44 28 PM

@liu-samuel liu-samuel requested a review from a team as a code owner December 10, 2024 20:45
@liu-samuel liu-samuel force-pushed the tag-list-customer-case branch from 84d91cb to 14fd627 Compare December 10, 2024 21:00

let text;
if (Array.isArray(value)) {
text = value.join('\n');
Copy link
Member

Choose a reason for hiding this comment

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

Instead of \n, should we be using <br> ? I'm kind of surprised that \n works.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried using
but it didn't seem to work. I might be doing it wrong but when I do text = value.join('<br>'); the
shows up as actual text instead of a line break

@GilbertCherrie GilbertCherrie merged commit 1f5c90e into ManageIQ:master Dec 17, 2024
15 checks passed
@Fryguy
Copy link
Member

Fryguy commented Jan 7, 2025

Backported to radjabov in commit 576e0f2.

commit 576e0f23fa992d9a5e055c16275e65ac1f65c726
Author: Gilbert Cherrie <[email protected]>
Date:   Tue Dec 17 10:59:16 2024 -0500

    Merge pull request #9320 from liu-samuel/tag-list-customer-case
    
    Making tags more readable
    
    (cherry picked from commit 1f5c90e58ed582f6eb8211fb46b20474bdfc6c75)

Fryguy pushed a commit that referenced this pull request Jan 7, 2025
Making tags more readable

(cherry picked from commit 1f5c90e)
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.

3 participants