feat: paging functionality with volume buttons or tap on sides#1062
Merged
Conversation
Owner
|
thanks for the PR @jprichter . I'll take a longer look when I have time. But I can see that there are some CI failures (emulator tests): Please have a look at those |
Contributor
Author
|
@spacecowboy got the emulator test failures taken care of. There are three other ci checks failing. Can I ignore those for now? |
Owner
This was referenced Mar 16, 2026
jenningsloy318
added a commit
to jenningsloy318/Feeder
that referenced
this pull request
Mar 30, 2026
Incorporate upstream changes from master (v2.17.0, v2.18.0) while preserving all AI features developed on ai-features branch. Upstream features incorporated: - Paging mode with volume buttons and tap zones (spacecowboy#1062) - Home screen widget support (spacecowboy#1018) - Blocklist apply-to-summaries toggle (spacecowboy#1003) - AGP 9.0.0 + OkHttp 5.3.2 upgrade (spacecowboy#1051) - LazyColumn to Column migration for text selection crash fix (spacecowboy#1045) - Read item opacity (spacecowboy#996) - Bug fixes: sync deletion, compact layout scroll, network crash - 20+ language i18n updates via Weblate AI features preserved: - Multi-provider AI architecture (OpenAI + Anthropic) - Per-paragraph translation with circular progress - Mikepenz markdown rendering for summaries - Text selection menu customization - Summary/translation cancellation support Resolved 10 merge conflicts (3 HIGH, 3 MEDIUM, 4 LOW). Deleted superseded openai/ package and LeakCanary references. Re-indexed SettingsViewModel combine() params (35 total). Added mainActivityViewModel parameter to all 13 navigation destinations.
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.
Paging Mode for E-Ink Devices
This PR introduces a "Paging Mode" to optimize the reading experience for e-ink devices. It is added via an option in the settings of the app.
Key Features
VOLUME_UP/DOWNto trigger page jumps.SettingsStoreand preserved via OPML import/export.Technical Implementation
Architecture: Follows the existing MVVM/Robots pattern. Uses a
SharedFlowinMainActivityViewModelto broadcastscrollCommandsto theArticleScreen.Navigation: Updated
NavigationDestinationto provideMainActivityViewModelaccess to the article reader safely.UI/UX:
Paging ModeandAnimated Paging.articleScrollState.scrollTofor instant jumps when animations are disabled to minimize e-ink flashing.Stability: Exhaustive
whenexpressions updated; unit tests added forPagingSettingsand OPML logic.Why this approach?
Previous discussions (Issue #970 / #692) highlighted concerns regarding knowing what is off-screen. This implementation uses
articleScrollStateto perform relative jumps based on viewport height, ensuring a consistent 10% reading overlap regardless of content length.