Add step-by-step documentation for setting up email integration (#1273)
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
<h2 class="settings-title">
|
||||
<i class="pi pi-envelope"></i>
|
||||
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>
|
||||
<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.
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
color: var(--p-primary-color);
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.external-link-icon {
|
||||
color: #0ea5e9 !important;
|
||||
font-size: 0.875rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
.settings-description {
|
||||
|
||||
@@ -23,7 +23,7 @@ import {CreateEmailProviderDialogComponent} from '../create-email-provider-dialo
|
||||
TableModule,
|
||||
Tooltip,
|
||||
FormsModule
|
||||
],
|
||||
],
|
||||
templateUrl: './email-provider.component.html',
|
||||
styleUrl: './email-provider.component.scss'
|
||||
})
|
||||
@@ -117,7 +117,7 @@ export class EmailProviderComponent implements OnInit {
|
||||
header: 'Create Email Provider',
|
||||
modal: true,
|
||||
closable: true,
|
||||
style: { position: 'absolute', top: '15%' },
|
||||
style: {position: 'absolute', top: '15%'},
|
||||
});
|
||||
this.ref.onClose.subscribe((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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user