Skip to content

Improve form user experience

Savas Vedova requested to merge 352128-improvements-vuln-form into master

What does this MR do and why?

Use input event rather than blur to emit changes on the new vulnerability form. Previously, the form would be validated only when the user would blur from the input. Now it's on input.

How it works elsewhere How it works on the new vuln page
Peek_2022-02-03_00-03 Peek_2022-02-03_00-02

Screenshots or screen recordings

Fixed version:

fix-on-input

How to set up and validate locally

  1. You'll need an EE license.
  2. Navigate to :namespace/:project/-/security/vulnerabilities/new using the Address bar
  3. Click submit without filling the form and then type something in the erroneous fields.
  4. You should see that the error message disappears when something is typed

MR acceptance checklist

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

Related to #352128 (closed)

Edited by Savas Vedova

Merge request reports

Loading