Enable Filter groups by name in the Usage quota groups/projects table
What does this MR do?
It adds a search box to the projects' table to filter projects by name.
It does that by sending the input from the search box to the graphql query as a new variable $searchTerm
.
This MR doesn't add a loading indicator, it's being added in !45854 (merged).
Related to #247840
Testing
- Enable needed feature flags and application settings in rails console:
Feature.enable(:buy_storage_link)
Feature.enable(:additional_repo_storage_by_namespace)
ApplicationSettings::UpdateService.new(Gitlab::CurrentSettings.current_application_settings, nil, { repository_size_limit: 10240, automatic_purchased_storage_allocation: true }).execute
- Add some test data, use this for a quick test data added to
root
user (you can change the user before running the script in rails console). - Add some projects to one of the test groups added.
- Navigate to the test group from the previous step, go to the
Usage Quota
from sidebar thenStorage Quota
tab inside the page.
Screenshots
Also added some padding to enhance readability (added .gl-pr-5
to the project title).
before | after |
---|---|
Does this MR meet the acceptance criteria?
Conformity
Edited by Ammar Alakkad