mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
fix: bound the activity feed to the window it promises
The revoke dialog tells an owner that "who entered what" stays answerable for N days, and the activity list prints the same number under its heading. The query behind that list had no date filter: on an instance whose retention was shortened it showed rows the sentence said were already gone, and the number was a caption over an unbounded read rather than its limit. It is the filter now, resolved once so the bound and the sentence cannot drift apart. The list also stopped at a hundred rows and said nothing about it, which is the more dangerous of the two silences — an owner who scrolls to the bottom reads the oldest visible line as the beginning, and a busy household reaches the cap in a fraction of the window. The response says which of the two limits it hit, and the view states it only when it did: a caveat that is always on is one people learn to skip. The self-hosting page said an empty list means nobody opened the record. It means nobody did so within the window. Corrected, with the row cap named alongside it.
This commit is contained in:
1 parent
b1667ef692
commit
c7e847a766
14 files changed
+213
-16
No files matched your search
@@ -36916,11 +36916,17 @@ components:
|
||||
minimum: -9007199254740991
|
||||
maximum: 9007199254740991
|
||||
description: How far back this feed can see, in days. Resolved from the instance's audit retention setting (365 by
|
||||
default, operator-configurable), NOT a constant — an instance running a 90-day window sends 90. Show it
|
||||
beside the rows.
|
||||
default, operator-configurable), NOT a constant — an instance running a 90-day window sends 90. The query is
|
||||
bounded to this window, so it is the real limit of the list and not only a caption. Show it beside the rows.
|
||||
truncated:
|
||||
type: boolean
|
||||
description: True when the read reached its row ceiling, so `entries` is the most recent activity inside the window
|
||||
rather than all of it. A client must say so — a list that stops at its own cap in silence lets the oldest
|
||||
row read as the beginning. False means the list is everything inside the window.
|
||||
required:
|
||||
- entries
|
||||
- retentionDays
|
||||
- truncated
|
||||
additionalProperties: false
|
||||
description: The owner's record of what somebody else did in their record, bounded by the instance's audit retention.
|
||||
RecordActivityEntry:
|
||||
|
||||
Reference in new issue
Block a user