Skip to content

[EuiCodeEditor] Add deprecation console warning#4984

Merged
thompsongl merged 12 commits intoelastic:masterfrom
thompsongl:1469-warn
Jul 28, 2021
Merged

[EuiCodeEditor] Add deprecation console warning#4984
thompsongl merged 12 commits intoelastic:masterfrom
thompsongl:1469-warn

Conversation

@thompsongl
Copy link
Copy Markdown
Contributor

@thompsongl thompsongl commented Jul 27, 2021

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.

Screen Shot 2021-07-27 at 4 43 44 PM

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

  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link
Copy Markdown

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

Copy link
Copy Markdown
Contributor

@cchaos cchaos left a 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.

Copy link
Copy Markdown
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.

Small requests on the test itself, everything else LGTM

Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
@thompsongl thompsongl requested a review from chandlerprall July 28, 2021 16:35
@kibanamachine
Copy link
Copy Markdown

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

@cchaos

This comment has been minimized.

Copy link
Copy Markdown
Contributor

@cchaos cchaos left a 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

@kibanamachine
Copy link
Copy Markdown

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

Copy link
Copy Markdown
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 for setting this up! LGTM

@thompsongl thompsongl merged commit 5e47b4b into elastic:master Jul 28, 2021
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.

4 participants