style(admin-ui): align technical icons and semantic status inks

This commit is contained in:
Joseph Doherty
2026-11-13 23:48:29 -05:00
parent 6bb5a31337
commit 784dc7aeca
30 changed files with 1271 additions and 80 deletions
@@ -0,0 +1,319 @@
{
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Routes.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/MonacoEditor.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-warning"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/ScriptLog.razor": {
"aliases": [
"chip-alert",
"chip-caution"
],
"bootstrapSemanticUtilities": []
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/AlarmsHistorian.razor": {
"aliases": [
"chip-caution"
],
"bootstrapSemanticUtilities": []
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Alerts.razor": {
"aliases": [
"chip-alert",
"chip-caution"
],
"bootstrapSemanticUtilities": []
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Fleet.razor": {
"aliases": [
"chip-caution",
"chip-caution",
"chip-alert"
],
"bootstrapSemanticUtilities": []
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/FleetDiagnostics.razor": {
"aliases": [
"chip-caution",
"chip-alert"
],
"bootstrapSemanticUtilities": []
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/RoleGrants.razor": {
"aliases": [
"chip-alert"
],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor": {
"aliases": [
"chip-alert",
"chip-caution",
"chip-alert"
],
"bootstrapSemanticUtilities": []
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/ClusterRedundancy.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-success"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/ClusterAcls.razor": {
"aliases": [
"chip-alert",
"chip-alert"
],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/AclEdit.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-success",
"text-success",
"text-warning",
"text-success",
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/EquipmentPage.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-danger",
"text-danger",
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/RefusalChip.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DriverBrowseTree.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/CollectionEditor.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DriverTestConnectButton.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-warning"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Acls/AclScopeTree.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/ScriptedAlarmModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/ImportEquipmentModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/UnsTree.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/LineModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/AreaModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/VirtualTagModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-danger",
"text-success",
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/AddReferenceModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawNameDialog.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawDriverTypeDialog.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTree.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawBrowseModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-success"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawCsvImportModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-success",
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawManualTagEntryModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTagModal.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/TagEditors/CalculationTagConfigEditor.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-danger",
"text-success"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/TagEditors/FocasTagConfigEditor.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/TagEditors/MTConnectTagConfigEditor.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-warning"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/TagEditors/ModbusTagConfigEditor.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-warning",
"text-warning"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/TagEditors/HeidenhainTagConfigEditor.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/TagEditors/NativeAlarmEditor.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-warning",
"text-warning"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/TagEditors/MqttTagConfigEditor.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Forms/SqlDriverForm.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger",
"text-danger",
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Forms/S7DriverForm.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Forms/HeidenhainDriverForm.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Forms/AbCipDriverForm.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DeviceForms/HeidenhainDeviceForm.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/GalaxyAddressPickerBody.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
},
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/SqlAddressPickerBody.razor": {
"aliases": [],
"bootstrapSemanticUtilities": [
"text-danger"
]
}
}
@@ -0,0 +1,17 @@
# OT12 canonical status text and technical icons
Exact freeze is source-freeze.json:8 page alias-only edits, RawTree/UnsTree/AclScopeTree presentation,2 decorative vector components and local site.css. status-mapping-byte-check.json proves all8 page files are byte-identical to their previous version after only chip-alert→chip-bad/chip-caution→chip-warn substitutions. Existing enum cases/meaning, degraded/healthy/disabled/connection distinction, policy and action callbacks are preserved. No producer/model/service/package change.
All app consumers of the obsolete chip aliases were migrated before removing those2 CSS declarations. Actual scan adds FleetDiagnostics and ClusterAcls to the original plan’s named consumer list; ImportEquipment currently has no obsolete alias. Raw uses7 authored fixed-stroke SVG kind icons and decorative geometric chevrons, with contextual names retained on buttons. Context menus use their existing full text labels without platform emoji. UNS Settings is plain text; ACL rows retain their contextual text/scope with decorative emoji omitted and the same chevron. Legacy ACL model Icon metadata/API remains untouched and is no longer rendered by AclScopeTree. No icon CDN, alternate palette, animation or new domain abstraction.
## Actual contrast defect and repair
semantic-utilities-before.json records computed host Bootstrap utility text on actual paper/card: danger4.11/4.53, warning1.48/1.63, success4.11/4.53; local error notice4.10/4.51 when sampled against those surfaces.41 actual component files use these semantic utilities. site.css now bridges only text-danger/warning/success to approved bad/warn/ok-ink and the local error notice to bad-ink. Decorative signal variables are unchanged. The before harness saved its complete computed JSON, then threw during browser cleanup due a Python local variable shadowing the browser handle; measurements remain genuine and the raw limitation is explicit. Final checks use a corrected harness.
## Verification
- tests.log:22 passed,0 failed/skipped using explicit private SQL runner and filter `FullyQualifiedName~TreeAccessibilityTests|FullyQualifiedName~RawTreeRowsTests|FullyQualifiedName~TreeRecoveryTests|FullyQualifiedName~CommonTreeAccessibilityTests|FullyQualifiedName~ContextMenuGeometryTests|FullyQualifiedName~LiveTailPageTests`. Selected identities/count are the actual terminal output; filter fragments with no matching class do not imply added coverage. Existing row/callback/selection/name/recovery/tail assertions remain unchanged. No test asserts SVG paths/count/colors as implementation contracts.
- fixture-build.log:zero warnings/errors. Actual source components and approved Theme1.0.1.
- matrix.json/native.log:first native6/6 pass, Chromium1440/390 and real200%720/195 DPR2, plus actual coarse pointer1440/390. Every7kind row retains exact30/44px height matching virtualization, no body overflow, all real host semantic text samples ≥4.5:1, decorative vectors hidden/nonfocusable, plain text menu opens by keyboard, Escape returns focus, no page errors. Byte checks cover actual8 domain callsite mapping; the status sample fixture validates their adopted class recipes rather than pretending to execute every route’s business flow.
Current host minimum measured contrast across samples is above4.5:1. macOS-hosted browser is the available platform; no Linux/Windows runtime rendering certification. Whole-route, combined full suite and target-aware composed callers remain OT14/OT13. No deployment or production connection. Roll back this scoped source commit for a presentation regression; immutable packages and data are unaffected.
@@ -0,0 +1,44 @@
ZB.MOM.WW.OtOpcUa.Analyzers -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Analyzers/debug/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/debug/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Commons -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Commons/debug/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Cluster/debug/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/debug/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.Scripting/debug/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/debug/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/debug/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Configuration/debug/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Security -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Security/debug/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.Core -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Core/debug/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.ControlPlane/debug/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.OpcUaServer/debug/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.Runtime/debug/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /tmp/ot-ui-canary-artifacts/bin/ZB.MOM.WW.OtOpcUa.AdminUI/debug/ZB.MOM.WW.OtOpcUa.AdminUI.dll
OtUiCanary -> /tmp/ot-ui-canary-artifacts/bin/OtUiCanary/debug/OtUiCanary.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:04.31
@@ -0,0 +1,626 @@
[
{
"width": 1440,
"zoom": 1,
"touch": false,
"measurements": {
"width": 1440,
"document": 1440,
"dpr": 1,
"coarse": false,
"heights": [
30
]
},
"contrast": [
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(244, 244, 241)",
"contrast": 5.992480687817612
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(244, 244, 241)",
"contrast": 6.059917570925421
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(244, 244, 241)",
"contrast": 5.613560011637269
},
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(255, 255, 255)",
"contrast": 6.603434368361208
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(255, 255, 255)",
"contrast": 6.6777466698617465
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(255, 255, 255)",
"contrast": 6.185881447238118
},
{
"class": "notice notice-alert",
"text": "Application error notice",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-bad",
"text": "Failed",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-warn",
"text": "Degraded",
"color": "rgb(133, 80, 0)",
"background": "rgb(253, 241, 221)",
"contrast": 5.979044404341219
},
{
"class": "chip chip-ok",
"text": "Healthy",
"color": "rgb(35, 111, 52)",
"background": "rgb(233, 246, 236)",
"contrast": 5.554998206317173
},
{
"class": "chip chip-idle",
"text": "Disabled",
"color": "rgb(83, 93, 102)",
"background": "rgb(238, 240, 242)",
"contrast": 5.881363117248676
}
],
"checks": {
"allSemanticTextAA": true,
"noBodyOverflow": true,
"allSevenRowsExactHeight": true,
"decorativeVectorsOnly": true,
"textOnlyMenu": true,
"menuFocusReturn": true,
"noPageErrors": true
},
"errors": [],
"passed": true
},
{
"width": 390,
"zoom": 1,
"touch": false,
"measurements": {
"width": 390,
"document": 390,
"dpr": 1,
"coarse": false,
"heights": [
30
]
},
"contrast": [
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(244, 244, 241)",
"contrast": 5.992480687817612
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(244, 244, 241)",
"contrast": 6.059917570925421
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(244, 244, 241)",
"contrast": 5.613560011637269
},
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(255, 255, 255)",
"contrast": 6.603434368361208
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(255, 255, 255)",
"contrast": 6.6777466698617465
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(255, 255, 255)",
"contrast": 6.185881447238118
},
{
"class": "notice notice-alert",
"text": "Application error notice",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-bad",
"text": "Failed",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-warn",
"text": "Degraded",
"color": "rgb(133, 80, 0)",
"background": "rgb(253, 241, 221)",
"contrast": 5.979044404341219
},
{
"class": "chip chip-ok",
"text": "Healthy",
"color": "rgb(35, 111, 52)",
"background": "rgb(233, 246, 236)",
"contrast": 5.554998206317173
},
{
"class": "chip chip-idle",
"text": "Disabled",
"color": "rgb(83, 93, 102)",
"background": "rgb(238, 240, 242)",
"contrast": 5.881363117248676
}
],
"checks": {
"allSemanticTextAA": true,
"noBodyOverflow": true,
"allSevenRowsExactHeight": true,
"decorativeVectorsOnly": true,
"textOnlyMenu": true,
"menuFocusReturn": true,
"noPageErrors": true
},
"errors": [],
"passed": true
},
{
"width": 1440,
"zoom": 2,
"touch": false,
"measurements": {
"width": 720,
"document": 720,
"dpr": 2,
"coarse": false,
"heights": [
30
]
},
"contrast": [
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(244, 244, 241)",
"contrast": 5.992480687817612
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(244, 244, 241)",
"contrast": 6.059917570925421
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(244, 244, 241)",
"contrast": 5.613560011637269
},
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(255, 255, 255)",
"contrast": 6.603434368361208
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(255, 255, 255)",
"contrast": 6.6777466698617465
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(255, 255, 255)",
"contrast": 6.185881447238118
},
{
"class": "notice notice-alert",
"text": "Application error notice",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-bad",
"text": "Failed",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-warn",
"text": "Degraded",
"color": "rgb(133, 80, 0)",
"background": "rgb(253, 241, 221)",
"contrast": 5.979044404341219
},
{
"class": "chip chip-ok",
"text": "Healthy",
"color": "rgb(35, 111, 52)",
"background": "rgb(233, 246, 236)",
"contrast": 5.554998206317173
},
{
"class": "chip chip-idle",
"text": "Disabled",
"color": "rgb(83, 93, 102)",
"background": "rgb(238, 240, 242)",
"contrast": 5.881363117248676
}
],
"checks": {
"allSemanticTextAA": true,
"noBodyOverflow": true,
"allSevenRowsExactHeight": true,
"decorativeVectorsOnly": true,
"textOnlyMenu": true,
"menuFocusReturn": true,
"noPageErrors": true
},
"errors": [],
"passed": true
},
{
"width": 390,
"zoom": 2,
"touch": false,
"measurements": {
"width": 195,
"document": 195,
"dpr": 2,
"coarse": false,
"heights": [
30
]
},
"contrast": [
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(244, 244, 241)",
"contrast": 5.992480687817612
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(244, 244, 241)",
"contrast": 6.059917570925421
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(244, 244, 241)",
"contrast": 5.613560011637269
},
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(255, 255, 255)",
"contrast": 6.603434368361208
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(255, 255, 255)",
"contrast": 6.6777466698617465
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(255, 255, 255)",
"contrast": 6.185881447238118
},
{
"class": "notice notice-alert",
"text": "Application error notice",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-bad",
"text": "Failed",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-warn",
"text": "Degraded",
"color": "rgb(133, 80, 0)",
"background": "rgb(253, 241, 221)",
"contrast": 5.979044404341219
},
{
"class": "chip chip-ok",
"text": "Healthy",
"color": "rgb(35, 111, 52)",
"background": "rgb(233, 246, 236)",
"contrast": 5.554998206317173
},
{
"class": "chip chip-idle",
"text": "Disabled",
"color": "rgb(83, 93, 102)",
"background": "rgb(238, 240, 242)",
"contrast": 5.881363117248676
}
],
"checks": {
"allSemanticTextAA": true,
"noBodyOverflow": true,
"allSevenRowsExactHeight": true,
"decorativeVectorsOnly": true,
"textOnlyMenu": true,
"menuFocusReturn": true,
"noPageErrors": true
},
"errors": [],
"passed": true
},
{
"width": 1440,
"zoom": 1,
"touch": true,
"measurements": {
"width": 1440,
"document": 1440,
"dpr": 1,
"coarse": true,
"heights": [
44
]
},
"contrast": [
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(244, 244, 241)",
"contrast": 5.992480687817612
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(244, 244, 241)",
"contrast": 6.059917570925421
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(244, 244, 241)",
"contrast": 5.613560011637269
},
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(255, 255, 255)",
"contrast": 6.603434368361208
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(255, 255, 255)",
"contrast": 6.6777466698617465
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(255, 255, 255)",
"contrast": 6.185881447238118
},
{
"class": "notice notice-alert",
"text": "Application error notice",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-bad",
"text": "Failed",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-warn",
"text": "Degraded",
"color": "rgb(133, 80, 0)",
"background": "rgb(253, 241, 221)",
"contrast": 5.979044404341219
},
{
"class": "chip chip-ok",
"text": "Healthy",
"color": "rgb(35, 111, 52)",
"background": "rgb(233, 246, 236)",
"contrast": 5.554998206317173
},
{
"class": "chip chip-idle",
"text": "Disabled",
"color": "rgb(83, 93, 102)",
"background": "rgb(238, 240, 242)",
"contrast": 5.881363117248676
}
],
"checks": {
"allSemanticTextAA": true,
"noBodyOverflow": true,
"allSevenRowsExactHeight": true,
"decorativeVectorsOnly": true,
"textOnlyMenu": true,
"menuFocusReturn": true,
"noPageErrors": true
},
"errors": [],
"passed": true
},
{
"width": 390,
"zoom": 1,
"touch": true,
"measurements": {
"width": 390,
"document": 390,
"dpr": 1,
"coarse": true,
"heights": [
44
]
},
"contrast": [
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(244, 244, 241)",
"contrast": 5.992480687817612
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(244, 244, 241)",
"contrast": 6.059917570925421
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(244, 244, 241)",
"contrast": 5.613560011637269
},
{
"class": "text-danger",
"text": "Error text",
"color": "rgb(180, 33, 33)",
"background": "rgb(255, 255, 255)",
"contrast": 6.603434368361208
},
{
"class": "text-warning",
"text": "Warning text",
"color": "rgb(133, 80, 0)",
"background": "rgb(255, 255, 255)",
"contrast": 6.6777466698617465
},
{
"class": "text-success",
"text": "Success text",
"color": "rgb(35, 111, 52)",
"background": "rgb(255, 255, 255)",
"contrast": 6.185881447238118
},
{
"class": "notice notice-alert",
"text": "Application error notice",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-bad",
"text": "Failed",
"color": "rgb(180, 33, 33)",
"background": "rgb(252, 234, 234)",
"contrast": 5.6903741760936315
},
{
"class": "chip chip-warn",
"text": "Degraded",
"color": "rgb(133, 80, 0)",
"background": "rgb(253, 241, 221)",
"contrast": 5.979044404341219
},
{
"class": "chip chip-ok",
"text": "Healthy",
"color": "rgb(35, 111, 52)",
"background": "rgb(233, 246, 236)",
"contrast": 5.554998206317173
},
{
"class": "chip chip-idle",
"text": "Disabled",
"color": "rgb(83, 93, 102)",
"background": "rgb(238, 240, 242)",
"contrast": 5.881363117248676
}
],
"checks": {
"allSemanticTextAA": true,
"noBodyOverflow": true,
"allSevenRowsExactHeight": true,
"decorativeVectorsOnly": true,
"textOnlyMenu": true,
"menuFocusReturn": true,
"noPageErrors": true
},
"errors": [],
"passed": true
}
]
@@ -0,0 +1,6 @@
{
"origin": "http://127.0.0.1:52886",
"cases": 6,
"passed": 6,
"failed": []
}
@@ -0,0 +1,58 @@
[
{
"surface": "var(--paper)",
"cls": "text-danger",
"color": "rgb(220, 53, 69)",
"background": "rgb(244, 244, 241)",
"contrast": 4.108628212218558
},
{
"surface": "var(--paper)",
"cls": "text-warning",
"color": "rgb(255, 193, 7)",
"background": "rgb(244, 244, 241)",
"contrast": 1.4792352719320216
},
{
"surface": "var(--paper)",
"cls": "text-success",
"color": "rgb(25, 135, 84)",
"background": "rgb(244, 244, 241)",
"contrast": 4.111608216109229
},
{
"surface": "var(--paper)",
"cls": "notice-alert",
"color": "rgb(224, 49, 49)",
"background": "rgb(244, 244, 241)",
"contrast": 4.095533773275781
},
{
"surface": "var(--card)",
"cls": "text-danger",
"color": "rgb(220, 53, 69)",
"background": "rgb(255, 255, 255)",
"contrast": 4.527516759217673
},
{
"surface": "var(--card)",
"cls": "text-warning",
"color": "rgb(255, 193, 7)",
"background": "rgb(255, 255, 255)",
"contrast": 1.6300483126171652
},
{
"surface": "var(--card)",
"cls": "text-success",
"color": "rgb(25, 135, 84)",
"background": "rgb(255, 255, 255)",
"contrast": 4.530800584587276
},
{
"surface": "var(--card)",
"cls": "notice-alert",
"color": "rgb(224, 49, 49)",
"background": "rgb(255, 255, 255)",
"contrast": 4.513087297922132
}
]
@@ -0,0 +1,16 @@
{
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/AlarmsHistorian.razor": "19f4ad5637600d1318114f6ffecf48e6fd6d627b04c74001f1f2fd208d64fea8",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Alerts.razor": "0ac9ebca3ff508a8b9e1cd15ba4b69870601adc938ba9ab2495c4a8ed3983696",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Fleet.razor": "bc4004adee5f028e2ede3b9a183539b84a582951ea9c525b8723bf9f59280bfb",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/FleetDiagnostics.razor": "2f1480924f349ee5781fa08fc94ba91dc6631844187f67ee2011745748898461",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor": "8d09ba54825760074100ea3b9017187ab454195e8f54ce63cdbbcaf20eaf0b6b",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/RoleGrants.razor": "3e76fcfbfcceafa13e4cee424113f14d14928c6c547568ac30f7b65ee13b1605",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/ScriptLog.razor": "83ec953417dc252f2a9116d82ac77c4e325eaa6aa215de221e793d0da4963e3b",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/ClusterAcls.razor": "a35494068ae178cdef5a259c45cda1c8055d42180d8eb2f1bda9763fcb369adc",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Acls/AclScopeTree.razor": "c5ce66f2d1fb1dca60d8cdeaf86c64388f7d9765ee35b64f75086958da3825ed",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTree.razor": "6867a8282e1ce9dd551d848b0c86d931e330353caea3e8f98dd73f35bf01e90a",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Uns/UnsTree.razor": "440f9a616e5c14c6bfca99902bf186becb64a5d350a7d71ed31554e69909c5b0",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawKindIcon.razor": "82dfe8679eafda42df9a027ed237ab79f681f5b45511ddb67d6765b783fc9cf9",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/TreeChevron.razor": "bef593cb546a978c3dae001f7768f1a5376703172c076adf4c021008ba6b23ed",
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/wwwroot/css/site.css": "32e9dc7ffd87499d86616c314e393787b9d37770aca178482cbe2c57b80859d9"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

@@ -0,0 +1,10 @@
{
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/AlarmsHistorian.razor": true,
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Alerts.razor": true,
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Fleet.razor": true,
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/FleetDiagnostics.razor": true,
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Hosts.razor": true,
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/RoleGrants.razor": true,
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/ScriptLog.razor": true,
"src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/ClusterAcls.razor": true
}
@@ -0,0 +1,52 @@
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Release/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Release/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
A total of 1 test files matched the specified pattern.
Passed! - Failed: 0, Passed: 22, Skipped: 0, Total: 22, Duration: 1 s - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
@@ -0,0 +1,23 @@
"""Actual canonical host inks and decorative vectors, no domain operations."""
import json,re,sys
from pathlib import Path
from playwright.sync_api import sync_playwright,expect
sys.path.insert(0,'/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/theme-1.0.0/canary')
from browser_zoom import zoom_browser,set_browser_zoom
origin=re.search(r'Now listening on: (http://127.0.0.1:\d+)',Path('/tmp/ot12-visual-host.log').read_text()).group(1)
out=Path('docs/ui-consistency/evidence/ot12-visual');out.mkdir(parents=True,exist_ok=True);results=[]
def lum(value):
rgb=[int(x)/255 for x in re.findall(r'\d+',value)[:3]];rgb=[v/12.92 if v<=.04045 else ((v+.055)/1.055)**2.4 for v in rgb];return sum(x*y for x,y in zip(rgb,[.2126,.7152,.0722]))
with sync_playwright() as p:
with zoom_browser(p) as (context,worker):
for width,zoom,touch in [(1440,1,False),(390,1,False),(1440,2,False),(390,2,False),(1440,1,True),(390,1,True)]:
page=context.new_page();page.set_viewport_size({'width':width,'height':3200 if zoom==2 else 1100});errors=[];page.on('pageerror',lambda e:errors.append(str(e)));page.goto(origin+'/status-icon-pilot',wait_until='networkidle');set_browser_zoom(worker,page,zoom)
context.new_cdp_session(page).send('Emulation.setTouchEmulationEnabled',{'enabled':touch,'maxTouchPoints':1});tree=page.locator('.raw-tree-rows');expect(tree).to_have_attribute('data-density','touch' if touch else 'compact');expect(page.locator('.raw-tree-row')).to_have_count(7)
values=page.locator('#semantic-paper > span,#semantic-card > span,#semantic-card > .notice-alert').evaluate_all('els=>els.map(e=>{const s=getComputedStyle(e);let p=e,b=s.backgroundColor;while((b==="rgba(0, 0, 0, 0)"||b==="transparent")&&p.parentElement){p=p.parentElement;b=getComputedStyle(p).backgroundColor;}return {class:e.className,text:e.textContent,color:s.color,background:b};})')
for value in values:
a,b=lum(value['color']),lum(value['background']);value['contrast']=(max(a,b)+.05)/(min(a,b)+.05)
measures=page.evaluate('({width:innerWidth,document:document.documentElement.scrollWidth,dpr:devicePixelRatio,coarse:matchMedia("(pointer:coarse)").matches,heights:[...new Set([...document.querySelectorAll(".raw-tree-row")].map(e=>e.getBoundingClientRect().height))]})');checks={'allSemanticTextAA':all(v['contrast']>=4.5 for v in values),'noBodyOverflow':measures['width']==measures['document'],'allSevenRowsExactHeight':measures['heights']==[44 if touch else 30],'decorativeVectorsOnly':page.locator('.raw-tree-row svg[width="16"][aria-hidden="true"][focusable="false"]').count()==7}
trigger=page.locator('.ctx-ellipsis').first;trigger.focus();trigger.press('Enter');menu=page.get_by_role('menu');expect(menu).to_be_visible();checks['textOnlyMenu']=menu.locator('.ctx-icon').count()==0 and 'New folder' in menu.inner_text() and 'New driver' in menu.inner_text();page.keyboard.press('Escape');expect(trigger).to_be_focused();checks['menuFocusReturn']=True
checks['noPageErrors']=not errors;record={'width':width,'zoom':zoom,'touch':touch,'measurements':measures,'contrast':values,'checks':checks,'errors':errors,'passed':all(checks.values())};results.append(record);page.screenshot(path=str(out/f'status-icons-{width}-zoom{zoom}-touch{touch}.png'),full_page=False);page.close();(out/'matrix.json').write_text(json.dumps(results,indent=2)+'\n')
print(json.dumps({'origin':origin,'cases':len(results),'passed':sum(x['passed'] for x in results),'failed':[x for x in results if not x['passed']]},indent=2))
raise SystemExit(0 if all(x['passed'] for x in results) else 1)
@@ -125,7 +125,7 @@ else
HistorianDrainState.Disabled => "chip chip-idle",
HistorianDrainState.Idle => "chip chip-idle",
HistorianDrainState.Draining => "chip chip-ok",
HistorianDrainState.BackingOff => "chip chip-caution",
HistorianDrainState.BackingOff => "chip chip-warn",
_ => "chip chip-idle",
};
@@ -334,9 +334,9 @@ else
private static string KindChipClass(string kind) => kind switch
{
"Activated" => "chip-alert",
"Activated" => "chip-bad",
"Cleared" => "chip-ok",
"Acknowledged" or "Confirmed" => "chip-caution",
"Acknowledged" or "Confirmed" => "chip-warn",
"Shelved" or "Disabled" => "chip-idle",
_ => "chip-idle",
};
@@ -28,7 +28,7 @@ else
{
<section class="panel notice rise" style="animation-delay:.02s">
The <strong>Scope target</strong> column resolves each row against the current configuration. A
row marked <span class="chip chip-alert">unresolved</span> points at nothing — it is shipped in
row marked <span class="chip chip-bad">unresolved</span> points at nothing — it is shipped in
every deployment artifact but authorizes nobody, and the deploy gate rejects it.
<AuthorizeView Policy="@AdminUiPolicies.ConfigEditor">Open it and re-pick the scope.</AuthorizeView>
</section>
@@ -79,7 +79,7 @@ else
}
else
{
<div><span class="chip chip-alert" title="@check.Message">unresolved</span></div>
<div><span class="chip chip-bad" title="@check.Message">unresolved</span></div>
<div class="text-danger small">@check.Message</div>
}
}
@@ -230,11 +230,11 @@ else
status is { } s && ZB.MOM.WW.OtOpcUa.ControlPlane.Coordinators.ConfigPublishCoordinator.IsDegraded(s, failureReason);
private static string StatusChipClass(NodeDeploymentStatus? status, string? failureReason) =>
IsDegraded(status, failureReason) ? "chip-caution" : status switch
IsDegraded(status, failureReason) ? "chip-warn" : status switch
{
NodeDeploymentStatus.Applied => "chip-ok",
NodeDeploymentStatus.Applying => "chip-caution",
NodeDeploymentStatus.Failed => "chip-alert",
NodeDeploymentStatus.Applying => "chip-warn",
NodeDeploymentStatus.Failed => "chip-bad",
_ => "chip-idle",
};
@@ -322,8 +322,8 @@ else
private static string StateChipClass(string state) => state switch
{
"Healthy" => "chip-ok",
"Degraded" or "Connecting" or "Reconnecting" => "chip-caution",
"Faulted" => "chip-alert",
"Degraded" or "Connecting" or "Reconnecting" => "chip-warn",
"Faulted" => "chip-bad",
_ => "chip-idle",
};
@@ -608,10 +608,10 @@ else
private static string StatusChipClass(string status, bool unreachable) => (status, unreachable) switch
{
(_, true) => "chip-alert",
(_, true) => "chip-bad",
("Up", _) => "chip-ok",
("Joining", _) or ("Leaving", _) or ("Exiting", _) or ("WeaklyUp", _) => "chip-caution",
("Down", _) or ("Removed", _) => "chip-alert",
("Joining", _) or ("Leaving", _) or ("Exiting", _) or ("WeaklyUp", _) => "chip-warn",
("Down", _) or ("Removed", _) => "chip-bad",
_ => "chip-idle",
};
@@ -28,7 +28,7 @@
<div class="kv"><span class="k">SearchBase</span><span class="v mono small" title="@_options.SearchBase">@DisplayText.Abbreviate(_options.SearchBase, 48)</span></div>
@if (_options.Transport == ZB.MOM.WW.Auth.Abstractions.Ldap.LdapTransport.None && _options.AllowInsecure)
{
<div class="kv"><span class="k">Warning</span><span class="v"><span class="chip chip-alert">Plaintext credentials over LDAP — dev mode only</span></span></div>
<div class="kv"><span class="k">Warning</span><span class="v"><span class="chip chip-bad">Plaintext credentials over LDAP — dev mode only</span></span></div>
}
</div>
</section>
@@ -179,8 +179,8 @@ else
private static string LevelChipClass(string level) => level switch
{
"Critical" or "Error" => "chip-alert",
"Warning" => "chip-caution",
"Critical" or "Error" => "chip-bad",
"Warning" => "chip-warn",
"Information" => "chip-idle",
_ => "chip-idle",
};
@@ -38,7 +38,7 @@
{
<button type="button" class="btn btn-sm btn-link p-0 tree-twist" aria-label="@((node.Expanded ? "Collapse " : "Expand ") + node.DisplayName)" aria-expanded="@(node.Expanded ? "true" : "false")"
@onclick="@(() => ToggleAsync(node))">
@(node.Expanded ? "▼" : "▶")
<TreeChevron Expanded="@node.Expanded" />
</button>
}
else
@@ -51,7 +51,6 @@
<button type="button" aria-pressed="@(selected ? "true" : "false")"
class="btn btn-sm p-0 px-1 border-0 d-inline-flex align-items-center gap-1 @(selected ? "bg-primary text-white rounded" : "btn-link text-decoration-none")"
@onclick="@(() => OnSelect.InvokeAsync(node))">
<span aria-hidden="true">@node.Icon</span>
<span class="mono small">@node.DisplayName</span>
<span class="chip chip-idle ms-1" style="font-size:0.65rem">@node.ScopeKind</span>
</button>
@@ -60,7 +59,6 @@
{
@* Label only — an enterprise heading, or a level with no ACL scope kind behind it. *@
<span class="d-inline-flex align-items-center gap-1 text-muted">
<span aria-hidden="true">@node.Icon</span>
<span class="mono small">@node.DisplayName</span>
</span>
}
@@ -0,0 +1,35 @@
@using ZB.MOM.WW.OtOpcUa.AdminUI.Uns
@* Raw labels carry meaning; these fixed-stroke vectors are decorative and OS independent. *@
<svg aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" style="flex-shrink:0">
@switch (Kind)
{
case RawNodeKind.Enterprise:
<path d="M3 14V2h10v12M1.5 14h13M6 5h.1M10 5h.1M6 8h.1M10 8h.1M6.5 14v-3h3v3" />
break;
case RawNodeKind.Cluster:
<rect x="2" y="2" width="12" height="5" rx="1" /><rect x="2" y="9" width="12" height="5" rx="1" /><path d="M5 4.5h.1M5 11.5h.1M9 4.5h3M9 11.5h3" />
break;
case RawNodeKind.Folder:
<path d="M2 5V3h5l2 2h5v8H2Z" />
break;
case RawNodeKind.Driver:
<path d="M5 2v4M11 2v4M3.5 6h9v2a4.5 4.5 0 0 1-9 0ZM8 12.5V15" />
break;
case RawNodeKind.Device:
<rect x="4" y="4" width="8" height="8" rx="1" /><path d="M6 1v3M10 1v3M6 12v3M10 12v3M1 6h3M1 10h3M12 6h3M12 10h3" />
break;
case RawNodeKind.TagGroup:
<rect x="2" y="5" width="10" height="9" rx="1" /><path d="M5 5V2h9v9h-2M5 8h4M5 11h4" />
break;
case RawNodeKind.Tag:
<path d="M2 2h6l6 6-6 6-6-6Z" /><circle cx="5" cy="5" r=".7" />
break;
default:
<circle cx="8" cy="8" r="3" />
break;
}
</svg>
@code {
/// <summary>The existing raw hierarchy kind; no operation or domain state is inferred.</summary>
[Parameter] public RawNodeKind Kind { get; set; }
}
@@ -287,7 +287,7 @@
<button type="button" class="btn btn-sm btn-link p-0 tree-twist"
aria-label="@($"{(node.Expanded ? "Collapse" : "Expand")} {node.DisplayName}")" aria-expanded="@(node.Expanded ? "true" : "false")"
aria-busy="@(node.Loading ? "true" : null)" @onclick="@(() => ToggleAsync(node))">
@(node.Expanded ? "▼" : "▶")
<TreeChevron Expanded="@node.Expanded" />
</button>
}
else
@@ -320,7 +320,7 @@
@onchange="@(e => ToggleTagSelection(node, e.Value is true))" />
</label>
}
<span aria-hidden="true">@KindIcon(node.Kind)</span>
<RawKindIcon Kind="@node.Kind" />
<span id="@(_labelScope + Convert.ToHexString(System.Text.Encoding.UTF8.GetBytes(node.Key)))" class="mono small @(muted ? "text-muted" : "")">@node.DisplayName</span>
@if (muted)
{
@@ -333,18 +333,6 @@
</span>
};
private static string KindIcon(RawNodeKind kind) => kind switch
{
RawNodeKind.Enterprise => "🏢",
RawNodeKind.Cluster => "🖥️",
RawNodeKind.Folder => "📁",
RawNodeKind.Driver => "🔌",
RawNodeKind.Device => "📟",
RawNodeKind.TagGroup => "🗂️",
RawNodeKind.Tag => "🏷️",
_ => "•",
};
// ---------------------------------------------------------------------------
// Lazy expansion — the whole point of WP2 (UNS never did this).
// ---------------------------------------------------------------------------
@@ -419,8 +407,8 @@
private List<ContextMenuItem> PickerContainerMenu(RawNode node) => new()
{
new() { Label = "Select all tags below", Icon = "☑", OnClick = () => SelectAllUnderAsync(node) },
new() { Label = "Clear all tags below", Icon = "☐", OnClick = () => ClearAllUnderAsync(node) },
new() { Label = "Select all tags below", OnClick = () => SelectAllUnderAsync(node) },
new() { Label = "Clear all tags below", OnClick = () => ClearAllUnderAsync(node) },
};
private bool IsTagSelected(RawNode node) =>
@@ -455,63 +443,63 @@
private List<ContextMenuItem> ClusterMenu(RawNode node) => new()
{
new() { Label = "New folder", Icon = "📁", OnClick = () => OnNewFolder(node) },
new() { Label = "New driver", Icon = "🔌", OnClick = () => OnNewDriver(node) },
new() { Label = "New folder", OnClick = () => OnNewFolder(node) },
new() { Label = "New driver", OnClick = () => OnNewDriver(node) },
};
private List<ContextMenuItem> FolderMenu(RawNode node) => new()
{
new() { Label = "New folder", Icon = "📁", OnClick = () => OnNewFolder(node) },
new() { Label = "New driver", Icon = "🔌", OnClick = () => OnNewDriver(node) },
new() { Label = "New folder", OnClick = () => OnNewFolder(node) },
new() { Label = "New driver", OnClick = () => OnNewDriver(node) },
ContextMenuItem.Separator(),
new() { Label = "Rename", Icon = "✏️", OnClick = () => OnRenameFolder(node) },
new() { Label = "Delete", Icon = "🗑️", OnClick = () => OnDeleteFolder(node) },
new() { Label = "Rename", OnClick = () => OnRenameFolder(node) },
new() { Label = "Delete", OnClick = () => OnDeleteFolder(node) },
};
private List<ContextMenuItem> DriverMenu(RawNode node) => new()
{
new() { Label = "Configure", Icon = "⚙", OnClick = () => OnConfigureDriver(node) },
new() { Label = "New device", Icon = "📟", OnClick = () => OnNewDevice(node) },
new() { Label = "Configure", OnClick = () => OnConfigureDriver(node) },
new() { Label = "New device", OnClick = () => OnNewDevice(node) },
ContextMenuItem.Separator(),
new() { Label = node.Enabled ? "Disable" : "Enable", Icon = node.Enabled ? "⏸" : "▶",
new() { Label = node.Enabled ? "Disable" : "Enable",
OnClick = () => OnToggleDriverEnabled(node) },
new() { Label = "Rename", Icon = "✏️", OnClick = () => OnRenameDriver(node) },
new() { Label = "Delete", Icon = "🗑️", OnClick = () => OnDeleteDriver(node) },
new() { Label = "Rename", OnClick = () => OnRenameDriver(node) },
new() { Label = "Delete", OnClick = () => OnDeleteDriver(node) },
};
private List<ContextMenuItem> DeviceMenu(RawNode node) => new()
{
new() { Label = "Configure", Icon = "⚙", OnClick = () => OnConfigureDevice(node) },
new() { Label = "New tag-group", Icon = "🗂️", OnClick = () => OnNewTagGroup(node) },
new() { Label = "Configure", OnClick = () => OnConfigureDevice(node) },
new() { Label = "New tag-group", OnClick = () => OnNewTagGroup(node) },
ContextMenuItem.Separator(),
// "Add tags ▸" flattened — ContextMenu is single-level, so the submenu is a labelled group.
new() { Label = "Add tags", Disabled = true },
new() { Label = "Manual entry", Icon = "✍️", OnClick = () => OnAddManualTags(node) },
new() { Label = "Import CSV", Icon = "📥", OnClick = () => OnImportCsv(node) },
new() { Label = "Export CSV", Icon = "📤", OnClick = () => OnExportCsv(node) },
new() { Label = "Browse device…", Icon = "🔭", OnClick = () => OnBrowseDevice(node) },
new() { Label = "Manual entry", OnClick = () => OnAddManualTags(node) },
new() { Label = "Import CSV", OnClick = () => OnImportCsv(node) },
new() { Label = "Export CSV", OnClick = () => OnExportCsv(node) },
new() { Label = "Browse device…", OnClick = () => OnBrowseDevice(node) },
ContextMenuItem.Separator(),
new() { Label = "Delete", Icon = "🗑️", OnClick = () => OnDeleteDevice(node) },
new() { Label = "Delete", OnClick = () => OnDeleteDevice(node) },
};
private List<ContextMenuItem> TagGroupMenu(RawNode node) => new()
{
new() { Label = "New group", Icon = "🗂️", OnClick = () => OnNewGroup(node) },
new() { Label = "New group", OnClick = () => OnNewGroup(node) },
ContextMenuItem.Separator(),
new() { Label = "Add tags", Disabled = true },
new() { Label = "Manual entry", Icon = "✍️", OnClick = () => OnAddManualTags(node) },
new() { Label = "Import CSV", Icon = "📥", OnClick = () => OnImportCsv(node) },
new() { Label = "Export CSV", Icon = "📤", OnClick = () => OnExportCsv(node) },
new() { Label = "Browse device…", Icon = "🔭", OnClick = () => OnBrowseDevice(node) },
new() { Label = "Manual entry", OnClick = () => OnAddManualTags(node) },
new() { Label = "Import CSV", OnClick = () => OnImportCsv(node) },
new() { Label = "Export CSV", OnClick = () => OnExportCsv(node) },
new() { Label = "Browse device…", OnClick = () => OnBrowseDevice(node) },
ContextMenuItem.Separator(),
new() { Label = "Rename", Icon = "✏️", OnClick = () => OnRenameTagGroup(node) },
new() { Label = "Delete", Icon = "🗑️", OnClick = () => OnDeleteTagGroup(node) },
new() { Label = "Rename", OnClick = () => OnRenameTagGroup(node) },
new() { Label = "Delete", OnClick = () => OnDeleteTagGroup(node) },
};
private List<ContextMenuItem> TagMenu(RawNode node) => new()
{
new() { Label = "Edit", Icon = "✏️", OnClick = () => OnEditTag(node) },
new() { Label = "Delete", Icon = "🗑️", OnClick = () => OnDeleteTag(node) },
new() { Label = "Edit", OnClick = () => OnEditTag(node) },
new() { Label = "Delete", OnClick = () => OnDeleteTag(node) },
};
// ---------------------------------------------------------------------------
@@ -0,0 +1,8 @@
@* Decorative geometry only; the owning button supplies its contextual accessible name. *@
<svg aria-hidden="true" focusable="false" width="12" height="12" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round">
<path d="@(Expanded ? "M3 4.5 6 7.5 9 4.5" : "M4.5 3 7.5 6 4.5 9")" />
</svg>
@code {
/// <summary>Whether the owning tree button currently shows its expanded state.</summary>
[Parameter] public bool Expanded { get; set; }
}
@@ -51,7 +51,7 @@
<button type="button" class="btn btn-sm btn-link p-0 tree-twist"
aria-label="@($"{(childrenShown ? "Collapse" : "Expand")} {node.DisplayName}")" aria-expanded="@(childrenShown ? "true" : "false")"
aria-busy="@(node.Loading ? "true" : null)" @onclick="@(() => OnToggleExpand.InvokeAsync(node))">
@(childrenShown ? "▼" : "▶")
<TreeChevron Expanded="@childrenShown" />
</button>
}
else
@@ -101,7 +101,7 @@
// either side of it are not adjacent and each carries its own margin.
<button type="button" class="btn btn-sm btn-outline-secondary ms-2"
aria-label="@($"+ Area under {node.DisplayName}")" @onclick="@(() => OnAddChild.InvokeAsync(node))">+ Area</button>
<a class="btn btn-sm btn-link p-0 ms-2" aria-label="@($"Settings for {node.DisplayName}")" href="@($"/clusters/{node.ClusterId}")">⚙ settings</a>
<a class="btn btn-sm btn-link p-0 ms-2" aria-label="@($"Settings for {node.DisplayName}")" href="@($"/clusters/{node.ClusterId}")">Settings</a>
<button type="button" class="btn btn-sm btn-outline-danger ms-2"
aria-label="@($"Delete {node.DisplayName}")" @onclick="@(() => OnDelete.InvokeAsync(node))">Delete</button>
break;
@@ -15,27 +15,18 @@
padding: 0.3rem 0.6rem;
}
/* OtOpcUa domain pages (Alerts, ScriptLog, Fleet, Hosts, AlarmsHistorian,
RoleGrants, ImportEquipment) use two extra status-chip variants on top of the
kit's .chip base + .chip-ok/.chip-warn/.chip-bad/.chip-idle/.chip-info set.
.chip-alert is the red/danger variant (mirrors the kit's .chip-bad);
.chip-caution is the amber variant (mirrors the kit's .chip-warn). Both reuse
the kit's status tokens so they stay on-palette. */
.chip-alert { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-border); }
.chip-caution { color: var(--warn-ink); background: var(--warn-bg); border-color: var(--warn-border); }
/* Bootstrap utility text is host presentation, separate from decorative signal tokens.
Keep error/success/warning labels readable on both Technical-Light paper and card. */
.text-danger { color: var(--bad-ink) !important; }
.text-warning { color: var(--warn-ink) !important; }
.text-success { color: var(--ok-ink) !important; }
/* Button sizing lives in the kit since ZB.MOM.WW.Theme 0.4.0 (layout.css ships the
.btn / .btn-sm CSS-variable overrides this sheet carried locally under 0.3.1). */
/* Red variant of the kit's .notice inline banner (theme.css styles .notice amber,
off the --warn-* tokens). Error banners across the AdminUI want the red tint, and
were reaching for it with an inline style="border-color:var(--alert)" — but no
--alert token exists in Theme 0.3.1, site.css or anywhere else, so that inline
rule resolved to nothing and the banner stayed amber. The kit's red family is the
--bad-* set (--bad / --bad-bg / --bad-border), the same tokens .chip-alert above
uses; combine as `class="panel notice notice-alert"`. */
/* Application error notices use the shared semantic family and readable text ink. */
.notice-alert {
color: var(--bad);
color: var(--bad-ink);
background: var(--bad-bg);
border-color: var(--bad-border);
}