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

[Docs] Improved EuiMarkdownEditor chart plugin example #3995

Merged
merged 4 commits into from
Sep 8, 2020

Conversation

miukimiu
Copy link
Contributor

@miukimiu miukimiu commented Sep 2, 2020

Summary

This PR closes #3906 and improves the chart plugin example.

  • I decided to change the height functionality in favor of picking a number of categories. Changing the height was creating overflow issues inside the modal.

  • I replaced the EuiSelect with EuiColorPalettePicker. I found that the EuiColorPalettePicker has a bug when we only have one color. But this bug is going to be fixed with Add EuiColorPaletteDisplay #3865.

New design

Screenshot 2020-09-02 at 14 47 33

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • [ ] Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
  • [ ] Props have proper autodocs
  • Added documentation
  • [ ] Checked Code Sandbox works for the any docs 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

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3995/

@miukimiu miukimiu changed the title [EuiMarkdownEditor] Improved chart plugin example [Docs] Improved EuiMarkdownEditor chart plugin example Sep 2, 2020
Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

Thanks!! Two very minor requests then this is good to go.

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3995/

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

🎉

@miukimiu miukimiu merged commit c061379 into elastic:master Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chart markdown plugin example shows too much empty space
3 participants