feat(filters): add age rating and content rating filters, improve filter options (#479)
* feat(filters): add age rating and content rating filters, improve filter options * fix(book-browser): update view mode handling to use reactive properties * fix(book-browser): update view mode handling to use getter methods * feat(filters): improve filtering capabilities with comic creators and validate input values * test(filters): fix AppBookServiceFilterOptionsTest with additional query mocks * fix(filters): improve error handling for invalid filter bucket IDs and roles * refactor(book-browser): remove unused computedFilterLabel * fix(filters): validate shelfStatus values and throw error for invalid inputs * test(book-browser): mock TranslocoService for language changes in tests * fix(book-browser): ensure active language is set before syncing browser state
This commit is contained in:
@@ -231,8 +231,10 @@ export type VisibleFilterType =
|
||||
|
||||
export const DEFAULT_VISIBLE_FILTERS: VisibleFilterType[] = [
|
||||
'author', 'category', 'series', 'bookType', 'readStatus',
|
||||
'personalRating', 'library', 'tag', 'ageRating', 'contentRating',
|
||||
'matchScore', 'publisher', 'publishedDate', 'fileSize'
|
||||
'personalRating', 'amazonRating', 'goodreadsRating', 'hardcoverRating',
|
||||
'library', 'tag', 'ageRating', 'contentRating',
|
||||
'matchScore', 'publisher', 'publishedDate', 'fileSize',
|
||||
'pageCount', 'shelfStatus', 'language', 'mood', 'narrator'
|
||||
];
|
||||
|
||||
// Translation key for each filter option — use book.filter.labels.<value>
|
||||
|
||||
Reference in New Issue
Block a user