Reading Lists support
This PR adds basic Reading Lists support.
Changes
- Added "Reading Lists" section to homepage with configurable visibility via toggle option to show/hide in settings
- Implemented
getReadingListDetailsfunction to fetch reading list metadata including title, cover image, and associated creators - Added "rl-" prefix for reading list IDs to distinguish from regular series
- Modified
getChaptersto handle both series and reading lists
Note about chapters ordering
Inside getChapters, there was an issue with the chapter order when using Reading Lists. The chapter order was previously determined using the following values (if available):
- Volume number
- Chapter number
To fix this, I removed the Volume number and set the Chapter number to the corresponding Reading List's order.
Additionally, to clearly identify which series and issue a chapter belongs to, I updated the chapter name format to: ${seriesName} #${chapterNumber}.
Maybe there is a better way to do it that I did not found.
Haven't tested it yet but seems great. I want to test it now but I dont have time for it. If you tested it and can confirm for working, I'll merge it.
Thanks for the contribution!
I used it for some time to read an entire Kavita read list, and it worked correctly. Tell me if you need some more info before merging
@ACK72 I'm bumping this PR to ask if you're ok with merging