Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Percentage (in addition to page numbers) for books #26

Open
n00b12345 opened this issue Jan 30, 2025 · 5 comments
Open

Percentage (in addition to page numbers) for books #26

n00b12345 opened this issue Jan 30, 2025 · 5 comments
Labels
enhancement New feature or request

Comments

@n00b12345
Copy link

Since the page numbers on ebooks are different from how page numbers in physical books work, it would be nice to have progress measured as a percentage.

So, when a user adds a new book without any page number details, the application automatically moves to percentage progress. Or something of that sort. Do consider it, if possible.

@Mozzo1000 Mozzo1000 added the enhancement New feature or request label Jan 30, 2025
@Mozzo1000
Copy link
Owner

Hi and thank you for showing interest in this project!
Interesting input. Just to make it clear, you as a user wants to input "10% read" instead of what page you are on?

It is definitely possible. I will see what I can do.

@n00b12345
Copy link
Author

Hi and thank you for showing interest in this project!
Interesting input. Just to make it clear, you as a user wants to input "10% read" instead of what page you are on?

It is definitely possible. I will see what I can do.

That's exactly right. With ebooks and switching between devices, page numbers become inconsistent. Therefore percentage makes more sense in these cases.

@Mozzo1000
Copy link
Owner

That's exactly right. With ebooks and switching between devices, page numbers become inconsistent. Therefore percentage makes more sense in these cases.

Awesome, thank you!
I don't read many ebooks so it is great getting a different view on things.

Some technical notes for later...
We could implement this by having the server calculate the percentage based on amount of pages read. Could then allow the user to manually edit the percentage.. this however would create a discrepancy between pages read and percentage. Maybe that's okay?
Or just add another field manual_percentage and display that value when it exists.
On the web side the user could switch between pages and percentage when they add a book to their list or when changing progress on a book.

@n00b12345
Copy link
Author

n00b12345 commented Jan 30, 2025

One way of implementing this is by letting the users add page numbers (as is the case already).

If however the user doesn't add page numbers, it could be assumed that the user does not have page number details and therefore the application assumes that the user is at 0% of 100% completion.

In the backend the percentage could be calculated with or without page numbers. This could work IMO. 😊

(By the way, the ability to edit total pages after a book has been added would be convenient. While testing, I noticed that I could leave out the page details while adding a book and the application would continue displaying NaN%)

Thank you again for considering the idea 👍

@Mozzo1000
Copy link
Owner

Amazing! Thank you for your input 😃

(By the way, the ability to edit total pages after a book has been added would be convenient. While testing, I noticed that I could leave out the page details while adding a book and the application would continue displaying NaN%)

I created two separate issues for this, #27 and #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants