Skip to content

Switch page display to be 0-indexed#1544

Merged
cdrini merged 2 commits into
masterfrom
br-8444-0-indexed-page-number-display
May 15, 2026
Merged

Switch page display to be 0-indexed#1544
cdrini merged 2 commits into
masterfrom
br-8444-0-indexed-page-number-display

Conversation

@pezvi
Copy link
Copy Markdown
Contributor

@pezvi pezvi commented May 14, 2026

Per bk request, because it was causing confusion when the number in the UI was different from the n-number in the URL (eg /page/n0).

@pezvi pezvi requested a review from cdrini May 14, 2026 22:45
@pezvi pezvi force-pushed the br-8444-0-indexed-page-number-display branch from 9974c52 to f0d72d8 Compare May 14, 2026 22:47
@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.96%. Comparing base (fa1108a) to head (0e8500a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1544   +/-   ##
=======================================
  Coverage   68.96%   68.96%           
=======================================
  Files          65       65           
  Lines        5559     5559           
  Branches     1231     1231           
=======================================
  Hits         3834     3834           
  Misses       1691     1691           
  Partials       34       34           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@cdrini cdrini left a comment

Choose a reason for hiding this comment

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

Lgtm, thank you! Tested on netlify and is working as expected.

Comment thread src/BookReader/Navbar/Navbar.js Outdated
@cdrini cdrini merged commit 17c7262 into master May 15, 2026
13 checks passed
@cdrini cdrini deleted the br-8444-0-indexed-page-number-display branch May 15, 2026 16:35
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.

2 participants