Migrate `form_errors` in web_hooks/_form.html.haml to Pajamas alert
requested to merge 364948-migrate-form_errors-in-app-views-shared-web_hooks-_form-html-haml-to-pajamas-alertcomponent-2 into master
What does this MR do and why?
Migrate form_errors
in app/views/shared/web_hooks/_form.html.haml to Pajamas::AlertComponent.
Screenshots or screen recordings
Scenario | Screenshot |
---|---|
Before | ![]() |
After | ![]() |
How to set up and validate locally
- Go to any project on your local GDK.
- In the left menu bar go to -
Settings -> Webhooks
. - Add a new webhook with any values.
- Then click on the
edit
button against the newly added webhook. (The newly added webhook will be shown below the form.) - Change the
URL
to blank and clickSave changes
. - 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 #364948 (closed)
Edited by Sharmad Nachnolkar