Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4690

Add Manifest tab to the ConsolePlugin resource details page

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • 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

              rh-ee-leoli Leo Li
              jhadvig@redhat.com Jakub Hadvig
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: