Add monitoring tooltip

This commit is contained in:
aditya.chandel
2025-02-07 02:50:10 -07:00
parent 581f6a32a5
commit 540ef21525
2 changed files with 8 additions and 2 deletions
@@ -24,8 +24,13 @@
</div>
</div>
<div class="flex items-center gap-3">
<p>Monitor Folders: </p>
<p>Monitor Folders:</p>
<p-toggleswitch [(ngModel)]="watch" />
<i class="pi pi-info-circle text-sky-600"
pTooltip="Toggle this to enable or disable folder monitoring. When enabled, the system will watch specified folders for file changes. Books are added and removed automatically based on files added or removed in the library folders."
tooltipPosition="right"
style="cursor: pointer;">
</i>
</div>
</div>
<app-icon-picker (iconSelected)="onIconSelected($event)"></app-icon-picker>
@@ -13,12 +13,13 @@ import {FormsModule} from '@angular/forms';
import {InputText} from 'primeng/inputtext';
import {Library} from '../../model/library.model';
import {ToggleSwitch} from 'primeng/toggleswitch';
import {Tooltip} from 'primeng/tooltip';
@Component({
selector: 'app-library-creator',
standalone: true,
templateUrl: './library-creator.component.html',
imports: [Button, TableModule, StepPanel, IconPickerComponent, NgIf, FormsModule, InputText, Stepper, StepList, Step, StepPanels, ToggleSwitch],
imports: [Button, TableModule, StepPanel, IconPickerComponent, NgIf, FormsModule, InputText, Stepper, StepList, Step, StepPanels, ToggleSwitch, Tooltip],
styleUrl: './library-creator.component.scss'
})
export class LibraryCreatorComponent implements OnInit {