Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32157

ResourceYAMLEditor header property doesn't take effact

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 4.20.0
    • 4.16
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • No
    • None
    • None
    • None
    • Proposed
    • Bug Fix
    • Hide
      Before this update, the console did not display the header defined by the `ResourceYAMLEditor` property, so the YAML view opened without it. This update fixes the property. As a result, headers such as **Simple pod** now display correctly. (link:https://issues.redhat.com/browse/OCPBUGS-32157[OCPBUGS-32157])
      Show
      Before this update, the console did not display the header defined by the `ResourceYAMLEditor` property, so the YAML view opened without it. This update fixes the property. As a result, headers such as **Simple pod** now display correctly. (link: https://issues.redhat.com/browse/OCPBUGS-32157 [ OCPBUGS-32157 ])
    • None
    • None
    • None
    • None

      Description of problem:

      ResourceYAMLEditor header property doesn't set header above YAML editor    

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      Always    

      Steps to Reproduce:

      1. run console-demo-plugin and bridge locally, visit /test-editor and check if there is header for yaml editor
      $ ./bin/bridge -plugins console-demo-plugin=http://localhost:9001
      
      in the console-demo-plugin, ResourceYAMLEditor was called with following property
      <ResourceYAMLEditor initialResource={data} header="Simple Pod" onSave={onSave} />

      Actual results:

      we can not see 'Simple Pod' header        

      Expected results:

      header should be set above YAML editor    

      Additional info:

          

       
       
       

       

              rh-ee-jaclee Jackson Lee
              rhn-support-yapei YaDan Pei
              None
              None
              YaDan Pei YaDan Pei
              Jocelyn Sese Jocelyn Sese
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: