Hide old widgets when new extensions are enabled
What does this MR do and why?
Hide the old metrics widget and the old browser performance widget when shouldShowExtension
is true, i.e. when the feature flag to show the new widget extensions is enabled, so we can start to roll out the new widgets without the old widgets also appearing.
Screenshots or screen recordings
with feature flag enabled, without this MR | with feature flag enabled, with this MR |
---|---|
![]() |
![]() |
How to set up and validate locally
- have GitLab Premium
git checkout main
- enable
refactor_mr_widgets_extensions
feature flag - find/clone a project with metrics and open a merge request
- there are two metrics widgets
git checkout mfluharty-hide-old-widgets-when-extensions-enabled
- refresh page, there should be only one metrics widget
git checkout main
- find/clone a project with browser performance and open a merge request
- there are two browser performance widgets
git checkout mfluharty-hide-old-widgets-when-extensions-enabled
- refresh page, there should be only one browser performance widget
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Miranda Fluharty