Skip to content

Home: a tap on Reading stats opens the stats page - #372

Open
9retirement6irk wants to merge 1 commit into
mainfrom
fix/stats-widget-tap
Open

9retirement6irk wants to merge 1 commit into
mainfrom
fix/stats-widget-tap

Conversation

@9retirement6irk

Copy link
Copy Markdown
Owner

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

  • Reproduced in the emulator (Paperwhite 3, demo Grimmory): before, the tap reached the widget's handler and stopped at that check; after, the page opens (screenshot in the session).
  • New check in run_tests.lua runs 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.
  • Full suite: 0 suites failed.

To try on a device

  1. Install the test build with this PR.
  2. On Home, tap the Reading stats notebook page: the reading stats page opens. Tap it to close.
  3. Hold the widget: its settings open, as before.

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

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
@9retirement6irk 9retirement6irk added the beta Include in the beta branch (test builds over Wi-Fi) label Nov 23, 2026 — with Claude
github-actions Bot added a commit that referenced this pull request Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta Include in the beta branch (test builds over Wi-Fi)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants