Remove unused Usage Quotas tab initiation js files
What does this MR do and why?
These files should've been removed in Cleanup Feature Flag: usage_quotas_for_all_edit... (!149041 - merged)
With the Feature Flag being removed, Usage Quotas tabs don't use these file to render anymore. The render happens with:
- Div with id
#js-usage-quotas-view
in thehaml
file:Group
,Project
,Profile
- This div will be selected to load the
Usage Quotas View App
:Group
,Project
,Profile
, - The
Usage Quotas View App Initializator
will loadtab_metadata
depending on theview_type
(Group, Project, or Profile)- These metadata differ per view type, and per GitLab distribution (e.g.
CE group_view_metadata
vsEE group_view_metadata
- These metadata differ per view type, and per GitLab distribution (e.g.
- Each Page view metadata will include the necessary tab initiator, that does the job that the files being deleted in this MR used to do, example: Pipelines tab_metadata
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
N/A
How to set up and validate locally
- Simply do a project search and notice that these files aren't imported/invoked anywhere
- Visit Usage Quotas Pages and notice they load fine:
-
Group Usage Quotas:
https://gitlab.com/groups/<group-id>/-/usage_quotas
-
Project Usage Quotas:
https://gitlab.com/<group-id>/<project-id>/-/usage_quotas
- Profile/User Namespace Usage Quotas: https://gitlab.com/-/profile/usage_quotas
-
Group Usage Quotas:
Edited by Sheldon Led