Skip to content

fix(reader): Refine reading continuity and add cross-browser acceptance - #1

Merged
tgrospic merged 11 commits into
tgrospic:npm-wsfrom
shixi-11:fix/pr3-reader-polish
Oct 28, 2026
Merged

tgrospic merged 11 commits into
tgrospic:npm-wsfrom
shixi-11:fix/pr3-reader-polish

Conversation

@shixi-11

@shixi-11 shixi-11 commented Oct 28, 2026 •

Copy link
Copy Markdown

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.

@shixi-11
shixi-11 force-pushed the fix/pr3-reader-polish branch from b3f5357 to 0e3e7b5 Compare October 28, 2026 19:16
@shixi-11 shixi-11 changed the title fix(reader): Preserve reading continuity and refine book presentation fix(reader): Refine reading continuity and add cross-browser acceptance Oct 28, 2026
@tgrospic tgrospic added the enhancement New feature or request label Oct 28, 2026
@tgrospic
tgrospic merged commit b2a797d into tgrospic:npm-ws Oct 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants