Skip to content

Migrate alert_mapping_builder.vue to GlCollapsibleListbox

What does this MR do and why?

Migrate deprecated GlDropdown to GlCollapsibleListbox in app/assets/javascripts/alerts_settings/components/alert_mapping_builder.vue.

It's a part of Pajamas adoption project

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
alerts_dropdown_old alerts_dropdown_new

How to set up and validate locally

  1. Open some project
  2. Goto Settings -> Monitor
  3. Expand Alerts section
  4. Create new http integration and define some test payload:
{
  "custom": "Custom value",
  "field1": "title",
  "field2": "description",
  "start_time": "1234",
  "end_time": "1234",
  "number1": 1000,
  "events": [{"field3": "event3"}, {"field4": "event4"}]
}
  1. Verify dropdown fields.

Related to #412840 (closed)

Edited by Taras Tadai

Merge request reports