Skip to content

PM-589 Improve skills UI #1052

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

Merged
merged 2 commits into from
Apr 25, 2025
Merged

PM-589 Improve skills UI #1052

merged 2 commits into from
Apr 25, 2025

Conversation

himaniraghav3
Copy link
Collaborator

Related JIRA Ticket:

https://topcoder.atlassian.net/browse/PM-589

What's in this PR?

Only show 3 skills and show a counter with tooltip for the rest

return (
<div className={styles.skillsContainer}>
{visibleSkills.map(skill => (
<div key={skill.id} className={styles.skillPill}>

Choose a reason for hiding this comment

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

Consider specifying the type for skill in the map function to improve type safety and readability.

{remainingSkills.length > 0 && (
<div
className={styles.skillPill}
title={remainingSkills.map(skill => skill.name)

Choose a reason for hiding this comment

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

Using Array.prototype.join without a separator defaults to a comma, which is fine here, but it might be clearer to explicitly specify the separator as ', ' for readability.

@himaniraghav3 himaniraghav3 merged commit 9d945ef into dev Apr 25, 2025
3 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.

1 participant