stumpapp / stump

A free and open source comics, manga and digital book server with OPDS support (WIP)
https://stumpapp.dev
MIT License
993 stars 45 forks source link

[FEATURE] QoL epubs #378

Open hollisticated-horse opened 3 months ago

hollisticated-horse commented 3 months ago

Is your feature request related to a problem? Please describe. A variety of things that would improve reading EPUBs.

Describe the solution you'd like

WIP Proposal:

Describe alternatives you've considered n.a.

Additional context Based of

hollisticated-horse commented 3 months ago

I'd be happy to try to make some design drafts in a penpot we could share @aaronleopold

aaronleopold commented 3 months ago

have a progress bar instead of page numbers interactive, be able to see small icons indicating highlights & bookmarks

I'm personally a HUGE fan of Yomu's progress bar, if you have seen it.

I'd be happy to try to make some design drafts in a penpot we could share

Absolutely! Any design help is extremely appreciated πŸ™‚

hollisticated-horse commented 3 months ago

I'm personally a HUGE fan of Yomu's progress bar, if you have seen it.

Oooh, I have not. It's mac/ios specific, but it would be really cool if you could find screenshots. :D From the screenshot in the main page of the project, it does have a fairly minimalistic look. What is good about it ?

I find that the bookfusion one is decent, similar to foliate (linux, flathub). But not a lot of information displayed.

Absolutely! Any design help is extremely appreciated πŸ™‚

I'll make a penpot project later, if you'd like ? I can send you an invite by email. I'm a bit busy, but in a few weeks I should have more time. :D

aaronleopold commented 3 months ago

From the screenshot in the main page of the project, it does have a fairly minimalistic look. What is good about it ?

Yeah it's very minimalist, I'm just preferential to that kind of design in general. It chunks each chapter into blocks, then shows your relative position in the block for the current chapter. This is very difficult to do with EPUB.js, though.

I find that the bookfusion one is decent, similar to foliate (linux, flathub)

I haven't given bookfusion a proper look, a quick glance at the preview looks good too

I'll make a penpot project later, if you'd like ? I can send you an invite by email. I'm a bit busy, but in a few weeks I should have more time. :D

No rush or expectations on my end. I haven't used penpot before, but email works

hollisticated-horse commented 1 month ago

Here a first proposition:

https://design.penpot.app/#/view/c0ee57fd-603e-804a-8004-c6d33343fd51?page-id=c0ee57fd-603e-804a-8004-c6d33343fd52&section=interactions&index=0&share-id=c04641ea-355e-80b8-8005-0340b73be6c6

I'm thinking that the sections in the progress bar should reflect the toc and page counts ?

Inspired by Yomu's progress bar.

EDIT:

@aaronleopold updated the link

aaronleopold commented 1 month ago

https://design.penpot.app/#/view/c0ee57fd-603e-804a-8004-c6d33343fd51?page-id=c0ee57fd-603e-804a-8004-c6d33343fd52&section=interactions&index=0

I don't seem to have access. I thought maybe I would need an account to access, but still get the same error after creating one and trying the link:

This page might not exist or you don’t have permissions to access to it.

aaronleopold commented 1 month ago

I just took a look. I think it's good!

I'm thinking that the sections in the progress bar should reflect the toc and page counts

Yeah, that's how Yomu does it too. Each chapter (toc entry) is a block, and the fill is based on your current page in the current chapter. The caveat would be offhand I don't know how simple calculating that would be, mostly because to generate accurate sizing of previous chapters would mean we know how many pages are in each which is a lot of computation that would be reactive to any changes in the viewport size