feat(sort): replace compound sort options with atomic fields and multi-sort support (#2686)

* fix(sidebar): replace routerLinkActive with getter-based route matching to prevent stale highlights

* feat(sort): replace compound sort options with atomic fields and add 6 new sort criteria
This commit is contained in:
ACX
2026-02-10 14:27:07 -07:00
committed by GitHub
parent 78a8bb4fea
commit 0fa84e3424
23 changed files with 509 additions and 190 deletions
+6 -2
View File
@@ -41,17 +41,21 @@
},
"sortFields": {
"title": "Title",
"titleSeries": "Title + Series",
"fileName": "File Name",
"filePath": "File Path",
"addedOn": "Date Added",
"author": "Author",
"authorSurnameVorname": "Author (Surname)",
"authorSeries": "Author + Series",
"seriesName": "Series Name",
"seriesNumber": "Series Number",
"personalRating": "Personal Rating",
"publisher": "Publisher",
"publishedDate": "Published Date",
"lastReadTime": "Last Read",
"readStatus": "Read Status",
"dateFinished": "Date Finished",
"readingProgress": "Reading Progress",
"bookType": "Book Type",
"pageCount": "Pages"
},
"sortDirections": {
+16 -3
View File
@@ -27,12 +27,12 @@
"saveSuccess": "Preferences Saved",
"saveSuccessDetail": "Your sorting and view preferences were saved successfully.",
"sortTitle": "Title",
"sortTitleSeries": "Title + Series",
"sortFileName": "File Name",
"sortFilePath": "File Path",
"sortAuthor": "Author",
"sortAuthorSurname": "Author (Surname)",
"sortAuthorSeries": "Author + Series",
"sortSeriesName": "Series Name",
"sortSeriesNumber": "Series Number",
"sortLastRead": "Last Read",
"sortPersonalRating": "Personal Rating",
"sortAddedOn": "Added On",
@@ -47,13 +47,26 @@
"sortHardcoverRating": "Hardcover Rating",
"sortHardcoverCount": "Hardcover #",
"sortRanobedbRating": "Ranobedb Rating",
"sortReadStatus": "Read Status",
"sortDateFinished": "Date Finished",
"sortReadingProgress": "Reading Progress",
"sortBookType": "Book Type",
"sortPages": "Pages",
"sortRandom": "Random",
"entityLibrary": "Library",
"entityShelf": "Shelf",
"entityMagicShelf": "Magic Shelf",
"viewGrid": "Grid",
"viewTable": "Table"
"viewTable": "Table",
"saveSortDefault": "Save as Default",
"sortSaved": "Sort Saved",
"sortSavedDetail": "Sort configuration saved for this {{entityType}}.",
"editSort": "Edit Sort",
"tableSortConfig": "Sort Config",
"visibleSortFields": "Visible Sort Fields",
"visibleSortFieldsDesc": "Choose which sort fields appear in the book browser's sort dropdown and drag to reorder.",
"sortFieldCount": "{{count}} of {{total}} selected",
"resetToDefaults": "Reset to defaults"
},
"filter": {
"sectionTitle": "Filter Preferences",