• Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Compound Search Filter UI - Improved Autocomplete Behavior

      When using autocomplete fields in the compound search filter:

      - Selecting from dropdown (click or arrow keys + Enter): Performs exact-match search by wrapping the value in quotes
      - Manual text entry (type + Enter or click arrow button): Performs regex/substring search as before

      Behavior change: Pressing Enter now applies the typed text as-is instead of selecting the first autocomplete suggestion. Use arrow keys to highlight a dropdown item before pressing Enter to select it.

      This change prevents zero-result searches when selecting autocomplete values that contain special regex characters like []()\.

      This change also prevents unintentionally broad searches when selecting a dropdown item that is a substring match of other items in the system.
      Show
      Compound Search Filter UI - Improved Autocomplete Behavior When using autocomplete fields in the compound search filter: - Selecting from dropdown (click or arrow keys + Enter): Performs exact-match search by wrapping the value in quotes - Manual text entry (type + Enter or click arrow button): Performs regex/substring search as before Behavior change: Pressing Enter now applies the typed text as-is instead of selecting the first autocomplete suggestion. Use arrow keys to highlight a dropdown item before pressing Enter to select it. This change prevents zero-result searches when selecting autocomplete values that contain special regex characters like []()\. This change also prevents unintentionally broad searches when selecting a dropdown item that is a substring match of other items in the system.
    • Rox Sprint 4.11A

      The new search components in the UI add the default behavior of using a regex search via text autocomplete. This has the enhancement of allowing users to perform a substring match on entered text, making most use cases for search easier.

      For example, to find the policy "Secure Shell (ssh) Port Exposed in Image" a user could enter "ssh" instead of "Secure shell..." to get the correct results.

      This change has created two new issues:

      1. Selecting an item from the autocomplete dropdown also applies a regex search, resulting in duplicate items. For example, selecting "central" from the dropdown will also return results for "central-db".
      2. Selecting an item that has regex special characters will cause the search to fail outright, as the characters are not interpreted literally.

      The fix for this will be as follows:

      1. Selected items from the autocomplete dropdown will perform an exact match instead of a regex match.
      2. Text entered into the autocomplete box and applied via "Enter" key, or via the manual apply button will continue to use regex search.

              rh-ee-dvail David Vail
              rh-ee-dvail David Vail
              ACS UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: