Skip to content

Add frontend URL validation for uploading metrics images (edit modal)

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

Add frontend URL validation for uploading metrics images (edit modal).

Combined add/edit metrics image dialogs into a single component since they have almost identical templates and logic.

Update related spec files.

Update pot file.

Closes: #455231 (closed)

Changelog: changed

Screenshots or screen recordings

Before After
before.mov after.mov

How to set up and validate locally

  1. Run GitLab instance or gdk. Premium/Ultimate license is required.
  2. Go to <your-project> > Monitor > Incidents. Create an incident.
  3. Go to a created incident. Open Metrics tab.
  4. Try to upload and then edit an incident image. Review result.
Edited by 🤖 GitLab Bot 🤖

Merge request reports