Add GraphQL version for named-list component
What does this MR do and why?
Add GraphQL version for named-list component
The named-list component is used on the new, standalone findings modal that leverages GraphQL. This commit adds the GraphQL version of the named-list component.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Setup
- Have the related FF enabled:
echo "Feature.enable(:standalone_finding_modal)" | rails c
- You'll need an EE License
- You'll need to have runners enabled (See $2408961 for setting up a runner)
- Import https://gitlab.com/gitlab-examples/security/security-reports (note: important to use the latest version, because it contains a recent fix)
- Run a pipeline on master
Validation
- Go to the pipeline's security report tab
- Set Filter: Tool -> DAST
- Click on the finding
- Verify that the comments section renders as in the screenshot above
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 #389925 (closed)
Edited by David Pisek