mirror of
https://github.com/adityachandelgit/BookLore.git
synced 2026-01-06 10:40:19 -06:00
Add documentation for metadata fetch settings and correct broken links in other docs. (#1293)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<i class="pi pi-tablet"></i>
|
||||
Kobo Integration Settings
|
||||
<i class="pi pi-external-link external-link-icon"
|
||||
pTooltip="Click to view Kobo setup documentation"
|
||||
pTooltip="View documentation"
|
||||
tooltipPosition="right"
|
||||
(click)="openKoboDocumentation()"
|
||||
style="cursor: pointer;">
|
||||
|
||||
@@ -206,7 +206,7 @@ export class KoboSyncSettingsComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
openKoboDocumentation(): void {
|
||||
window.open('https://booklore-app.github.io/booklore-docs/docs/devices/kobo', '_blank');
|
||||
window.open('https://booklore-app.github.io/booklore-docs/docs/integration/kobo', '_blank');
|
||||
}
|
||||
|
||||
ngOnDestroy(): void {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<i class="pi pi-mobile"></i>
|
||||
KOReader Sync Settings
|
||||
<i class="pi pi-external-link external-link-icon"
|
||||
pTooltip="Click to view KOReader setup documentation"
|
||||
pTooltip="View documentation"
|
||||
tooltipPosition="right"
|
||||
(click)="openKoReaderDocumentation()"
|
||||
style="cursor: pointer;">
|
||||
|
||||
@@ -132,6 +132,6 @@ export class KoreaderSettingsComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
openKoReaderDocumentation() {
|
||||
window.open('https://booklore-app.github.io/booklore-docs/docs/devices/koreader', '_blank');
|
||||
window.open('https://booklore-app.github.io/booklore-docs/docs/integration/koreader', '_blank');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<i class="pi pi-envelope"></i>
|
||||
Email Providers
|
||||
<i class="pi pi-external-link external-link-icon"
|
||||
pTooltip="Click to view email setup documentation"
|
||||
pTooltip="View documentation"
|
||||
tooltipPosition="right"
|
||||
(click)="navigateToEmailDocumentation()"
|
||||
style="cursor: pointer;">
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<div class="config-label-row">
|
||||
<label class="config-label">Cookie (Optional, but highly recommended)</label>
|
||||
<i class="pi pi-external-link external-link-icon"
|
||||
pTooltip="Click to view Amazon cookie setup documentation"
|
||||
pTooltip="View documentation"
|
||||
tooltipPosition="right"
|
||||
(click)="navigateToAmazonCookieDocumentation()"
|
||||
style="cursor: pointer;">
|
||||
@@ -89,7 +89,7 @@
|
||||
<div class="config-label-row">
|
||||
<label class="config-label">API Token</label>
|
||||
<i class="pi pi-external-link external-link-icon"
|
||||
pTooltip="Click to view Hardcover API documentation"
|
||||
pTooltip="View documentation"
|
||||
tooltipPosition="right"
|
||||
(click)="navigateToHardcoverTokenDocumentation()"
|
||||
style="cursor: pointer;">
|
||||
|
||||
@@ -3,6 +3,12 @@
|
||||
<h2 class="settings-title">
|
||||
<i class="pi pi-database"></i>
|
||||
Library Metadata Configuration
|
||||
<i class="pi pi-external-link external-link-icon"
|
||||
pTooltip="View documentation"
|
||||
tooltipPosition="right"
|
||||
(click)="navigateMetadataDoc()"
|
||||
style="cursor: pointer;">
|
||||
</i>
|
||||
</h2>
|
||||
<p class="settings-description">
|
||||
Configure metadata fetch behavior for your libraries. Set global defaults and create library-specific overrides to control how book metadata is retrieved from different providers.
|
||||
|
||||
@@ -16,6 +16,11 @@
|
||||
background: var(--p-content-background);
|
||||
}
|
||||
|
||||
.external-link-icon {
|
||||
color: #0ea5e9 !important;
|
||||
font-size: 0.875rem !important;
|
||||
}
|
||||
|
||||
.settings-header {
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
|
||||
@@ -12,11 +12,12 @@ import {MetadataRefreshOptions} from '../../metadata/model/request/metadata-refr
|
||||
import {MetadataAdvancedFetchOptionsComponent} from '../../metadata/metadata-options-dialog/metadata-advanced-fetch-options/metadata-advanced-fetch-options.component';
|
||||
import {AppSettings, AppSettingKey} from '../../core/model/app-settings.model';
|
||||
import {AppSettingsService} from '../../core/service/app-settings.service';
|
||||
import {Tooltip} from 'primeng/tooltip';
|
||||
|
||||
@Component({
|
||||
selector: 'app-library-metadata-settings-component',
|
||||
standalone: true,
|
||||
imports: [CommonModule, FormsModule, MetadataAdvancedFetchOptionsComponent, AccordionModule],
|
||||
imports: [CommonModule, FormsModule, MetadataAdvancedFetchOptionsComponent, AccordionModule, Tooltip],
|
||||
templateUrl: './library-metadata-settings.component.html',
|
||||
styleUrls: ['./library-metadata-settings.component.scss']
|
||||
})
|
||||
@@ -219,4 +220,8 @@ export class LibraryMetadataSettingsComponent implements OnInit {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
navigateMetadataDoc(): void {
|
||||
window.open('https://booklore-app.github.io/booklore-docs/docs/metadata/metadata-fetch-configuration', '_blank');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<i class="pi pi-server"></i>
|
||||
OPDS Settings (New)
|
||||
<i class="pi pi-external-link external-link-icon"
|
||||
pTooltip="Click to view OPDS setup documentation"
|
||||
pTooltip="View documentation"
|
||||
tooltipPosition="right"
|
||||
(click)="navigateToOpdsDoc()"
|
||||
style="cursor: pointer;">
|
||||
|
||||
Reference in New Issue
Block a user