Show and allow creation of unknown performers/tags/studios/movies from scraper dialog (#741)

* Fix toast container z-index
* Make scrape operations network only
* Add CollapseButton component
This commit is contained in:
WithoutPants
2020-08-22 18:12:39 +10:00
committed by GitHub
parent 2cdec6bde1
commit 1fd3fcc6a8
14 changed files with 388 additions and 46 deletions

View File

@@ -405,6 +405,7 @@ export const queryScrapeFreeones = (performerName: string) =>
variables: {
performer_name: performerName,
},
fetchPolicy: "network-only",
});
export const queryScrapePerformer = (
@@ -417,6 +418,7 @@ export const queryScrapePerformer = (
scraper_id: scraperId,
scraped_performer: scrapedPerformer,
},
fetchPolicy: "network-only",
});
export const queryScrapePerformerURL = (url: string) =>
@@ -425,6 +427,7 @@ export const queryScrapePerformerURL = (url: string) =>
variables: {
url,
},
fetchPolicy: "network-only",
});
export const queryScrapeSceneURL = (url: string) =>
@@ -433,6 +436,7 @@ export const queryScrapeSceneURL = (url: string) =>
variables: {
url,
},
fetchPolicy: "network-only",
});
export const queryScrapeMovieURL = (url: string) =>
@@ -441,6 +445,7 @@ export const queryScrapeMovieURL = (url: string) =>
variables: {
url,
},
fetchPolicy: "network-only",
});
export const queryScrapeScene = (
@@ -453,6 +458,7 @@ export const queryScrapeScene = (
scraper_id: scraperId,
scene,
},
fetchPolicy: "network-only",
});
export const mutateReloadScrapers = () =>