Replace PF CodeEditor with newly available YAML editor in plugin SDK #103
Labels
blocked
needs-kind
needs-priority
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
There are some issues with syntax highlighting and other styles with the PF CodeEditor we're using due to stylesheets conflicting with the ones for the console's built in editor. Now that that editor is available in the plugin SDK we should switch to it.
Edit: Not sure if this is going to work. The
ResourceYAMLEditor
exposed by the SDK is intended for editing an existing resource, not editing unsaved YAML before creating a resource. It has save/cancel/reload buttons that don't make sense here and if you click Cancel it will weirdly redirect you to the project resource page. There seems to be no way to disable that behavior and render only the editor itself. This will either be a WONTFIX or we need to enhance the editor in the SDK, and either way it's not going to make Tech Preview.Edit 2: There's a new development here, we may be getting the plain
YAMLEditor
in a future SDK version. Discussion here: https://coreos.slack.com/archives/C011BL0FEKZ/p1658168646396789The text was updated successfully, but these errors were encountered: