Commit 5777b1a
`sys_activity.summary`'s tracked-change branch (ADR-0052 §5b) shipped strings
like `Rating Owner: ∅ → oBK25…` onto every feed surface at once. Two causes,
both fixed here:
- `renderTrackedChangeSummary` was the one summary branch never handed the
locale-bound `translate` its three siblings resolve through (ADR-0053 /
#3039). The field label now resolves through it on the bundles' own key
shape, falling back to the authored label and then the machine key.
- `displayFieldValue` resolved select option labels only, so a lookup /
master_detail / user value printed its raw id. It now renders the referenced
record's title via ADR-0079's `resolveDisplayField`, falling back to the raw
id when unresolvable.
The resolution is batched: 0 added reads unless a tracked reference field
actually moved, then exactly one `id: { $in: [...] }` per distinct target
object — so #6656 / PR #6977's retirement of the redundant pre-image read from
this write path is not handed back. Read counts are pinned with the same
counting driver that measured that retirement.
Claude-Session: https://claude.ai/code/session_01BM1tNf5U3nEbHKR4fo5qVQ
Co-authored-by: os-zhuang <steve@objectstack.ai>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 4bda5f8 commit 5777b1a
3 files changed
Lines changed: 790 additions & 8 deletions
File tree
- .changeset
- packages/plugins/plugin-audit/src
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments