Skip to content

feat(PM-4203): Filter by skills in completed profiles page#1530

Merged
kkartunov merged 4 commits intodevfrom
pm-4203
Mar 15, 2026
Merged

feat(PM-4203): Filter by skills in completed profiles page#1530
kkartunov merged 4 commits intodevfrom
pm-4203

Conversation

@hentrymartin
Copy link
Contributor

@hentrymartin hentrymartin commented Mar 12, 2026

Related JIRA Ticket:

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

What's in this PR?

  • Implemented filter by skills in completed profiles page

Open with Devin

queryParams.set('openToWork', 'false')
}

if (Array.isArray(skillIds) && skillIds.length > 0) {

Choose a reason for hiding this comment

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

[💡 maintainability]
Consider using skillIds.filter(Boolean) to remove falsy values before iterating. This simplifies the code by eliminating the need for the if (id) check inside the loop.

github-actions[bot]

This comment was marked as resolved.

value: String(skill.id),
}))
.filter((option: InputMultiselectOption) => !!option.value)
} catch {

Choose a reason for hiding this comment

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

[⚠️ correctness]
Filtering options with !!option.value might not be sufficient if value can be a falsy but valid value (e.g., 0). Ensure that this filtering logic aligns with the expected data structure.

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Collaborator

@kkartunov kkartunov left a comment

Choose a reason for hiding this comment

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

Fix Devin's comment

@hentrymartin
Copy link
Contributor Author

Fix Devin's comment

@kkartunov This is fixed now. Can you please review the backend PR related to this one? topcoder-platform/reports-api-v6#63

@kkartunov kkartunov merged commit 90eea56 into dev Mar 15, 2026
9 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