Repository navigation
fix(reader): Refine reading continuity and add cross-browser acceptance - #1
Merged
Merged
Conversation
shixi-11
force-pushed
the
fix/pr3-reader-polish
branch
from
October 28, 2026 19:16
b3f5357 to
0e3e7b5
Compare
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.
Continues the design on top of alux-network#3, rebased onto its browser-test baseline. Restores the bronze branding and approved small chapter artwork, improves day/night and mobile presentation, and adds scroll reading, remembered chapter progress and manual language. CJK matching extends the existing mdBook search index; the content and build model remain native mdBook.
Browser acceptance now lives in web/test/browser.test.ts and runs through the existing node:test entry on desktop Chromium, Firefox and WebKit, plus Pixel 7/Chromium and iPhone 13/WebKit simulations. Playwright replaces the single-browser Puppeteer dependency so one driver covers these engines. Routes still come from expectedSite(); missing engines fail the run. The scenarios cover navigation/history, progress, RTL, bookmarks, native search/cache, delayed script loading, orientation, technical content and audio.
A focused touch-toolbar correction prevents mdBook's hover-driven sticky state from moving a button between touchend and click, and keeps heading anchors clear of the toolbar. The browser monitor distinguishes old-page font cancellations during explicit document navigation from failed resources, with missing-font 404 negative fixtures. Separate Windows portability fixes retain the existing content checks. README.md and AGENTS.md document the test setup and state boundaries; the workflow installs all engines, checks fix branches and npm-ws PRs, and still publishes only on master pushes.
Mobile configurations are simulations. Physical Android Chrome and iOS Safari sign-off remain outstanding; no iPhone or iPad was available.