-
Notifications
You must be signed in to change notification settings - Fork 842
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
Major version dependency upgrades, pt. V #4124
Conversation
This reverts commit 745d9a0.
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One typo correction & needs a breaking changelog entry. Tested the markdown editor in the CI's docs build, would be really good to try this out in Kibana to get an expectation of how much effort this will (or won't) be to update to.
@chandlerprall I didn't expect this to be breaking. Is it something with the plugin API? |
That was based off the |
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
Checking on the upgrade path in Kibana. Looks like maybe some more |
Need to add Type updates are trickier: the return type of |
Upgrade path in Kibana is now known. Also confirmed that the plugins written in Kibana still work |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4124/ |
* eslint; prettier * react-datepicker eslint * prettier autofix * more eslint * CL * Revert "CL" This reverts commit 745d9a0. * markdown deps * contents | result update * Update src/components/markdown_editor/markdown_format.tsx Co-authored-by: Chandler Prall <chandler.prall@gmail.com> * CL * update remark2rehype types * CL * Update CHANGELOG.md Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
Summary
Partial resolution of #3969:
EuiMarkdownEditor
dependenciesreact-dropzone
rehype-
remark-
unified
Most major version changes were due to the introduction of types (:tada:), but
unified
did have an API change: the result of.process[Sync]()
is now stored inresult
if anobject
orcontents
if astring
. See relevant markdown editor changes accounting for both.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 accessibility including keyboard-only and screenreader modes