Skip to content

Add name and description fields

Savas Vedova requested to merge 301003-add-form-inputs into master

What does this MR do and why?

Related to #301003 (closed)

This is the second MR that extends the newly created manually vulnerability creation page. This commit adds two fields to the page. To keep the MR size reasonable, I am adding fields section by section. The last MR will be about handling the form submission.

The route is only accessible through the URL and is not yet linked to the UI. Therefore, there is no need to develop this behind a feature flag.

To see the previous MR check: !74505 (merged)

Screenshots or screen recordings

See the original design here: #204818[m01_Manual-result_first-run-experience.png]

design implementation
image image

And here's a GIF that shows how the Markdown Field works:

add-vuln-page

How to set up and validate locally

  1. Navigate to /-/security/vulnerabilities/new through the URL (should be a project scope)
  2. The page should render with a title and description and two fields to insert the vulnerability name and description
  3. These fields will do nothing, that functionality will be added on subsequent MRs

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 #301003 (closed)

Edited by Savas Vedova

Merge request reports