Change corpus upload modal to use prop instead of graphQL
What does this MR do and why?
Tech debt cleanup. Reduces the double graphQL query by passing down state as a prop. Issue: #327897 (closed)
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
- From the gitlab repo open a rails console and enable the :corpus_management feature flag
bundle exec rails c
then
[4] pry(main)> Feature.enable(:corpus_management)
Navigate to:
http://172.16.123.1:3000/<group>/<project>/-/security/configuration/corpus_management
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 #326362 (closed)
Edited by -