WIP: Metadata

This commit is contained in:
aditya.chandel
2025-01-03 23:43:16 -07:00
parent f976c70bed
commit c7724e6837
17 changed files with 295 additions and 324 deletions
@@ -85,7 +85,6 @@ export class BookCardComponent implements OnInit {
openBookDetailsDialog(bookId: number): void {
this.bookService.getBookByIdFromAPI(bookId, true).subscribe(({
next: (book) => {
console.log(book)
this.dialogService.open(BookInfoTabsComponent, {
header: 'Open book details',
modal: true,
@@ -36,14 +36,6 @@
</div>
</li>
<p-divider layout="vertical" />
<li>
<a class="topbar-item">
<i class="pi pi-book text-surface-700 dark:text-surface-100" (click)="openBookDetailsDialog()"
pTooltip="Book Details" tooltipPosition="top"></i>
</a>
</li>
<li>
<a class="topbar-item">
<i class="pi pi-plus-circle text-surface-700 dark:text-surface-100" (click)="openLibraryCreatorDialog()"
@@ -77,22 +77,6 @@ export class AppTopBarComponent implements OnDestroy {
this.showEvents = !this.showEvents;
}
openBookDetailsDialog(): void {
this.ref = this.dialogService.open(BookInfoTabsComponent, {
header: 'Open book details',
modal: true,
closable: true,
width: '1200px',
height: '835px',
showHeader: false,
closeOnEscape: true,
data: {
bookId: 1
}
});
}
openLibraryCreatorDialog(): void {
this.ref = this.dialogService.open(LibraryCreatorComponent, {
header: 'Create New Library',