feat(adminui): #1077 tree pickers for data-connection export-root and remote-root
RawTree gains an opt-in single-select NodePickMode (any entity kind); new UnsRootPicker and DataRootPickerModal; cluster-scoped trees built from the draft snapshot. Stored kinds and validation unchanged.
This commit is contained in:
@@ -123,6 +123,15 @@ unreachable, and the service also enforces `tag.cluster == equipment.cluster` on
|
||||
commit. Tick individual tag leaves, or use a device / tag-group's *"Select all
|
||||
tags below"* menu to pull many at once.
|
||||
|
||||
**Data-connection root pickers (#1077).** On a cluster's data-connections page the *Local export root* and
|
||||
*Remote root entity* fields open a tree dialog (`DataRootPickerModal`) instead of a flat list. Raw realm reuses
|
||||
`RawTree` in `NodePickMode` (single-select radio on any entity node — Cluster, Folder, Driver, Device, TagGroup,
|
||||
Tag; the multi-select `PickerMode` used by "+ Add reference" is unchanged); UNS realm uses `UnsRootPicker`
|
||||
(Cluster, Area, Line, Equipment, plus virtual-tag / tag-reference leaves for export roots). The trees are built from
|
||||
the draft snapshot for ONE cluster (this cluster for exports; the connection's target cluster for remote roots), so
|
||||
cross-cluster nodes are unreachable. The stored `RootKind` + `RootEntityId` strings and the save-time validation are
|
||||
unchanged; the manual remote-root-ID input remains for separately managed clusters.
|
||||
|
||||
**Effective-name uniqueness:** within an equipment the effective name must be
|
||||
unique across references, VirtualTags, and ScriptedAlarms (they share the
|
||||
equipment's UNS NodeId space, `{EquipmentId}/{EffectiveName}`). This is enforced
|
||||
|
||||
Reference in New Issue
Block a user