Created attachment 1757570 [details] searchstring "mtv" Description of problem: When you type a substring, It should checks for a match anywhere in the namespace name, Now it only searches at the beginning string of the namespace name. For Example, to find "openshift-rhmtv", you have to either write the full name "openshift-rhmtv" or have to manually scroll down the full list to select the desired namespace. In my expectation, when user type "mtv", It should match the "openshift-rhmtv" name space. Please find attached snapshots for "mtv" and "openshift-rhmtv" search string. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 1757572 [details] searchstring "openshfit-rhmtv"
I would add that when it's matching a substring, it should highlight it, so that the user knows why the namespace matches.
I will look into this, but we are limited by the restrictions of the PatternFly Typeahead Select component we're using. I think I can match on substrings but I'm not sure about highlighting.
I was able to add both the substring match and the highlighting in https://github.com/konveyor/forklift-ui/pull/429 :)
Reverting the highlighting for now (see https://github.com/konveyor/forklift-ui/pull/429#issuecomment-781490957). The PR is ready.
This should be part of build 2.0.0-8 / iib:62459.
Verified as fixed MTV version: 2.0.0-17 / iib:66911 I opened a new BZ in order to follow the highlighting RFE: https://bugzilla.redhat.com/show_bug.cgi?id=1951023
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (MTV 2.0.0 images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2021:2381