Skip to content

Migrate to alert advanced_search to shared global alert

What does this MR do and why?

Update ee/app/views/admin/application_settings/advanced_search.html.haml to leverage the shared alert HAML partial (app/views/shared/_global_alert.html.haml).

Related to #354595 (closed)

Screenshots or screen recordings

Before After
Screen_Shot_2022-03-15_at_2.35.50_PM Screen_Shot_2022-03-15_at_2.35.58_PM

How to set up and validate locally

  1. Quickest way to enable this alert is to set @elasticsearch_warn_if_not_using_aliases in application_settings_controller.rb to be true
  2. Visit Advanced Search admin page

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vamsi Vempati

Merge request reports