Search Functionality in Project Selection with GitLab Sync Does Not Include Unloaded Projects #516
Description
Description
The current implementation of project selection with GitLab sync is inefficient and inconvenient for users with multiple projects. By default, only a limited number of projects are loaded initially, and the search functionality only considers this loaded subset. Users have to repeatedly press the "Load More" button to load additional projects before performing a search. This process is cumbersome and time-consuming, especially for users with a large number of projects.
Steps to Reproduce
- Navigate to the project selection interface with GitLab sync.
- Enter you GitLab access token and press the authetication button
- Observe that only a limited number of projects are initially loaded.
- Attempt to use the search functionality to find a project that is not within the initially loaded list.
- Press the "Load More" button multiple times to load more projects.
- Perform the search again.
Expected Result
The search functionality should consider all projects, including those not yet loaded, allowing users to find any project without repeatedly pressing the "Load More" button.
Actual Result
The search functionality only considers the projects that have been loaded. Users must manually load more projects to expand the search scope.
Impact
This issue significantly impacts users with a large number of projects by making the search process tedious and inefficient.
Suggested Solution
Implement a search feature that queries all projects available in the GitLab, regardless of whether they have been loaded in the UI.