-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
None
-
False
-
-
False
-
2
-
None
-
None
-
OCP Console - Sprint 275
As a follow-up to the original story that added a custom ConsolePlugin details page, we want to display the plugin's manifest JSON in a dedicated tab using the code editor so we get syntax highlighting. This was not previously implemented due to limitations in the YAML editor component, which lacked a clear read-only mode and visual distinction between editable and read-only content.
Now that the Console has adopted PatternFly 6 and its enhancedCodeEditor component, we can provide a visually distinct, read-only view of the manifest JSON to improve usability and consistency.
Acceptance Criteria:
- The manifest is displayed in read-only mode using PF6 CodeEditor.
- Add cypress tests.
Note: The plugin manifest JSON is only available when the plugin is successfully loaded in the plugin store (i.e., registered and active at runtime). This is because the manifest is not part of the ConsolePlugin Custom Resource (CR); it is dynamically pulled from the plugin's backend via the plugin store.
Original story: https://issues.redhat.com//browse/CONSOLE-4269
- is duplicated by
-
CONSOLE-4362 Add syntax highlighting to display of Plugin manifest on ConsolePlugins details page
-
- Closed
-
- links to