Skip to content

Migrate EuiBottomBar, EuiHealth and EuiImage to TS#2328

Merged
pugnascotia merged 7 commits intoelastic:masterfrom
pugnascotia:i-cant-even-typescript
Sep 13, 2019
Merged

Migrate EuiBottomBar, EuiHealth and EuiImage to TS#2328
pugnascotia merged 7 commits intoelastic:masterfrom
pugnascotia:i-cant-even-typescript

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).
@pugnascotia pugnascotia force-pushed the i-cant-even-typescript branch from 3df5345 to c17ff11 Compare September 12, 2019 09:09
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!

@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

@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