Skip to content

Issue 351689 - Prevent autocomplete searches under X characters

Tomas Bulva requested to merge 351689 into master

What does this MR do and why?

Blocks autocomplete search for less then 2 characters.

closes: #351689 (closed)

Screenshots or screen recordings

Before After
before-351689 after-351689

How to set up and validate locally

  1. Enable new header search
    Feature.enable(:new_header_search)
  2. Visit http://127.0.0.1:3000
  3. Click in the header search input box
  4. Type in any single letter (no change)
  5. Type in second letter (see autocomplete suggestions pop in)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading