Skip to content

Enhance UX on Environment Form with Loading Icon

Andrew Fontaine requested to merge afontaine/enhance-environment-form into master

What does this MR do?

The loading icon adds nice feedback to the user that something is happening, but we only unset it in the error case as the good case (in both editing and creating) navigate us to a new page anyway.

Also disable the submit button if the form does not pass validations. The validations are pretty simple, so if they don't pass, there's no way the backend will accept it.

Finally, delete the HAML form. We don't need it anymore.

Changelog: changed

Screenshots or Screencasts (strongly suggested)

Screen_Recording_2021-07-23_at_10.56.51

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

For #336744 (closed)

Edited by Paul Slaughter

Merge request reports