Skip to content

Cover reader journeys and fix navigation and offline editing regressions - #170

Merged
Eoic merged 5 commits into
developmentfrom
test/169-reader-journeys
Nov 26, 2026
Merged

Eoic merged 5 commits into
developmentfrom
test/169-reader-journeys

Conversation

@Eoic

@Eoic Eoic commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Closes #169. Depends on PapyrusReader/reader#37 for touch selection on later EPUB pages. Covers FR-3_1, FR-3_4, FR-4_1, FR-4_2, FR-4_3, FR-5_1, FR-5_3, FR-6_1 and NFR-2_3.

Changes

  • Add repeatable Android and iPhone journeys for native file import and resume, reflowed EPUB bookmarks, highlight editing, PDF pan and zoom, goal corrections, statistics, notes, and Back navigation.
  • Preserve the originating shelf and active book tab. Guard unsaved edits on browser Back and toolbar Back. Restore the iPhone edge swipe on book routes and return a directly opened editor to its book. Bind edits made during startup to the persisted library. Preserve browser Forward and flush reader progress on close.
  • Exercise offline note isolation with two authenticated accounts and verify lost upload responses against disposable PostgreSQL, PowerSync and Toxiproxy. Run Android process recovery and seeded Monkey against an emulator.
  • Select Android, Chrome and sync jobs by the files a PR changes. Nightly and manual runs include the full suites. The navigation and gesture tests exercise the real platform controls.

Verification

The full Flutter suite passed 2,403 tests with 24 skipped. All seven Patrol journeys passed on both the Android emulator and the iPhone simulator. Three runs against the rebuilt Chrome app verified Save and Discard from a direct editor link, the saved title, and browser Back to the preceding document. Both fault scenarios passed against the live disposable sync stack. A focused Flutter regression also reads the saved title directly from the repository that supplied the book during startup.

The independent review identified gaps in the gesture-job selector and direct-link editor handling. Both now have regression coverage. The first hosted Android run also caught a fixture-copy failure on a freshly booted emulator. The runner now waits for writable Downloads and streams the fixture through the Android shell. A local emulator returned a byte-for-byte copy of the EPUB.

The client pins merged reader development at 7246136624660d476234cfb15587a55a29bd53c7. Locked dependency resolution and all 61 client reader tests passed. The Back journey uses an unsaved four-star rating to exercise native Back independently of the on-screen keyboard. It waits for the confirmation dialog to close, verifies the retained draft, and checks the stored rating after Discard. The revised journey passed locally on Android API 36 and the iPhone simulator.

Journey commands and fixture details

Compatibility

The changes use the existing library schema and server API. The sync harness creates temporary accounts, containers and local databases for its tests.

Copilot AI balanced review requested due to automatic review settings November 26, 2026 13:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T13:36:31.981107Z e0ea003 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Eoic
Eoic merged commit 96cfb33 into development Nov 26, 2026
15 checks passed
@Eoic
Eoic deleted the test/169-reader-journeys branch November 26, 2026 14:28
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.

Cover reader journeys, offline recovery, and navigation history

2 participants