Move take ownership modal code over
Before this refactor of moving pipeline schedules over to Vue/GraphQL was underway, the team had to bring some Vue/JS functionality to this feature.
In app/views/projects/pipeline_schedules/index.html.haml
we inject a brand new Vue app #pipeline-take-ownership-modal
alongside the new Vue app for the entire feature refactor. That app is used right now for the HAML implementation so we can't get rid of it, instead we should port over the code to be used with the new refactor.
We should use app/assets/javascripts/pipeline_schedules/components/take_ownership_modal.vue
for the new refactor hooked up to the correct button. Once the refactor is done and the flag is rolled out, then we can remove the Vue app injection point along with the HAML code from the codebase.
IMPORTANT:
The "legacy" version here uses a rails path take_ownership_project_pipeline_schedule_path
for each schedule, we should first have this ability in GraphQL where we can call a mutation for a user to take ownership of a pipeline schedule.