Update highlights query for new users

This commit is contained in:
Jackson Harper
2024-01-03 18:21:13 +08:00
parent cba83c1593
commit a1ea20b964
2 changed files with 3 additions and 1 deletions

View File

@ -160,7 +160,7 @@ const createDefaultFiltersForUser =
filter: 'in:inbox sort:read-desc is:reading',
},
{ name: 'Non-Feed Items', filter: 'no:subscription' },
{ name: 'Highlights', filter: 'has:highlights mode:highlights' },
{ name: 'Highlights', filter: 'in:all has:highlights mode:highlights' },
{ name: 'Unlabeled', filter: 'no:label' },
{ name: 'Oldest First', filter: 'sort:saved-asc' },
{ name: 'Files', filter: 'type:file' },

View File

@ -171,7 +171,9 @@ export const EmptyLibrary = (props: EmptyLibraryProps) => {
return 'continue'
case 'no:subscription':
return 'non-feed'
// Handle both cases while we migrate
case 'has:highlights mode:highlights':
case 'in:all has:highlights mode:highlights':
return 'highlight'
case 'no:label':
return 'unlabeled'