Skip to content

feat: Go To Position for epubs#666

Merged
daveallie merged 16 commits intocrosspoint-reader:masterfrom
osteotek:feat-goto
Feb 5, 2026
Merged

feat: Go To Position for epubs#666
daveallie merged 16 commits intocrosspoint-reader:masterfrom
osteotek:feat-goto

Conversation

@osteotek
Copy link
Member

@osteotek osteotek commented Feb 2, 2026

Summary

  • Adds Go To % action in Epub Reader menu with slider style percent selector
image

AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? < PARTIALLY >

Copilot AI review requested due to automatic review settings February 2, 2026 16:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a "Go To %" feature for EPUB readers, allowing users to jump to any percentage position in a book using a slider-style interface.

Changes:

  • Adds new EpubReaderPercentSelectionActivity with slider UI for percentage selection
  • Integrates percentage jump functionality into EpubReaderActivity with spine item and page calculation
  • Adds "Go to %" menu option to the EPUB reader menu

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/activities/reader/EpubReaderPercentSelectionActivity.h Header for new slider-based percent selection activity with UI rendering task and input handling
src/activities/reader/EpubReaderPercentSelectionActivity.cpp Implementation of percent selector with slider UI, button controls for 1% and 10% adjustments
src/activities/reader/EpubReaderMenuActivity.h Adds GO_TO_PERCENT menu action and "Go to %" menu item
src/activities/reader/EpubReaderActivity.h Declares new methods and member variables for percentage-based navigation
src/activities/reader/EpubReaderActivity.cpp Implements jumpToPercent logic to convert percentage to spine index and page, plus helper methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Eloren1
Copy link
Contributor

Eloren1 commented Feb 2, 2026

How to activate it? Which button to press?

@osteotek
Copy link
Member Author

osteotek commented Feb 2, 2026

How to activate it? Which button to press?

It's in epub reader menu, press confirm

@osteotek osteotek changed the title feat: Go To % for epubs feat: Go To Position for epubs Feb 3, 2026
@osteotek osteotek requested a review from a team February 3, 2026 09:24
@daveallie daveallie merged commit ddbe49f into crosspoint-reader:master Feb 5, 2026
4 checks passed
jdk2pq added a commit to jdk2pq/crosspoint-reader that referenced this pull request Feb 5, 2026
* master:
  feat: add shift lock to KeyboardEntryActivity (crosspoint-reader#513)
  feat: rename and move in file manager (crosspoint-reader#630)
  feat: Implement fix for sunlight fading issue (crosspoint-reader#603)
  chore: Add PR title check on sync (crosspoint-reader#698)
  feat: Go To Position for epubs (crosspoint-reader#666)
  feat: Calibre Web Automated (CWA) koreader sync server support (crosspoint-reader#594)
  chore: Add CI check job to consolidate status (crosspoint-reader#696)
  chore: CI Build Summary - firmware stats, firmware artifact (crosspoint-reader#601)
  feat: quick rotate option in epub reader menu (crosspoint-reader#685)
  feat(settings): add "Cover + Custom" sleep screen mode (crosspoint-reader#582)
  fix: Artifacts on Thumb on Home Screen (crosspoint-reader#662)
  feat: holding back button while booting, boots to home screen as a mean of escaping boot loop (crosspoint-reader#587)
  docs: Add small SCOPE.md and GOVERNANCE.md documents (crosspoint-reader#640)
  feat: front button remapper (crosspoint-reader#664)
  feat: UI themes, Lyra (crosspoint-reader#528)
  feat: Add CSS parsing and CSS support in EPUBs (crosspoint-reader#411)
  fix: move http upload state to heap (crosspoint-reader#657)
Unintendedsideeffects pushed a commit to Unintendedsideeffects/crosspoint-reader that referenced this pull request Feb 17, 2026
## Summary

* Adds Go To % action in Epub Reader menu with slider style percent
selector

<img width="860" height="1147" alt="image"
src="https://github.com/user-attachments/assets/a38ecc71-429e-40e8-94ac-37fb1509dbd9"
/>

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**< PARTIALLY >**_

---------

Co-authored-by: Copilot <[email protected]>
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.

4 participants