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

refactor(nms): Fix some simple TypeScript migration TODOs #13247

Merged
merged 1 commit into from Jul 11, 2022

Conversation

thmsschmitt
Copy link
Contributor

@thmsschmitt thmsschmitt commented Jul 8, 2022

Resolves some simple TODOs from the TypeScript migration.

@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines. label Jul 8, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2022

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot added the component: nms NMS-related issue label Jul 8, 2022
@@ -111,9 +111,6 @@ export default function CustomHistogram(props: Props) {
data={{datasets: props.dataset}}
options={{
maintainAspectRatio: false,
// TODO[TS-migration is this a valid chart.js option?]
// @ts-ignore
scaleShowValues: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I searched through the code base of react-chart-js and chart-js and could not find "scaleShowValues".

// type WrapperVariant is a alias for:
// "dialog" | "inline" | "static"
// @ts-ignore
variant="outlined"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Test that this has no effect and inputVariant="outlined" is what is needed.

@thmsschmitt thmsschmitt requested a review from Neudrino July 8, 2022 15:10
@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2022

nms-workflow

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 0da116f.

♻️ This comment has been updated with latest results.

@thmsschmitt thmsschmitt marked this pull request as ready for review July 11, 2022 07:05
@thmsschmitt thmsschmitt requested a review from a team July 11, 2022 07:05
Signed-off-by: Thomas Schmitt <thomas.schmitt@tngtech.com>
@github-actions
Copy link
Contributor

dp-workflow

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 0da116f.

@thmsschmitt thmsschmitt enabled auto-merge (squash) July 11, 2022 07:19
@thmsschmitt thmsschmitt merged commit 894160e into magma:master Jul 11, 2022
talesmota pushed a commit to talesmota/magma that referenced this pull request Jul 11, 2022
Signed-off-by: Thomas Schmitt <thomas.schmitt@tngtech.com>
emakeev pushed a commit to emakeev/magma that referenced this pull request Aug 5, 2022
Signed-off-by: Thomas Schmitt <thomas.schmitt@tngtech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: nms NMS-related issue size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants