Add name and description fields
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 |
---|---|
And here's a GIF that shows how the Markdown Field works:
How to set up and validate locally
- Navigate to
/-/security/vulnerabilities/new
through the URL (should be a project scope) - The page should render with a title and description and two fields to insert the vulnerability name and description
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #301003 (closed)