feat(fitness/measure): paginate past measurements (SSR 10, "Show more" pulls 20)

SSR now ships only the 10 most recent measurements (down from 200) to
cut initial page weight. A "Show more (N/total)" pill appears below
the list when more are available; clicking fetches the next 20 via
the existing GET endpoint (offset/limit already supported) and
appends with dedupe by `_id`.

`measurementsTotal` is seeded from the API's `total` field and kept
in sync on save (+1) / delete (−1). The button is hidden when the
history is collapsed or when `measurements.length >= total`.

Added `show_more` i18n string.
This commit is contained in:
2026-04-23 13:18:30 +02:00
parent e9ebe492fb
commit 6d3165f405
4 changed files with 64 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "homepage",
"version": "1.46.3",
"version": "1.46.4",
"private": true,
"type": "module",
"scripts": {