@@ -43,7 +43,12 @@ import type { SysActivityBuiltinType } from '../data/feed.zod';
4343 * their own routes. [#28737] The `timeline` part is the size of the record's
4444 * 动态 stream — the comments, the activity and the field changes it merges —
4545 * counted by those reads as the caller (`RecordPageTimelineRequestSchema`), so
46- * a page draws the stream's count without holding every row of it. Object permissions, row-level security, sharing and
46+ * a page draws the stream's count without holding every row of it. The total
47+ * counts the sources' rows as that schema's table defines them, so it is an
48+ * upper bound of the entries the 动态 panel draws, not their number. The panel
49+ * draws fewer where its `showCompleted` / `types` configuration filters entries
50+ * out, and where a ledger row has no displayable diff and so draws no entry.
51+ * Object permissions, row-level security, sharing and
4752 * field-level security therefore apply exactly as they apply to those reads.
4853 * A part whose read refuses carries that refusal in place of an answer — a
4954 * related list the caller may not read carries neither a count nor rows — and
@@ -167,7 +172,11 @@ export type RecordPageActivityRequestParsed = z.infer<typeof RecordPageActivityR
167172 * | `fieldChanges` | `sys_audit_log` where `object_name` = `{object}`, `record_id` = `{id}` and `action` is a |
168173 * | | write (`create`, `update`, `delete`) |
169174 *
170- * The total is their sum. A source this deployment does not serve (its read
175+ * The total is their sum: it counts the sources' rows as this table defines
176+ * them, so it is an upper bound of the entries the 动态 panel draws, not their
177+ * number. The panel draws fewer where its `showCompleted` / `types`
178+ * configuration filters entries out, and where a ledger row has no
179+ * displayable diff and so draws no entry. A source this deployment does not serve (its read
171180 * answers `OBJECT_NOT_FOUND`) holds no entry, as the page reads such a stream
172181 * as an empty one. The field changes are the history the stream merges only
173182 * where the caller may read it: a refused `sys_audit_log` read counts none, as
0 commit comments