batches: migrate execution page requests to Apollo
Created by: courier-new
Closes https://github.com/sourcegraph/sourcegraph/issues/32343.
Migrates queries and mutations called on the execution screen, with the exception of file diff connection queries, to Apollo Client and useQuery
hook.
Don't be alarmed by the diff stat -- ~300 lines of that is in mock data and the storybook story. This PR is net negative lines of code without them.
Test plan
Introduced additional storybook coverage for WorkspaceDetails
in different states. Tested requests and polling manually.
App preview:
Check out the client app preview documentation to learn more.