readest/apps
Huang Xin d745a8be26
Some checks are pending
CodeQL Advanced / CodeQL gate (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Blocked by required conditions
CodeQL Advanced / Analyze (javascript-typescript) (push) Blocked by required conditions
CodeQL Advanced / Analyze (python) (push) Blocked by required conditions
CodeQL Advanced / Analyze (rust) (push) Blocked by required conditions
Publish Docker image / build (linux/amd64, ubuntu-latest) (push) Waiting to run
Publish Docker image / build (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Publish Docker image / merge (push) Blocked by required conditions
Build with Nix / tests (push) Waiting to run
PR checks / CI gate (push) Waiting to run
PR checks / nix_flake_check (push) Blocked by required conditions
PR checks / rust_lint (push) Blocked by required conditions
PR checks / koplugin_rust_lint (push) Blocked by required conditions
PR checks / build_web_app (push) Blocked by required conditions
PR checks / test_web_app (1) (push) Blocked by required conditions
PR checks / test_web_app (2) (push) Blocked by required conditions
PR checks / test_web_browser (push) Blocked by required conditions
PR checks / test_extensions (push) Blocked by required conditions
PR checks / build_tauri_app (push) Blocked by required conditions
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Deploy to vercel on merge / build_and_deploy (push) Waiting to run
fix(reader): wrap selection toolbar tools onto more rows (#8013) (#8078)
The selection toolbar lays its 32 px tools in one row up to the popup's
maximum width: 335 px on a 360 px phone, room for 9. The rest scrolled
sideways with no scrollbar, so a 10th tool such as X-Ray was out of
sight. Tools that don't fit now wrap onto rows of even length (10 tools
make 2 rows of 5), and the highlight colour strip sits past the last row.
A toolbar that fits in one row, or the notes view, is laid out as before.

Verification:
- Fails without the fix:
  - annotation-popup-layout.browser.test.tsx, "a toolbar with more tools
    than fit", in all four placements: "expected 529 to be less than or
    equal to 500", a tool past the popup's edge.
  - AnnotatorSafeArea.test.tsx: "expected { width: 300, height: 44 } to
    deeply equal { width: 220, height: 88, columns: 5 }" for 10 tools.
  With the fix they pass, as do the annotationToolbar.test.ts cases for
  getToolbarGrid and the annotator suites (18 files, 172 tests).
- pnpm lint and pnpm format:check pass, on the change rebased onto main.
- Android 17 emulator, debug APK, 360 dp wide:
  - 12 tools with X-Ray last: on main nine showed whole and a tenth was
    clipped. Share and X-Ray were out of sight (the row's scrollWidth
    400, clientWidth 333). With the fix: 2 rows of 6, all inside the
    popup.
  - 10 tools: 2 rows of 5 in light, dark and e-ink. The X-Ray tool on the
    second row opened the X-Ray.
  Not run: a vertical book on the device. The browser test covers all
  four placements.

Reported by cpuks on GitHub.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 18:32:27 +01:00
..
readest-app fix(reader): wrap selection toolbar tools onto more rows (#8013) (#8078) 2026-11-28 18:32:27 +01:00
readest-calibre-plugin feat(calibre): add multi-language support (#6768) 2026-10-13 18:46:06 +02:00
readest-crosspoint-plugin feat(crosspoint): sign in with a code through /api/auth/device (owner: "use a more generic path for /api/crosspoint/device/code") (#7859) 2026-11-24 04:21:00 +01:00
readest.koplugin feat(kosync): match file names across readers with a format or a book's own name (#7864) (#7873) 2026-11-24 08:32:36 +01:00