-
Notifications
You must be signed in to change notification settings - Fork 841
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
[EuiCodeEditor] Add deprecation console warning #4984
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_4984/ |
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.
👍 Thanks for the quick turnaround. Mostly had some suggestions around wording of the callout.
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.
Small requests on the test itself, everything else LGTM
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
Preview documentation changes for this PR: https://eui.elastic.co/pr_4984/ |
This comment has been minimized.
This comment has been minimized.
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.
Thanks for those updates! LGTM
Preview documentation changes for this PR: https://eui.elastic.co/pr_4984/ |
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.
Thanks for setting this up! LGTM
Summary
Adds some updated recommendations for rendering code and a console warning noting the deprecation and future removal of
EuiCodeEditor
. The warning looks as below in Kibana and only appears once when the component renders and will not appear multiple times on subsequent renders.The shortened link goes to the newly updated #3807
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 and playground toggles- [ ] 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