Prevent search for when under 3 characters
What does this MR do and why?
Follow-up to !100433 (comment 1138668413). For performance reasons the search does not return any results under 3 characters. This MR updates the search input so that it doesn't call the API under 3 characters.
Screenshots or screen recordings
Before | After |
---|---|
Screen_Recording_2022-10-24_at_1.40.25_PM | Screen_Recording_2022-10-24_at_12.33.32_PM |
How to set up and validate locally
- Enable
group_overview_tabs_vue
feature flagbin/rails console
Feature.enable(:group_overview_tabs_vue)
- Go to a group overview. e.g http://gdk.test:3000/flightjs
- Search in the first tab
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Hegman