Support $search for the agentConfigurations query

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Issue

As reported in UI lists only 100 agents in the select dropdown (#395486 - closed), the agent creation modal only shows the first 100 agents available for registering. To solve the issue, we need to add a support for the $search option on the agentConfigurations query.

Implementation Guide

Implement $search for the agentConfigurations query.

  1. On the rails side expect a search term from the frontend and filter the agent configurations according to the search term.
  2. On the frontend side replace searchAgent method filtering logic and include search term to the agentConfigurations query.
Edited by 🤖 GitLab Bot 🤖