I've changed the Library page to be a little more streamlined, and I've added a bunch of new features:
- List, Cards, Compact, and Covers views: All sub-pages that actually display books now have these four views to choose from. List is... a list (surprise), Cards are the same as before, but now you can also view the books in the Compact view (smaller front cover and only the title), and Covers (only the front cover).
- Pagination: Almost all of the sub-pages (except really short ones) are now properly paginated, with options to choose how many items are displayed per page.
- Filters and sorting: Every sub-page now has appropriate filtering options (and even some advanced ones), and a plethora of sorting options (even some fun ones to do with the covers; see below).
- Search: There was a search option before, but it was weak and didn't include the option to search the whole catalogue at once, which you now can.
- Cookies: The state of the filtering and sorting that you do are now persisted in cookies that live for 1 year, so you don't have to redo it all when you browse around.
I wanted to have a tiny view of the front covers (the Covers view) for a specific reason, namely to be able to sort books by visual features of the front covers. I've currently implemented three of them, but I plan on adding more:
- Spectrum: Sorts the books by the colors of the rainbow, and puts them into categories: Chromatic (red to violet), Neutrals (light to dark), and those without a cover scan. Example: Spectrum cover sort, 500 books per page.
- Complexity: Sorts the books by how complex the covers are, from Quiet to Busy. Example: Complexity cover sort, 500 books per page.
- Day Cycle: Sorts the books by the "colors of a day cycle", as it were, from Dawn to Midnight. You can choose two presentation modes: Continuous (which displays the books one after the other), and Phases (which divides the books into Dawn, Morning, Noon, Golden Hour, Dusk, Twilight, and Midnight). Exmaples: Day Cycle cover sort, Continuous presentation mode, 500 books per page and Day Cycle cover sort, Phases presentation mode, 500 books per page.
The current maximum per page is 500, so make sure to go through the pages if you want to see the full effect. I'm very tempted to add the choice of no limit, because it's really cool to be able to view absolutely every book in these new modes. We'll see.