Skip to content

Fix alert in duration overview chart

What does this MR do and why?

Related to #425493 (closed)

This MR fixes alert in duration overview chart by registering GlAlert component to properly display error message. It also adds storybook stories for cases where there's no data and when there's error message.

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-01-11_at_12.40.03 Screenshot_2024-01-11_at_12.40.30

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Open storybook
  2. Find duration_overview_chart component
  3. Open "Error Message" story
  4. Check if alert displayed properly

Merge request reports