-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
3
-
False
-
None
-
False
-
OCPSTRAT-1844 - TechDebt - OCP Console - Dependency Cleanup
-
-
We currently use a `CopyToClipboard` component to display a Plugin manifest on ConsolePlugins details page. It would be nice to use Monaco instead so that we get the benefit of syntax highlighting. I prototyped an implementation that utilizes the existing `ResourceYAMLEditor`, but spadgett@redhat.com and I both wondered if it's confusing to use the `ResourceYAMLEditor` on the `Plugin manifest` tab since the tab sits next to the `YAML` tab that utilizes the same `ResourceYAMLEditor` component. Maybe we need a simplified Monaco-containing component that more clearly indicates the contents are read-only and are not the standard YAML editor?
AC:
- Replace CopyToClipboard component for YAMLEditor (technically CodeEditor once) for displaying Plugin manifest on the ConsolePlugin details page. The YAMLEditor should be used in the read-only mode.
- Add integration tests which will check the Save button is not visible in the readonly mode and that CodeEditor and that the CodeEditor is disabled.
- is blocked by
-
CONSOLE-4407 Update YAML language server and monaco
-
- Closed
-
-
CONSOLE-4409 Refactor CodeEditor to use the PF equivalent
-
- Closed
-
- links to