kavya-paperback icon indicating copy to clipboard operation
kavya-paperback copied to clipboard

Reading Lists support

Open spawntty opened this issue 8 months ago • 3 comments

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 getReadingListDetails function 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 getChapters to 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.

spawntty avatar Aug 20 '25 16:08 spawntty

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!

ACK72 avatar Sep 09 '25 11:09 ACK72

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

spawntty avatar Sep 10 '25 19:09 spawntty

@ACK72 I'm bumping this PR to ask if you're ok with merging

spawntty avatar Nov 10 '25 16:11 spawntty