feat(email): add format selection to email book dialog (#2650)
Allow users to choose which file format to send when emailing a book. Includes file size display and large file warnings for files >25MB. Backend: - Add optional bookFileId to SendBookByEmailRequest - Add resolveBookFile() to resolve specific file or fallback to primary - Update SendEmailV2Service to use specified file path Frontend: - Change openCustomSendDialog to accept Book object - Add format selection with radio buttons showing type/size - Add "Primary" badge and large file warning banner - Update book-card and metadata-viewer callers Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -256,7 +256,7 @@ export class MetadataViewerComponent implements OnInit, OnChanges {
|
||||
label: 'Custom Send',
|
||||
icon: 'pi pi-cog',
|
||||
command: () => {
|
||||
this.bookDialogHelperService.openCustomSendDialog(book.id);
|
||||
this.bookDialogHelperService.openCustomSendDialog(book);
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user