Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2058

[Extensions] Hide package for entities missing `dynamicArtifact` value in code editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Plugin, UI
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      For packages that missing `spec.dynamicArtifact` value in their catalog entity, we currently shows:
      - package: ./dynamic-plugins/dis/....
      
      Instead, we should hide the package as without this value Install/Uninstall or Enabled/Disable operation from this page won't work. We can discuss with UX team for a better solution to deal with this case. 

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

      release 1.5 - release 1.7 - RHDH main branch code

      How reproducible:

      In your local RHDH, comment out `spec.dynamicAftifact` value from any of the entity file under `your_local/rhdh/catalog-entities/marketplace/packages/`, restart your RHDH and go to the Install/Edit plugin page of the plugin which contains the package entity you edited.

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      See screenshot.

      Expected results:

      Hide the incomplete `package` item and possibly show some message.

      Additional info:

      For custom installed packages, remind in documentation that `spec.dynamicArtifact` is required to use Edit/Install package functions.

              dsantra12 Debsmita Santra
              yicai@redhat.com Yi Cai
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: