Skip to content

Migrate mirror repos form errors

Diana Zubova requested to merge dz/364884-migrate-mirror-repos-form-errors into master

What does this MR do and why?

Migrate errors form for mirroring repositories project settings.

Closes #364884 (closed)

Screenshots or screen recordings

Before After
Screenshot_2022-07-14_at_15.05.25 Screenshot_2022-07-14_at_15.06.27

How to set up and validate locally

  1. Open a project where you have admin rights
  2. Navigate to Settings -> Repository http://localhost:3000/flightjs/Flight/-/settings/repository
  3. Expand Mirroring repositories section
  4. Trigger an error, for example by adding this line to the haml - @project.errors.add(:base, "Something went wrong")
  5. Observe change form error

MR acceptance checklist

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

Merge request reports