Hide obsolete migration warning when AS not set up
What does this MR do and why?
Fixes #431420 (closed)
When AS is not setup (we check by calling Gitlab::Elastic::Helper.default.ping?
), the warning about pending obsolete migrations provides no value to the user, so we don't show it.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Setup fresh GDK/GitLab instance with Advanced Search disabled
- Navigate to Advanced Search settings
- Observe warning being not being shown
- Enable Advanced Search
- Observe warning being shown
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 Manuel Grabowski