Skip to content

Conversation

vas3a
Copy link
Collaborator

@vas3a vas3a commented Dec 6, 2023

Related JIRA Ticket:
https://topcoder.atlassian.net/browse/MP-390

What's in this PR?

For the member stats & history:

  • hides the winner badge if there are no wins
  • fix pluralization for all wordings (wins, submissions, challenges)

@vas3a vas3a requested a review from jmgasper December 6, 2023 07:38
* Creates the string with the number of items and the word describing the item
* possibly in plural form.
*
* @param {number} count number of entities
Copy link
Contributor

Choose a reason for hiding this comment

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

We've settled on following format for param JSDocs:

@param {number} count - The number of entities

@vas3a vas3a merged commit f580ee8 into dev Dec 6, 2023
@vas3a vas3a deleted the MP-390_members-stats-fix branch December 6, 2023 19:58
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