mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Settings UI refactor (#2086)
* Full width settings page * Group settings * Make config fields optional * auto save on change * Add settings context * Refactor stash library section * Restructure settings * Refactor tasks page * Add collapse buttons for setting groups * Add collapse buttons in library * Add loading indicator * Simplify task options. Add details to manual * Add manual links to tasks page * Add help tooltips * Refactor about page * Refactor log page * Refactor tools panel * Refactor plugin page * Refactor task queue * Improve disabled styling
This commit is contained in:
@@ -737,16 +737,14 @@ export const useTagsMerge = () =>
|
||||
update: deleteCache(tagMutationImpactedQueries),
|
||||
});
|
||||
|
||||
export const useConfigureGeneral = (input: GQL.ConfigGeneralInput) =>
|
||||
export const useConfigureGeneral = () =>
|
||||
GQL.useConfigureGeneralMutation({
|
||||
variables: { input },
|
||||
refetchQueries: getQueryNames([GQL.ConfigurationDocument]),
|
||||
update: deleteCache([GQL.ConfigurationDocument]),
|
||||
});
|
||||
|
||||
export const useConfigureInterface = (input: GQL.ConfigInterfaceInput) =>
|
||||
export const useConfigureInterface = () =>
|
||||
GQL.useConfigureInterfaceMutation({
|
||||
variables: { input },
|
||||
refetchQueries: getQueryNames([GQL.ConfigurationDocument]),
|
||||
update: deleteCache([GQL.ConfigurationDocument]),
|
||||
});
|
||||
@@ -781,9 +779,8 @@ export const useRemoveTempDLNAIP = () => GQL.useRemoveTempDlnaipMutation();
|
||||
|
||||
export const useLoggingSubscribe = () => GQL.useLoggingSubscribeSubscription();
|
||||
|
||||
export const useConfigureScraping = (input: GQL.ConfigScrapingInput) =>
|
||||
export const useConfigureScraping = () =>
|
||||
GQL.useConfigureScrapingMutation({
|
||||
variables: { input },
|
||||
refetchQueries: getQueryNames([GQL.ConfigurationDocument]),
|
||||
update: deleteCache([GQL.ConfigurationDocument]),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user