Refactor Storage and Pipelines tabs initiation files
What does this MR do and why?
In the past MRs we've worked as part of &7176 (closed) we've created some new patterns to initiate the Vue Apps on each tab of Usage Quotas.
Since pipelines
and storage
tabs were migrated first, they aren't following this pattern. This MR fixes that.
In addition to that, we've refactored the initiation method to receive an options
object instead of positioned params.
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
There shouldn't be any UI changes
usage_quotas_for_all_editions off |
usage_quotas_for_all_editions on |
---|---|
How to set up and validate locally
- Enable and disable the Feature Flag
usage_quotas_for_all_editions
:- To enable the FF:
Feature.enable(:usage_quotas_for_all_editions)
- To disable the FF:
Feature.disable(:usage_quotas_for_all_editions)
- To enable the FF:
- Check
Usage Quotas
page and make sure it renders fine
Edited by Sheldon Led