Fetch Issue Feedback from GraphQL when a finding is clicked
What does this MR do and why?
This MR fetches the finding issue feedback data from GraphQL when a finding is clicked to be displayed in the modal. The fetched data is then patched to the pre-existing finding object.
Screenshots or screen recordings
When an issue is created, the Create Issue
button is no longer displayed:
How to set up and validate locally
- Enable feature flag:
:refactor_security_extension
- Fork https://gitlab.com/gitlab-examples/security/security-reports
- Create a new MR by modifying a file
- Visit the MR page
- Click on a finding and create an issue
- Come back to the MR page and re-open the same modal
You should see the issue feedback.
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 #391577 (closed)
Edited by Savas Vedova