Skip to content

Switch tab based on URL hash

Sheldon Led requested to merge led/441171-switch-tab-based-on-url-hash into master

What does this MR do and why?

Currently there's a way to make Usage Quotas page render a specific tab on the page load based on the URL hash (the content after the # sign).

This MR accounts for adding this behavior to Usage Quotas Layout App.

We're also Moving the Title and Subtitle back to haml, to add some perceived performance while the Vue apps are loading.

Implements: Make Usage Quotas Layout App render tab based o... (#441171 - closed)

MR Cadence

header header
!145638 (merged) Refactor Storage and Pipelines tabs initiation files
!145643 (merged) 👈 you're here

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

Before After
441171_before 441171_after

How to set up and validate locally

  1. To enable the FF: Feature.enable(:usage_quotas_for_all_editions)
  2. Check Usage Quotas page and make sure it behaves as expected
Edited by Sheldon Led

Merge request reports