Migrate `form_errors` in milestones/_form.html.haml to Pajamas alert
requested to merge 364886-migrate-form_errors-in-app-views-projects-milestones-_form-html-haml-to-pajamas into master
What does this MR do and why?
Migrate form_errors
in app/views/projects/milestones/_form.html.haml to Pajamas::AlertComponent.
Screenshots or screen recordings
Scenario | Screenshot |
---|---|
Before | ![]() |
After | ![]() |
How to set up and validate locally
- On your local GDK, go to any project eg. http://localhost:3000/flightjs/Flight
- From the left menu bar, go to
Issues -> Milestones
. - Click on
New milestone
button. - Create a milestone such that
Due date
is beforeStart date
. - Observe that alert is shown.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #364886 (closed)
Edited by Sharmad Nachnolkar