Add 7 home-screen widgets#48
Open
Kellenok wants to merge 6 commits into
Open
Conversation
Add Continue Reading, Recent History, Novel Progress, Reading Stats, Search, and System Lookup widgets with shared Glance chrome, providers, and receivers.
Polish the Updates grid (header, 4-across covers, scroll, +N badges, size bounds) and align appwidget colors with Material You accent2 surfaces.
Ship screenshot previewImage assets and RemoteViews previewLayout shells for Chimahon widgets and Updates, wired in appwidget-provider metadata.
Refresh widgets from history Flow, immersion stats/novel signals, and app-lock changes with debounced targeted updates. Keep onStop as a safety net and fix Updates lock toggle refresh.
b933d40 to
88571ef
Compare
Show novel widget chapter from 1-based TOC order (not inflated spine index), sharing EpubBook TOC helpers with the reader. Continue reading uses Chapter instead of Ch. abbreviation.
sohilsayed
reviewed
Jul 9, 2026
Owner
There was a problem hiding this comment.
can you explain why did you change these it seems like something out of the pull request scope
Contributor
Author
There was a problem hiding this comment.
oh yea i missed that, i thought it matched stats path but it had been pulled into separate toc helpers istead. switched tthe novel widget to use the same chaptercount like stats
Drop EpubBook TOC helper extraction and ReaderViewModel refactor — NovelProgressWidget now derives Chapter N from metadata.chapterStarts and bookmark.characterCount (same basis as StatsScreenModel), with a 1-based spine fallback when starts are missing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
previewImage+previewLayout) for all of the aboveonStopsafety net (stats debounced on page-turns)Size
Testing
./gradlew.bat :app:assembleDebug/:app:installDebug