@object-ui/plugin-detail 4.4.0 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/dist/index.js +1046 -954
- package/dist/index.umd.cjs +3 -3
- package/dist/packages/plugin-detail/src/DetailView.d.ts.map +1 -1
- package/dist/packages/plugin-detail/src/HistoryTimeline.d.ts +14 -1
- package/dist/packages/plugin-detail/src/HistoryTimeline.d.ts.map +1 -1
- package/dist/packages/plugin-detail/src/RecordDetailDrawer.d.ts.map +1 -1
- package/dist/packages/plugin-detail/src/renderers/record-highlights.d.ts.map +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @object-ui/plugin-detail
|
|
2
2
|
|
|
3
|
+
## 4.6.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8f490ad: test(perms): add field-level permission negative tests for DetailView
|
|
8
|
+
and ListView. Mounts each consumer inside a `PermissionProvider` that
|
|
9
|
+
denies read on a specific field and asserts the field never reaches
|
|
10
|
+
the rendered DOM (sections, top-level fields, summary chips,
|
|
11
|
+
constructed list columns). Closes the automated half of the Sprint 3-A
|
|
12
|
+
"Known limitations" — backend enforcement is still required, but the
|
|
13
|
+
client-side defence-in-depth is now regression-tested.
|
|
14
|
+
|
|
15
|
+
## 4.5.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- ab5e281: `record:highlights` renderer normalizes rich field items.
|
|
20
|
+
|
|
21
|
+
`RecordHighlightsComponentProps.fields` is now `Array<string | { name, label?, icon?, type? }>`. The renderer normalizes both forms before passing to `HeaderHighlight`, so schemas can attach per-instance label/icon overrides without editing the underlying object metadata. FLS and `redactFields` still apply on the normalized list.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- d714e85: Lookup display-name resolution now falls back through a Salesforce-style chain
|
|
26
|
+
when an `$expand`'d reference object lacks a top-level `name`/`label`/
|
|
27
|
+
`display_name`/`title` field:
|
|
28
|
+
1. Standard display fields (existing behaviour)
|
|
29
|
+
2. `salutation first_name last_name` composite — handles person records that
|
|
30
|
+
only carry first/last name parts
|
|
31
|
+
3. `email` — last-resort identifier, beats the opaque id
|
|
32
|
+
|
|
33
|
+
Applies to `LookupCellRenderer`, `PageHeader.subtitle` interpolation,
|
|
34
|
+
`DetailView` page-mode `titleFormat`, and the shared `formatRecordTitle`
|
|
35
|
+
utility. Concretely: a Contact reference with `first_name: Bob`, `last_name:
|
|
36
|
+
Lin` and no `name` field now renders as `Bob Lin` everywhere — instead of
|
|
37
|
+
the email or [object Object] fallback.
|
|
38
|
+
|
|
3
39
|
## 4.4.0
|
|
4
40
|
|
|
5
41
|
### Patch Changes
|