feat!: introduce smart collections (#1436)

Smart Collections are no more than saved searches, currently. This
feature allows saving a freestyle query for later use. This will
eventually be a basic building block of dynamically updating lineups.
This commit is contained in:
Christian Benincasa
2025-10-27 15:39:28 -04:00
committed by GitHub
parent 71416520ea
commit 5183eae8e0
54 changed files with 28426 additions and 30976 deletions

View File

@@ -103,7 +103,7 @@ export const LibraryProgramGrid = ({
return {
query: searchRequest?.query,
filter,
restrictSeachTo: searchRequest?.restrictSearchTo,
restrictSearchTo: searchRequest?.restrictSearchTo,
};
}, [
currentParentContext,
@@ -200,14 +200,10 @@ export const LibraryProgramGrid = ({
return (
<Box sx={{ mt: 1 }}>
{depth === 0 && (
<>
{!isUndefined(totalHits) && (
<Typography textAlign="right" variant="subtitle2">
Total hits: {totalHits >= 1000 ? '>1000' : totalHits}
</Typography>
)}
</>
{depth === 0 && !isUndefined(totalHits) && (
<Typography textAlign="right" variant="subtitle2">
Total hits: {totalHits >= 1000 ? '>1000' : totalHits}
</Typography>
)}
{search.isLoading && <LinearProgress />}
{viewType === 'grid' ? (