feat(viewer): add context-aware series collapse functionality (#2073)
- Introduced support for context-specific series collapse preferences for libraries, shelves, and magic shelves. - Improved backward compatibility with legacy preference structures. - Added JSON aliasing for `seriesCollapse` to maintain API compatibility. - Extended entity selection in view preferences to include magic shelves. - Enhanced error handling in app settings service to filter null values. - Optimized series collapse preference management, ensuring local and global overrides persist accurately. Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ export interface EntityViewPreference {
|
||||
}
|
||||
|
||||
export interface EntityViewPreferenceOverride {
|
||||
entityType: 'LIBRARY' | 'SHELF';
|
||||
entityType: 'LIBRARY' | 'SHELF' | 'MAGIC_SHELF';
|
||||
entityId: number;
|
||||
preferences: EntityViewPreference;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user