diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/BookLoreUser.java b/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/BookLoreUser.java index 773a9cb7b..1dc8e0717 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/BookLoreUser.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/model/dto/BookLoreUser.java @@ -208,6 +208,7 @@ public class BookLoreUser { private GlobalOrIndividual pdf; private GlobalOrIndividual epub; private GlobalOrIndividual cbx; + private GlobalOrIndividual newPdf; public enum GlobalOrIndividual { Global, Individual diff --git a/booklore-api/src/main/java/com/adityachandel/booklore/service/user/DefaultUserSettingsProvider.java b/booklore-api/src/main/java/com/adityachandel/booklore/service/user/DefaultUserSettingsProvider.java index 9e414f8e3..79e837b23 100644 --- a/booklore-api/src/main/java/com/adityachandel/booklore/service/user/DefaultUserSettingsProvider.java +++ b/booklore-api/src/main/java/com/adityachandel/booklore/service/user/DefaultUserSettingsProvider.java @@ -54,6 +54,7 @@ public class DefaultUserSettingsProvider { .epub(BookLoreUser.UserSettings.PerBookSetting.GlobalOrIndividual.Individual) .pdf(BookLoreUser.UserSettings.PerBookSetting.GlobalOrIndividual.Individual) .cbx(BookLoreUser.UserSettings.PerBookSetting.GlobalOrIndividual.Individual) + .newPdf(BookLoreUser.UserSettings.PerBookSetting.GlobalOrIndividual.Individual) .build(); } diff --git a/booklore-ui/src/app/features/settings/reader-preferences/reader-preferences.component.html b/booklore-ui/src/app/features/settings/reader-preferences/reader-preferences.component.html index 8acfc51b5..fa1e14582 100644 --- a/booklore-ui/src/app/features/settings/reader-preferences/reader-preferences.component.html +++ b/booklore-ui/src/app/features/settings/reader-preferences/reader-preferences.component.html @@ -10,88 +10,7 @@
- Control how default settings are applied. Select "Default Override" to apply your configured defaults to all books of the same format, overriding individual book preferences. Choose "Book-Specific" to let each book retain its own custom reading settings. -
-- Choose whether default zoom, layout, and navigation settings override individual PDF preferences or if each document maintains its own settings. -
-- Choose whether default font, theme, and layout settings override individual eBook preferences (EPUB, FB2, MOBI, AZW3) or if each book maintains its own settings. -
-- Choose whether default layout, direction, and scaling settings override individual comic book preferences (CBZ, CBR, CB7) or if each file maintains its own settings. -
-+ Configure how default reader settings are applied across your library. Choose "Default Override" to enforce your preferred defaults across all books of the same format, or select "Book-Specific" to preserve individual reading preferences for each book. +
++ Control whether your default zoom level, page layout, and navigation preferences apply to all PDFs or if each document retains its own settings. +
++ Determine whether your default font, theme, and layout preferences apply to all eBooks (EPUB, FB2, MOBI, AZW3) or if each book maintains its own settings. +
++ Set whether your default page layout, reading direction, and scaling preferences apply to all comics (CBZ, CBR, CB7) or if each file keeps its own settings. +
++ Choose whether your default view mode, fit mode, and scroll direction apply to all streaming PDFs or if each document maintains its own configuration. +
+