Skip to content

Add frontend URL validation for uploading metrics images

What does this MR do and why?

Add frontend URL validation for uploading metrics images

Updated related spec file

Updated pot file

Closes: #386254

Finalizes MR

Changelog: changed

Screenshots or screen recordings

Before After
before.mov after.mov

How to set up and validate locally

  1. Run GDK and switch to the git branch with changes.
  2. Go to some project > Monitor > Incidents .
  3. Create a new incident if needed.
  4. Go to incident's Metrics tab (Premium/Ultimate tier is required).
  5. Add a file. Then in the opened modal input an invalid URL in the corresponding form input field. Review the result.

Related to #386254

Merge request reports