Skip to content

fix: remove decimal places from progress %#507

Merged
daveallie merged 2 commits intocrosspoint-reader:masterfrom
treetrum:feat/progress-percent-precision
Jan 27, 2026
Merged

fix: remove decimal places from progress %#507
daveallie merged 2 commits intocrosspoint-reader:masterfrom
treetrum:feat/progress-percent-precision

Conversation

@treetrum
Copy link
Contributor

@treetrum treetrum commented Jan 23, 2026

Summary

Addresses #504

  • Reverts book progress % to showing as an integer instead of with a decimal place
    • This was changed to 1 decimal point of precision in Adds KOReader Sync support #232 from what I can tell
    • As this wasn't the primary intention of that PR, I'm assuming it was left in accidentally

IMO having a decimal place of precision is too much for something as vague as book completion percent. This de-clutters the status bar and prevents extra updates as you change pages.


AI Usage

YES

@treetrum treetrum changed the title Add setting to configure progress % precision feat: new setting to configure progress % precision Jan 23, 2026
@treetrum treetrum marked this pull request as ready for review January 23, 2026 08:29
@osteotek
Copy link
Member

osteotek commented Jan 23, 2026

I'm not sure if we should create setting for every possible customization option 🙂 it is already getting bit out of hand. How about in this PR just revert to integer progress and let the maintainer(s) decide

@Eloren1
Copy link
Contributor

Eloren1 commented Jan 23, 2026

Then we should just leave the integer

@treetrum
Copy link
Contributor Author

treetrum commented Jan 23, 2026

Yeah, that's a fair point. Agreed that not everything needs to be a setting.

My opinion is that you probably don't need decimal level precision on book progress, so happy to make this PR just revert to pre 0.15.0 behaviour.

I'll update.

@treetrum treetrum changed the title feat: new setting to configure progress % precision feat: remove decimal places from progress % Jan 23, 2026
@Eloren1
Copy link
Contributor

Eloren1 commented Jan 23, 2026

It's a fix not feat

@treetrum treetrum changed the title feat: remove decimal places from progress % fix: remove decimal places from progress % Jan 23, 2026
@lukestein
Copy link
Contributor

lukestein commented Jan 23, 2026

Testing on device and seems to work for both epub and text files. 🎉

This issue was slightly annoying me. Thanks for fixing!

@osteotek osteotek requested a review from daveallie January 23, 2026 20:31
@daveallie daveallie merged commit b8ebcf5 into crosspoint-reader:master Jan 27, 2026
7 checks passed
Jessica765 pushed a commit to Jessica765/crosspoint-reader that referenced this pull request Feb 3, 2026
## Summary

Addresses
crosspoint-reader#504

- Reverts book progress % to showing as an integer instead of with a
decimal place
- This was changed to 1 decimal point of precision in
crosspoint-reader#232 from
what I can tell
- As this wasn't the primary intention of that PR, I'm assuming it was
left in accidentally

IMO having a decimal place of precision is too much for something as
vague as book completion percent. This de-clutters the status bar and
prevents extra updates as you change pages.

---

### AI Usage

YES
Unintendedsideeffects pushed a commit to Unintendedsideeffects/crosspoint-reader that referenced this pull request Feb 17, 2026
## Summary

Addresses
crosspoint-reader#504

- Reverts book progress % to showing as an integer instead of with a
decimal place
- This was changed to 1 decimal point of precision in
crosspoint-reader#232 from
what I can tell
- As this wasn't the primary intention of that PR, I'm assuming it was
left in accidentally

IMO having a decimal place of precision is too much for something as
vague as book completion percent. This de-clutters the status bar and
prevents extra updates as you change pages.

---

### AI Usage

YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants