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

Migrate EuiBottomBar, EuiHealth and EuiImage to TS #2328

Merged
merged 7 commits into from
Sep 13, 2019

Conversation

pugnascotia
Copy link
Contributor

Summary

Migrate EuiBottomBar, EuiHealth and EuiImage to TS.

Checklist

  • Checked in dark mode
  • Checked in mobile
  • Checked in IE11 and Firefox
  • Props have proper autodocs
  • Added documentation examples
  • Added or updated jest tests
  • Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@snide
Copy link
Contributor

snide commented Sep 11, 2019

cc @miukimiu for awareness as I think this might conflict a bit with #2287

The `yarn build` command was failing due to wierdness around the
`PADDING_SIZES` export from `bottom_bar.tsx`. Remove it, and essentially
move it to the test file, which is the only usage I could find (I
checked Kibana too).
Copy link
Contributor

@thompsongl thompsongl left a comment

Choose a reason for hiding this comment

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

Thanks as always, @pugnascotia!

src/components/image/image.tsx Outdated Show resolved Hide resolved
src/components/image/image.tsx Show resolved Hide resolved
src/components/image/image.tsx Outdated Show resolved Hide resolved
src/components/health/health.tsx Outdated Show resolved Hide resolved
src/components/health/health.tsx Outdated Show resolved Hide resolved
@pugnascotia
Copy link
Contributor Author

Thanks @thompsongl, I've addressed your comments.

Copy link
Contributor

@thompsongl thompsongl left a comment

Choose a reason for hiding this comment

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

Missed this before. Need HTMLElement attributes so things like style can be spread

src/components/image/image.tsx Outdated Show resolved Hide resolved
src/components/image/image.tsx Outdated Show resolved Hide resolved
@pugnascotia
Copy link
Contributor Author

@thompsongl updated again!

Copy link
Contributor

@thompsongl thompsongl left a comment

Choose a reason for hiding this comment

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

Thanks, @pugnascotia!

@miukimiu If this merges before #2287, I'll get you a PR that'll resolve the merge conflicts in your branch

@pugnascotia pugnascotia merged commit ea8d48e into elastic:master Sep 13, 2019
@pugnascotia pugnascotia deleted the i-cant-even-typescript branch September 13, 2019 20:46
@thompsongl thompsongl mentioned this pull request Sep 13, 2019
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants