Feature: Add support for recording when a book is finished, so that users can create Magic Shelves based on this information. (#803)
* Added migration for new field in user_book_progress table * Added ability to set date finished when book status changes to read, and reset date finished when book status changes to another value * Added ability to use date published in a Magic Shelf
This commit is contained in:
@@ -59,6 +59,7 @@ export type RuleField =
|
||||
| 'fileType'
|
||||
| 'fileSize'
|
||||
| 'readStatus'
|
||||
| 'dateFinished'
|
||||
| 'metadataScore';
|
||||
|
||||
|
||||
@@ -107,6 +108,7 @@ export type GroupFormGroup = FormGroup<{
|
||||
const FIELD_CONFIGS: Record<RuleField, FullFieldConfig> = {
|
||||
library: {label: 'Library'},
|
||||
readStatus: {label: 'Read Status'},
|
||||
dateFinished: {label: 'Date Finished', type: 'date'},
|
||||
metadataScore: {label: 'Metadata Score', type: 'decimal', max: 100},
|
||||
title: {label: 'Title'},
|
||||
authors: {label: 'Authors'},
|
||||
|
||||
Reference in New Issue
Block a user