Feature/add manga to library category select dialog (#519)

* Move "SearchSettings" into "LibrarySettings"

* Change property "setOpen" to "onClose" for "CategorySelect"

* Optionally show category selection when adding manga to library

* Update "ignore filters" translation

* Move "ignore_filters" setting to "metadataServerSettings"
This commit is contained in:
schroda
2023-12-27 18:08:16 +01:00
committed by GitHub
parent 1345cfe624
commit e025efb9dc
12 changed files with 199 additions and 173 deletions

View File

@@ -11,9 +11,14 @@ import { requestManager } from '@/lib/requests/RequestManager.ts';
import { convertFromGqlMeta, getMetadataFrom } from '@/util/metadata';
export const getDefaultSettings = (): MetadataServerSettings => ({
// downloads
deleteChaptersManuallyMarkedRead: false,
deleteChaptersWhileReading: 0,
deleteChaptersWithBookmark: false,
// library
showAddToLibraryCategorySelectDialog: true,
ignoreFilters: false,
});
const getMetadataServerSettingsWithDefaultFallback = (