Skip to content

Search user list for the whole text when text with spaces is provided

Vamsi Vempati requested to merge 434930-fix-for-search-with-spaces into master

What does this MR do and why?

Search user list for the whole search term text when text with spaces is provided

  • Fixes an issue where search term with spaces returned user list matching only the last word in the search term

Changelog not required - all changes are behind a feature flag.

Related to #434930

Screenshots or screen recordings

Before After
Screen Recording 2023-12-18 at 11.19.17 AM.mov Screen Recording 2023-12-18 at 11.20.51 AM.mov

How to set up and validate locally

Application setup

  1. Customers Dot needs to be setup in order to view the billing page for a group
  2. Start GDK in SaaS mode GITLAB_SIMULATE_SAAS=1 gdk start

Group setup

  1. Create a Group
  2. Buy a Subscription for your group from Settings > Billing

Feature flag

Run the following in your rails console

Feature.enable(:hamilton_seat_management, Namespace.find(your-group-id))

Add-on purchase

Purchase an add-on for the subscription purchased above in Group setup step by following the instructions here (under Add Code Suggestions Add-On to a subscription section).

Code Suggestions tab

  1. Visit /groups/<your-namespace-name>/-/usage_quotas#code-suggestions-usage-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.

Edited by Vamsi Vempati

Merge request reports