Repository navigation
Home: a tap on Reading stats opens the stats page - #372
Open
9retirement6irk wants to merge 1 commit into
Open
9retirement6irk wants to merge 1 commit into
9retirement6irk wants to merge 1 commit into
Conversation
The tap handler returned when ctx.editMode was set, but that's ZenOS's standing "hold a widget to change it" setting (on by default), so the page never opened. A hold still opens the widget's settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HqNYrwobY8un97LQ2jriQC
This branch has not been deployed
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.
What changes for the user
A tap on Home's Reading stats (every device) widget now opens the reading stats page. It did nothing before.
The widget's tap gave up whenever ZenOS's "edit mode" was on. That isn't "Home is being edited": it's ZenOS's standing setting that lets a hold open a widget's settings, and it's on by default, so the tap always gave up. A hold still opens the widget's settings.
Tested
run_tests.luaruns the widget's real tap handler with edit mode on: the page opens; a tap outside, or one that opens the top menu, doesn't.To try on a device
Keyboard Kindles (2, 3, DX, 4) still reach the page from Catalog → Grimmory / BookOrbit → Reading stats, as the wiki says; this PR changes only the tap.
Generated by Claude Code