Render mr note in finding modal
What does this MR do and why?
In this MR, the MR note is rendered in the finding modal
Screenshots or screen recordings
MR + Issue | MR |
---|---|
Note: the UI is slightly different (from production) when there is an issue, I'll fix that in this issue > #391731
How to set up and validate locally
Setup
- Have the related FF enabled:
echo "Feature.enable(:pipeline_security_dashboard_graphql)" | 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-org/govern/demos/sandbox/minac/test-remediations
- Run a pipeline on master
Validation
- Go to the pipeline's security report tab
- Click on an finding with an mr attached to it
- Verify that the "MR note" renders as expected
The simplest way to attach a MR to the finding is to disable the feature flag so you have access to the "Create MR" UI. After a MR is created, enable the feature flag to continue the validation steps.
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 #391741 (closed)
Edited by Samantha Ming