-
Notifications
You must be signed in to change notification settings - Fork 23
PM- 4482 Fix MM skill tooltips #1555
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
Changes from all commits
0571ec5
3052aa7
212322a
6ba720a
1fcf427
4141039
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -167,6 +167,26 @@ const SkillPill: FC<SkillPillProps> = props => { | |||||
| ))} | ||||||
| </li> | ||||||
| )} | ||||||
| {skillDetails.activity['marathon match'] && ( | ||||||
| <li> | ||||||
| <div className={styles.tooltipRow}> | ||||||
| Marathon Matches ( | ||||||
| {skillDetails.activity['marathon match'].lastSources?.length ?? 0} | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Marathon match count displays The marathon match section uses
Suggested change
Was this helpful? React with 👍 or 👎 to provide feedback. |
||||||
| ): | ||||||
| </div> | ||||||
| {skillDetails.activity['marathon match'].lastSources?.map(s => ( | ||||||
| <a | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [💡 |
||||||
| key={s.id} | ||||||
| className={classNames(styles.tooltipRow, styles.padLeft)} | ||||||
| href={`${EnvironmentConfig.URLS.CHALLENGES_PAGE}/${s.id}`} | ||||||
| target='_blank' | ||||||
| rel='noopener noreferrer' | ||||||
| > | ||||||
| {s.name || 'Marathon Match'} | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ |
||||||
| </a> | ||||||
| ))} | ||||||
| </li> | ||||||
| )} | ||||||
| </ul> | ||||||
| </> | ||||||
| ) | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[❗❗
correctness]The removal of
hasChallengeCopilotRolefrom the dependencies ofcanEditScorecardcould lead to incorrect behavior if the copilot role is intended to influence the ability to edit the scorecard. Ensure that the copilot role is not required for this logic, or consider adding it back if it was removed unintentionally.