Lists page on without a total, and don't keep a stale one #61

Merged
jcoffey-dev merged 1 commits from fix/list-without-total into main 2026-09-29 05:00:19 +00:00
Owner

The console half of the Logs "of 5000" fix. Goes with inbuxa-server #117, which now leaves the total out when it can't know it.

DynamicList:

  • The total is cleared when a reply has none. Before, it kept the previous page's.
  • Next is enabled after a full page when there's no total. Before, no total meant no Next, which would have stranded logs on page 1.
  • The count reads "Showing 26-40 log entries" without "of N". The old "Showing N items" string, now unused, is gone from en.json, and the new one is added.

Lists that report a total behave exactly as before.

Checked:

  • 533 tests pass; typecheck, lint and i18n:check are clean.
  • In Chrome against a local server built from #117 with 40 log entries: page 1 read "Showing 1-25 log entries" with Next on; page 2 read "Showing 26-40 log entries" with Next off and Previous on.

English: one new string (list.showingRange), one removed.

The console half of the Logs "of 5000" fix. **Goes with inbuxa-server #117**, which now leaves the total out when it can't know it. `DynamicList`: - **The total is cleared** when a reply has none. Before, it kept the previous page's. - **Next** is enabled after a full page when there's no total. Before, no total meant no Next, which would have stranded logs on page 1. - **The count reads "Showing 26-40 log entries"** without "of N". The old "Showing N items" string, now unused, is gone from `en.json`, and the new one is added. Lists that report a total behave exactly as before. **Checked:** - 533 tests pass; typecheck, lint and `i18n:check` are clean. - In Chrome against a local server built from #117 with 40 log entries: page 1 read "Showing 1-25 log entries" with Next on; page 2 read "Showing 26-40 log entries" with Next off and Previous on. English: one new string (`list.showingRange`), one removed.
jcoffey-dev added 1 commit 2026-09-29 04:43:06 +00:00
Lists page on without a total, and don't keep a stale one
ci / build (pull_request) Successful in 1m16s
ci / publish (pull_request) Skipped
d3429b8aa8
jcoffey-dev merged commit 7853899489 into main 2026-09-29 05:00:19 +00:00
jcoffey-dev deleted branch fix/list-without-total 2026-09-29 05:00:20 +00:00
Sign in to join this conversation.