-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Migrate instances of EuiCodeEditor
to CodeEditor
#106931
Comments
Pinging @elastic/eui-design (EUI) |
@thompsongl We currently use in a lot of of places that |
@cchaos Have we worked with any teams on code editor designs? |
I'll check in with @ryankeairns and his team, but no there hasn't been any designs done for a code editor that I know of. Since this lives in Kibana, it makes sense for the Kibana Design team to handle this one and may be a good on-boarding task but would likely need a team or person to pair with a designer to implement changes. |
Regarding the Monaco / |
@timroes we currently generate themes that utilize EUI colors, and I'm looking at adding defaults for Looking over the Monaco editor options, nothing else jumped out at me (I tried padding, but that was not of use in this case). |
Just a note for everyone migrating to |
|
Pinging @elastic/kibana-design (Team:Kibana-Design) |
Thanks y'all for making great progress on the migration! EUI will be moving forward with removing |
The EUI team has deprecated the
EuiCodeEditor
component and requires that instances in Kibana be migrated to an alternative solution before it can be removed from the codebase. The current recommendations can be found here, but generally consist of:EuiCodeBlock
for static code (virtualized rendering support will be available in Kibana before 7.15 FF)CodeEditor
component in the kibana-react plugin.The main driver behind removing EuiCodeEditor is its reliance on a dependency that violates Kibana's CSP.
Instances requiring migration:
EuiCodeEditor
#107097EuiCodeEditor
#107097The text was updated successfully, but these errors were encountered: