Bug 1992982
| Summary: | The "Target namespace" list should display only namespaces that match the text in the field | ||
|---|---|---|---|
| Product: | Migration Toolkit for Virtualization | Reporter: | Maayan Hadasi <mguetta> |
| Component: | User Experience | Assignee: | Michael Spaxman <mspaxman> |
| Status: | CLOSED ERRATA | QA Contact: | kpunwatk |
| Severity: | medium | Docs Contact: | Avital Pinnick <apinnick> |
| Priority: | low | ||
| Version: | 2.1.0 | CC: | fbladilo, fdupont, istein, mturley, rhoch, vconzola |
| Target Milestone: | --- | Keywords: | RFE |
| Target Release: | 2.3.0 | Flags: | vconzola:
needinfo+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-04-04 18:03:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Maayan Hadasi
2021-08-12 07:42:50 UTC
@vconzola, what is the Patternfly recommendation for this interaction? The text field is not a filter. It's for creating a new namespace, as described in the helper text below the field. We recognize this might not be intuitive and are looking at ways to make it more clear. Vince, the text field acts both as the value of a new namespace and as a filter. As you type, the options in the dropdown are reduced to things that match what you typed, and you can click one of them to replace what you've typed or you can close the field to retain what you've typed as the new namespace (either by clicking away from it or clicking the 'Create "mynamespace"' option in the list). That's the intended behavior of Typeahead Select with persisted input. I think this is a bug. Closing and reopening the dropdown while there is text in the field should not alter the options shown. Opened an issue upstream: https://github.com/patternfly/patternfly-react/issues/6300 To be clear, I mean it is a bug in PatternFly. We're using the field correctly. Patternfly team claims the component is working as intended and we may want to use a separate similar component.Moving to 2.3 so we can evaluate that. Reassigning to Mike S. Next steps are to reopen the PF issue and possibly open a PR to implement a prop for retaining the filter status when closing/reopening the dropdown. Need to see if PF folks are okay with it (their suggestion of using SearchInput doesn't seem to meet our needs since we also need this to behave like a normal Select if you don't type anything). Verified with MTV-2.3.0-23 / iib: 171525, CNV/OCP-4.10 The MTV UI in the create plan wizard 'target namespace' dropdown list now works as you type, the options in the dropdown are reduced to things that match what you typed, and you can click one of them to replace what you've typed or you can close the field to retain what you've typed as the new namespace (either by clicking away from it or clicking the 'Create "mynamespace"' option in the list) 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.3.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-2022:1183 |