Add step-by-step documentation for setting up email integration (#1273)

This commit is contained in:
Aditya Chandel
2025-10-05 13:39:08 -06:00
committed by GitHub
parent 78fd509107
commit fd0e5de66c
3 changed files with 17 additions and 2 deletions
@@ -3,6 +3,12 @@
<h2 class="settings-title"> <h2 class="settings-title">
<i class="pi pi-envelope"></i> <i class="pi pi-envelope"></i>
Email Providers Email Providers
<i class="pi pi-external-link external-link-icon"
pTooltip="Click to view email setup documentation"
tooltipPosition="right"
(click)="navigateToEmailDocumentation()"
style="cursor: pointer;">
</i>
</h2> </h2>
<p class="settings-description"> <p class="settings-description">
Configure email-sending services like Gmail, Outlook, or custom SMTP servers for sending books via email. The default email provider will be used for 'Quick Book Send' located in the Book Card menu. Configure email-sending services like Gmail, Outlook, or custom SMTP servers for sending books via email. The default email provider will be used for 'Quick Book Send' located in the Book Card menu.
@@ -20,6 +20,11 @@
color: var(--p-primary-color); color: var(--p-primary-color);
font-size: 1.25rem; font-size: 1.25rem;
} }
.external-link-icon {
color: #0ea5e9 !important;
font-size: 0.875rem !important;
}
} }
.settings-description { .settings-description {
@@ -23,7 +23,7 @@ import {CreateEmailProviderDialogComponent} from '../create-email-provider-dialo
TableModule, TableModule,
Tooltip, Tooltip,
FormsModule FormsModule
], ],
templateUrl: './email-provider.component.html', templateUrl: './email-provider.component.html',
styleUrl: './email-provider.component.scss' styleUrl: './email-provider.component.scss'
}) })
@@ -117,7 +117,7 @@ export class EmailProviderComponent implements OnInit {
header: 'Create Email Provider', header: 'Create Email Provider',
modal: true, modal: true,
closable: true, closable: true,
style: { position: 'absolute', top: '15%' }, style: {position: 'absolute', top: '15%'},
}); });
this.ref.onClose.subscribe((result) => { this.ref.onClose.subscribe((result) => {
if (result) { if (result) {
@@ -136,4 +136,8 @@ export class EmailProviderComponent implements OnInit {
}); });
}); });
} }
navigateToEmailDocumentation() {
window.open('https://booklore-app.github.io/booklore-docs/docs/email-setup', '_blank');
}
} }