Add sort actions to all columns in Storage view in Usage quotas (Frontend)
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
This MR is the frontend counterpart to !184030 (merged)
It adds support for sorting all columns in the storage view.
References
Issue: #419928 (closed)
Screenshots or screen recordings
How to set up and validate locally
To be able to test sorting, you can add a new project to an existing namespace and add project statistics:
- Create a new project in an existing group e.g. with the GDK seed data, in
toolbox. - With
rails c, add project statistics to this project:
Project.last.statistics.update(packages_size: 5, wiki_size: 4, snippets_size: 7, lfs_objects_size: 3, pipeline_artifacts_size: 8, container_registry_size: 9)
- Now you can check the
Usage quotasof the group:Toolbox > Settings > Usage Quotas. You should see two projects (Gitlab smoke testsand the project you've created) that can be sorted.
MR acceptance checklist
MR Checklist ( @nwittstruck)
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the javascript style guides -
Conforms to the database guides
Related to #419928 (closed)
Edited by 🤖 GitLab Bot 🤖
