Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-26304

Console dropdown hides valid options

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Train 34 - 2, ACM Console Train 35 - 2
    • Important
    • Yes

      Description of problem:

      Some dropdowns are missing the last options. Also, adding a custom option to the dropdown makes standard options inaccessible.

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

      ACM 2.15.0

      How reproducible:

      Always

      Steps to Reproduce:

      First scenario:

      1. Create an ApplicationSet with a GitHub repository (push or pull)
      2. After selecting the repository, view the list of Revisions.

      Second scenario:

      1. Edit the application.
      2. Enter a new repository URL.
      3. Click the repository dropdown.

      Actual results:

      First scenario: The list of Revisions is missing the last entry.

      Second scenario: URL dropdown is empty.

      acm215.mov

      Expected results:

      First scenario: All branches should be listed. For example, https://github.com/fxiang1/app-samples should show branches main and val-b1, but only main is shown.

      Second scenario: Previous repository URL value should still be available in dropdown.

      acm214.mov

      Additional info:

      Regression from the removal of deprecated components.

      There is some logic here that seems to be involved:
      https://github.com/stolostron/console/blob/main/frontend/packages/react-form-wizard/src/inputs/InputSelect.tsx#L155

        1. acm215.mov
          8.00 MB
        2. acm214.mov
          5.90 MB

              zlayne@redhat.com Zackery Layne
              rh-ee-kcormier Kevin Cormier
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: