Skip to content

refactor: vn reader mode#121

Merged
HuangAntimony merged 22 commits into
mainfrom
codex/vn-reader-pagination-refactor
Jun 25, 2026
Merged

refactor: vn reader mode#121
HuangAntimony merged 22 commits into
mainfrom
codex/vn-reader-pagination-refactor

Conversation

@HuangAntimony

Copy link
Copy Markdown
Owner

No description provided.

@HuangAntimony HuangAntimony merged commit d6d5936 into main Jun 25, 2026
1 check passed
@HuangAntimony HuangAntimony deleted the codex/vn-reader-pagination-refactor branch June 25, 2026 12:51
fraaerasmus added a commit to fraaerasmus/Hoshi-Reader-Android that referenced this pull request Jul 2, 2026
…eatures

Upstream v1.3.0 brings a full-library Statistics dashboard, a service-owned
Sasayaki playback rewrite (HuangAntimony#118) with its own foreground service, media
notification, lock-screen controls, playback speed, media-button handling and
M4B metadata, a VN reader pagination refactor (HuangAntimony#121), and assorted reader fixes.

Sasayaki: both the fork and upstream independently built background playback.
Adopt upstream's SasayakiPlaybackServiceRuntime/Notification/ReaderAttachment
architecture and drop the fork's now-redundant stack (SasayakiPlaybackHolder,
SasayakiMediaSession*, the restore/cue/playback coordinators, SasayakiReaderBinding,
SasayakiMatchView). Re-thread the reader onto upstream's SasayakiPlayer + auto-page.

Kept fork features, re-threaded onto upstream: 18-language kaihouguide lookup
(submodule + .gitmodules stay ours), JSON settings backup (incl. SasayakiSettings
export/import), multi-word phrase lookup + shift-hover (unioned with upstream's
code-point-aware scan), footer page-info (getPageInfo/ReaderPageInfo), Sasayaki
control position/scale (layered over upstream's dynamic sizing), edge-swipe
brightness/volume, reader keyboard shortcuts, Custom-theme color presets, and the
Hoshi Custom label / debug signing / update channel.

Deferred to a follow-up (removed here to land upstream cleanly, recoverable from
the pre-merge HEAD): the cross-tab now-playing mini-player and the Sasayaki sleep
timer (to be re-threaded onto the new runtime), plus the reader-open perf JS
tweaks (font-ready timeout / reveal-before-decode) that conflicted with upstream's
reader tests. Dropped for good in favor of upstream's equivalents: hold-to-seek,
headphone skip-action, 3.0x speed cap and lock-screen speed button.

All 185 shared/reader JS tests pass.
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.

1 participant