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

Rares/score quality #1324

Merged
merged 33 commits into from
Mar 13, 2023
Merged

Rares/score quality #1324

merged 33 commits into from
Mar 13, 2023

Conversation

teodosii
Copy link
Member

@teodosii teodosii commented Feb 15, 2023

What this PR does

#118

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated

@teodosii teodosii added the pr:no public docs Added to a PR that does not require public documentation updates label Feb 15, 2023
@teodosii teodosii requested a review from a team February 15, 2023 11:20
@joeyorlando
Copy link
Contributor

it could be worthwhile adding some notes about the schedule quality metrics to our public docs

@iskhakov
Copy link
Contributor

I agree with Joey about documentation

<Text type="secondary">{tooltipContent}</Text>
</VerticalGroup>
</div>
}
>
<div className={cx('root', { [`root__type_${type}`]: true })} onMouseEnter={onHover}>
<div className={cx('root', { [`root__type_${type}`]: true }, { padding: addPadding })} onMouseEnter={onHover}>
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: 'add-padding': addPadding naming looks better because it's clear that it's boolean


const [expanded, setExpanded] = useState<boolean>(false);
{schedule.warnings?.length > 0 && (
Copy link
Contributor

Choose a reason for hiding this comment

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

can schedule be null/undefined here?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, if it's undefined then we do not render ScheduleQuality

return null;
}

const infoComments = comments.filter((c) => c.type === 'info');
Copy link
Contributor

Choose a reason for hiding this comment

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

useMemo here and below looks more reactish but doesn't make sense a lot

Copy link
Member Author

Choose a reason for hiding this comment

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

useMemo seems an overkill, it's a trivial JSON data, a few comments at most.

@teodosii teodosii added this pull request to the merge queue Mar 13, 2023
Merged via the queue into dev with commit 15f6898 Mar 13, 2023
@teodosii teodosii deleted the rares/score-quality branch March 13, 2023 13:20
brojd pushed a commit that referenced this pull request Sep 18, 2024
# What this PR does

#118 

## Checklist

- [x] Tests updated
- [ ] Documentation added
- [x] `CHANGELOG.md` updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants