Adapt Raw hierarchy density and menu placement to touch layouts
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# OT07 touch and narrow layout acceptance
|
||||
|
||||
The actual baseline Raw list measured29.61px rows at1440/390 and45.78px at195 while Virtualize retained ItemSize30. The first physical assertion failed on that mismatch. Coarse-pointer expansion/menu/checkbox visuals measured18×19,28×28 and14.39px respectively.
|
||||
|
||||
The Raw hierarchy now owns a named, keyboard-focusable local scroll viewport capped at60dvh. Complete names and25-level indentation stay available through local horizontal scrolling. Every virtual item, including loading/error/paging rows, uses the same30px desktop/44px coarse height as ItemSize. Native matchMedia observations carry monotonic revisions and import/disposal guards; stale initial results cannot overwrite a newer capability observation. Desktop checkbox hit labels are24×30; expansion18×30 has nonoverlapping24px spacing circles relative to neighboring targets. Coarse expansion/menu/checkbox hit labels are44×44. Native checkbox appearance is preserved.
|
||||
|
||||
ContextMenu keeps the original Blazor-owned DOM, action delegates, disabled semantics and keyboard controller. A local adapter positions the menu in the native manual-popover top layer when supported, with a fixed visible fallback, clamping and resize observers. Observer/listener references are released when the menu unmounts. No portal clones, generic Theme component, new palette or backend contract are introduced.
|
||||
|
||||
Two real keyboard defects were caught in additional engine checks. WebKit emits keyboard click detail0 with nonzero coordinates, so coordinates alone failed to restore focus. Trigger click and contextmenu invokers are now explicit; physical right-click detail0 remains pointer-positioned even at0,0. A tab-focused item must use its native button click rather than also activating the menu's prior active index. The native key guard now separates that path, while focus updates the current item and contextual menu/active-descendant IDs identify the existing controls. No domain action is added or changed.
|
||||
|
||||
ScriptLog/FleetDiagnostics use wrapping toolbars and coarse44px controls. The diagnostics selector is constrained inside its flex field, and typed Host:port has a visible native label. Business bodies/bindings remain unchanged. ScriptLog's two header class changes were accepted and committed with OT08 (78bad3a6); OT07 owns their local geometry rules.
|
||||
|
||||
Verification:15focused tests pass (4invoker cases,3density lifecycle cases,8existing flatten/paging cases),0skips. The invoker regression retained1failure/2positive passes before the fix; the additional right-click origin edge is included in the green run. All later tests explicitly target owned loopback SQL through the private environment runner, including discovery. Earlier filtered runs are not claimed SQL-isolated: discovery may perform a default readiness SELECT1 before filters, though no shared SQL collection/write tests ran.
|
||||
|
||||
The actual Chromium16case matrix passes:1440/390/195, true coarse/tap input,500→800paging with55–62mounted rows,25-level keyboard horizontal scroll/native selection, focused selected same-DOM row through both live density changes, menu viewport resize, six toolbar scenes, real200% at720and195CSSpx/DPR2. Two affected zoom cases were repeated to correct Chrome full-page screenshot framing; viewport captures preserve actual zoom. Initial paging harness jumped before server expansion; the corrected harness waits for the real expanded scroll extent. Those logs and initial images are retained. This was one visual inspection plus bounded correction/confirmation, not a product styling loop.
|
||||
|
||||
Cross-repo repeatable native fixtures/results, screenshots and peer review: scadaproj/components/ui-theme/validation/ot-ui/ot07-root. The app-local DensityPilot is allowlisted/synthetic and refuses operational services. New pointer/geometry assets served byte-equal to source. Private SQL state/password and disposable browser profiles are not committed. No app deployment or real device probe occurred.
|
||||
|
||||
Source boundaries are recorded at this checkpoint. Later authorized OT13 caller/operation guards may intentionally change controller lifecycle code; these historical checks do not certify those later changes. [Virtualize scroll-root source](https://raw.githubusercontent.com/dotnet/aspnetcore/v10.0.0/src/Components/Web.JS/src/Virtualize.ts) explains why an unbounded horizontal-overflow ancestor would be unsafe. Human screen-reader listening remains a distinct rollout check.
|
||||
|
||||
Final keyboard confirmation passes in Chromium145/Firefox146/WebKit26 (exact versions in cross-repo JSON): parent Enter selects800 with one local resolution; native Tab to the second item then Enter clears with exactly one further resolution; focus returns in all3engines and no page errors occur. Explicit tabindex0 retains native item eligibility under Safari's default implicit-button preference. A controlled empty-page comparison verified that inside text/explicit controls remain tabbable; no shared ThemeShell change or release was inferred. Initial focus is owned once in the adapter, avoiding a second delayed interop focus. Return focus does not override another open menu or deliberate outside focus. Geometry/action-scope peer review accepted the checkpoint; invoker/child-key corrections have the retained red/green proofs.
|
||||
@@ -0,0 +1,134 @@
|
||||
[
|
||||
{
|
||||
"width": 1440,
|
||||
"coarse": false,
|
||||
"scrollWidth": 1440,
|
||||
"renderedTags": 55,
|
||||
"expand": [
|
||||
{
|
||||
"width": 18,
|
||||
"height": 19.46875
|
||||
},
|
||||
{
|
||||
"width": 18,
|
||||
"height": 0
|
||||
}
|
||||
],
|
||||
"menu": [
|
||||
{
|
||||
"width": 28,
|
||||
"height": 28
|
||||
}
|
||||
],
|
||||
"checkbox": [
|
||||
{
|
||||
"width": 14.390625,
|
||||
"height": 14.390625
|
||||
},
|
||||
{
|
||||
"width": 14.390625,
|
||||
"height": 14.390625
|
||||
}
|
||||
],
|
||||
"rowHeight": 29.609375
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"coarse": false,
|
||||
"scrollWidth": 390,
|
||||
"renderedTags": 55,
|
||||
"expand": [
|
||||
{
|
||||
"width": 18,
|
||||
"height": 19.46875
|
||||
},
|
||||
{
|
||||
"width": 18,
|
||||
"height": 0
|
||||
}
|
||||
],
|
||||
"menu": [
|
||||
{
|
||||
"width": 28,
|
||||
"height": 28
|
||||
}
|
||||
],
|
||||
"checkbox": [
|
||||
{
|
||||
"width": 14.390625,
|
||||
"height": 14.390625
|
||||
},
|
||||
{
|
||||
"width": 14.390625,
|
||||
"height": 14.390625
|
||||
}
|
||||
],
|
||||
"rowHeight": 29.609375
|
||||
},
|
||||
{
|
||||
"width": 195,
|
||||
"coarse": false,
|
||||
"scrollWidth": 195,
|
||||
"renderedTags": 50,
|
||||
"expand": [
|
||||
{
|
||||
"width": 18,
|
||||
"height": 19.46875
|
||||
},
|
||||
{
|
||||
"width": 18,
|
||||
"height": 0
|
||||
}
|
||||
],
|
||||
"menu": [
|
||||
{
|
||||
"width": 28,
|
||||
"height": 28
|
||||
}
|
||||
],
|
||||
"checkbox": [
|
||||
{
|
||||
"width": 14.390625,
|
||||
"height": 14.390625
|
||||
},
|
||||
{
|
||||
"width": 14.390625,
|
||||
"height": 14.390625
|
||||
}
|
||||
],
|
||||
"rowHeight": 45.78125
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"coarse": true,
|
||||
"scrollWidth": 390,
|
||||
"renderedTags": 55,
|
||||
"expand": [
|
||||
{
|
||||
"width": 18,
|
||||
"height": 19.46875
|
||||
},
|
||||
{
|
||||
"width": 18,
|
||||
"height": 0
|
||||
}
|
||||
],
|
||||
"menu": [
|
||||
{
|
||||
"width": 28,
|
||||
"height": 28
|
||||
}
|
||||
],
|
||||
"checkbox": [
|
||||
{
|
||||
"width": 14.390625,
|
||||
"height": 14.390625
|
||||
},
|
||||
{
|
||||
"width": 14.390625,
|
||||
"height": 14.390625
|
||||
}
|
||||
],
|
||||
"rowHeight": 29.609375
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,17 @@
|
||||
"""Measured pre-change synthetic Raw hierarchy and toolbars; no backend operations."""
|
||||
from playwright.sync_api import sync_playwright
|
||||
from pathlib import Path
|
||||
import json
|
||||
out=Path(__file__).resolve().parent;data=[]
|
||||
with sync_playwright() as p:
|
||||
b=p.chromium.launch()
|
||||
for width,coarse in [(1440,False),(390,False),(195,False),(390,True)]:
|
||||
context=b.new_context(viewport={'width':width,'height':900},has_touch=coarse,is_mobile=coarse)
|
||||
page=context.new_page();page.goto('http://127.0.0.1:18139/raw-pilot');page.wait_for_selector('#raw-scroller input[type=checkbox]');page.evaluate('document.fonts.ready');page.wait_for_timeout(500)
|
||||
data.append(page.evaluate('''()=>({width:innerWidth,coarse:matchMedia('(pointer:coarse)').matches,scrollWidth:document.documentElement.scrollWidth,renderedTags:document.querySelectorAll('#raw-scroller input[type=checkbox]').length,expand:[...document.querySelectorAll('#raw-scroller .tree-twist')].slice(0,2).map(e=>({width:e.getBoundingClientRect().width,height:e.getBoundingClientRect().height})),menu:[...document.querySelectorAll('#raw-scroller .ctx-ellipsis')].slice(0,2).map(e=>({width:e.getBoundingClientRect().width,height:e.getBoundingClientRect().height})),checkbox:[...document.querySelectorAll('#raw-scroller input[type=checkbox]')].slice(0,2).map(e=>({width:e.getBoundingClientRect().width,height:e.getBoundingClientRect().height})),rowHeight:document.querySelector('#raw-scroller input[type=checkbox]').closest('div').getBoundingClientRect().height})'''))
|
||||
context.close()
|
||||
b.close()
|
||||
(out/'baseline-measurements.json').write_text(json.dumps(data,indent=2)+'\n');print(json.dumps(data))
|
||||
|
||||
assert all(abs(r["rowHeight"]-30)<1 for r in data), "Raw row heights must match ItemSize30 before density support"
|
||||
assert all(r["expand"][0]["width"]>=44 and r["expand"][0]["height"]>=44 for r in data if r["coarse"]), "Coarse expand target must be44px"
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Debug/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/Debug/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/Debug/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: 11, Skipped: 0, Total: 11, Duration: 206 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/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/Debug/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/Debug/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/Debug/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: 15, Skipped: 0, Total: 15, Duration: 206 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll
|
||||
|
||||
Build succeeded.
|
||||
0 Warning(s)
|
||||
0 Error(s)
|
||||
|
||||
Time Elapsed 00:00:06.92
|
||||
@@ -0,0 +1 @@
|
||||
PASS3actual keyboard menus;parent+focused-child eachdispatchonce;focusreturn/native top layer
|
||||
@@ -0,0 +1 @@
|
||||
PASS 16 actual density/paging/menu/deep/toolbar/real-zoom cases
|
||||
@@ -0,0 +1,6 @@
|
||||
[{"width": 1440, "coarse": false, "scrollWidth": 1440, "renderedTags": 55, "expand": [{"width": 18, "height": 19.46875}, {"width": 18, "height": 0}], "menu": [{"width": 28, "height": 28}], "checkbox": [{"width": 14.390625, "height": 14.390625}, {"width": 14.390625, "height": 14.390625}], "rowHeight": 29.609375}, {"width": 390, "coarse": false, "scrollWidth": 390, "renderedTags": 55, "expand": [{"width": 18, "height": 19.46875}, {"width": 18, "height": 0}], "menu": [{"width": 28, "height": 28}], "checkbox": [{"width": 14.390625, "height": 14.390625}, {"width": 14.390625, "height": 14.390625}], "rowHeight": 29.609375}, {"width": 195, "coarse": false, "scrollWidth": 195, "renderedTags": 50, "expand": [{"width": 18, "height": 19.46875}, {"width": 18, "height": 0}], "menu": [{"width": 28, "height": 28}], "checkbox": [{"width": 14.390625, "height": 14.390625}, {"width": 14.390625, "height": 14.390625}], "rowHeight": 45.78125}, {"width": 390, "coarse": true, "scrollWidth": 390, "renderedTags": 55, "expand": [{"width": 18, "height": 19.46875}, {"width": 18, "height": 0}], "menu": [{"width": 28, "height": 28}], "checkbox": [{"width": 14.390625, "height": 14.390625}, {"width": 14.390625, "height": 14.390625}], "rowHeight": 29.609375}]
|
||||
Traceback (most recent call last):
|
||||
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot07-touch/baseline.py", line 16, in <module>
|
||||
assert all(abs(r["rowHeight"]-30)<1 for r in data), "Raw row heights must match ItemSize30 before density support"
|
||||
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
AssertionError: Raw row heights must match ItemSize30 before density support
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"checks": {
|
||||
"rawControllerTailByteEqual": true,
|
||||
"rawExistingParametersAndFieldsByteEqual": true,
|
||||
"diagnosticsBusinessBodyByteEqual": true,
|
||||
"menuActionsAndKeyboardControllerByteEqual": true,
|
||||
"servedSiteCssAndModuleEqualSource": true,
|
||||
"menuActivationCallbackAndItemLabelsRetained": true
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Raw/RawTree.razor",
|
||||
"sha256": "acf600c6d88ed1f01447d438e1d80e5f493d77191f57e32a14f0fa37ef2d5c30"
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/ContextMenu.razor",
|
||||
"sha256": "80b9ff55e2bed332c09c35f2189fbdb45cb3245dfbc9ebdd4cba8cba7c499be5"
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/ContextMenu.razor.css",
|
||||
"sha256": "158580a84407f65ab3cccadf39e31168d59200ed1b4bdd2ed649ca13b2c07838"
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/FleetDiagnostics.razor",
|
||||
"sha256": "6f7b5f71589b438bd285791401612ec6295180664d414603349597cbfde3986b"
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/wwwroot/css/site.css",
|
||||
"sha256": "9ad68c4a77de58045d87420f17b5fc41604839d2867dd41c59e8b2258bd841d6"
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/wwwroot/js/tree-layout.js",
|
||||
"sha256": "397f557066037982d70a6830ade8ddf82c15667b4ceb5e2004e62b3f16c58bad"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/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/Debug/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/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/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/Debug/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/Debug/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/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
[xUnit.net 00:00:03.93] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ContextMenuPlacementTests.TriggerClick_WithNonzeroCoordinates_UsesNativeDetail(detail: 0, anchored: True) [FAIL]
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ContextMenuPlacementTests.TriggerClick_WithNonzeroCoordinates_UsesNativeDetail(detail: 0, anchored: True) [211 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : module.Invocations.Single(x=>x.Identifier=="placeMenu").Arguments[2]
|
||||
should be
|
||||
True
|
||||
but was
|
||||
False
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.ContextMenuPlacementTests.TriggerClick_WithNonzeroCoordinates_UsesNativeDetail(Int64 detail, Boolean anchored) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/ContextMenuPlacementTests.cs:line 24
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
|
||||
|
||||
Failed! - Failed: 1, Passed: 2, Skipped: 0, Total: 3, Duration: 232 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1 @@
|
||||
PASS2actual zoom cases; viewport screenshots preserve native zoom framing
|
||||
@@ -27,7 +27,8 @@
|
||||
<a class="btn btn-sm btn-outline-secondary" href="/fleet">Back to fleet status</a>
|
||||
</div>
|
||||
|
||||
<div class="d-flex align-items-center mb-3 gap-2 flex-wrap">
|
||||
<div class="ot-toolbar d-flex align-items-end mb-3 gap-2 flex-wrap">
|
||||
<div class="ot-toolbar-field">
|
||||
<label class="small text-muted mb-0" for="diag-node">Node</label>
|
||||
<select id="diag-node" class="form-select form-select-sm" style="width:auto"
|
||||
value="@_selectedNode" @onchange="OnNodeSelected">
|
||||
@@ -41,9 +42,12 @@
|
||||
<option value="@_selectedNode">@_selectedNode (not an Up member)</option>
|
||||
}
|
||||
</select>
|
||||
<input type="text" class="form-control form-control-sm" style="width:220px"
|
||||
placeholder="or type host:port…" @bind="_typedNode" @bind:event="oninput"
|
||||
@onkeydown="OnTypedKeyDown" />
|
||||
</div>
|
||||
<label class="ot-toolbar-field small text-muted">Host:port
|
||||
<input type="text" class="form-control form-control-sm" style="width:220px;max-width:100%"
|
||||
placeholder="or type host:port…" @bind="_typedNode" @bind:event="oninput"
|
||||
@onkeydown="OnTypedKeyDown" />
|
||||
</label>
|
||||
<button class="btn btn-sm btn-outline-primary" @onclick="UseTypedNodeAsync"
|
||||
disabled="@(string.IsNullOrWhiteSpace(_typedNode))">Go</button>
|
||||
<button class="btn btn-sm btn-outline-primary" @onclick="RefreshAsync"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
@using Microsoft.JSInterop
|
||||
@inject IJSRuntime MenuLayoutJS
|
||||
@implements IAsyncDisposable
|
||||
@* Reusable right-click / context menu.
|
||||
|
||||
Consumers get two (independently optional) triggers over one item list:
|
||||
@@ -6,7 +9,8 @@
|
||||
|
||||
Mouse/touch open the menu anchored at the pointer (fixed positioning). Keyboard
|
||||
activation of the "⋯" button carries no pointer coordinates, so the menu instead
|
||||
anchors just below the button (absolute positioning inside the trigger wrap).
|
||||
anchors below the measured button, clamped to the viewport. The local geometry adapter keeps
|
||||
the original menu node in the native top layer when supported.
|
||||
Outside-click (or a right-click elsewhere) closes via a transparent full-viewport
|
||||
backdrop — no JS alert/confirm. Keyboard: Arrow up/down move selection, Enter/Space
|
||||
activate, Esc closes; focus returns to the "⋯" trigger on close. *@
|
||||
@@ -28,7 +32,7 @@
|
||||
{
|
||||
<span class="ctx-ellipsis-wrap">
|
||||
<button type="button" class="ctx-ellipsis" title="@TriggerLabel" aria-label="@TriggerLabel"
|
||||
aria-haspopup="true" aria-expanded="@_open" @ref="_ellipsisRef" @onclick="OpenAt">
|
||||
aria-haspopup="true" aria-expanded="@_open" @ref="_ellipsisRef" @onclick="OpenFromTrigger">
|
||||
⋯@* ⋯ MIDLINE HORIZONTAL ELLIPSIS *@
|
||||
</button>
|
||||
@if (_open && _anchorToEllipsis)
|
||||
@@ -59,6 +63,13 @@
|
||||
/// <summary>Contextual accessible name and tooltip for the native menu trigger.</summary>
|
||||
[Parameter] public string TriggerLabel { get; set; } = "More actions";
|
||||
|
||||
private readonly string _menuId = "ctx-menu-" + Guid.NewGuid().ToString("N");
|
||||
private string MenuItemId(int index) => _menuId + "-item-" + index;
|
||||
private readonly SemaphoreSlim _menuLayoutGate = new(1);
|
||||
private IJSObjectReference? _menuLayoutModule;
|
||||
private Task? _menuLayoutDisposal;
|
||||
private bool _menuLayoutDisposed;
|
||||
private long _menuGeneration;
|
||||
private bool _open;
|
||||
private double _x;
|
||||
private double _y;
|
||||
@@ -69,12 +80,16 @@
|
||||
private bool _focusMenuPending;
|
||||
private bool _focusEllipsisPending;
|
||||
|
||||
// Mouse right-click / touch-tap carry real pointer coordinates → anchor the menu there
|
||||
// (fixed). Keyboard activation of the "⋯" button dispatches a click with clientX/Y == 0
|
||||
// (no pointer) → anchor the menu below the button instead of at viewport origin (0,0).
|
||||
private void OpenAt(MouseEventArgs e)
|
||||
// WebKit keyboard clicks have detail=0 even with nonzero coordinates.
|
||||
// A native contextmenu event also has detail=0, so its invoker stays explicit.
|
||||
private void OpenFromTrigger(MouseEventArgs e) => OpenMenu(e, e.Detail == 0);
|
||||
private void OpenAt(MouseEventArgs e) => OpenMenu(e, anchored: false);
|
||||
|
||||
private void OpenMenu(MouseEventArgs e, bool anchored)
|
||||
{
|
||||
_anchorToEllipsis = e.ClientX == 0 && e.ClientY == 0;
|
||||
if (_menuLayoutDisposed) return;
|
||||
++_menuGeneration;
|
||||
_anchorToEllipsis = anchored;
|
||||
_x = e.ClientX;
|
||||
_y = e.ClientY;
|
||||
_activeIndex = FirstEnabledIndex();
|
||||
@@ -85,6 +100,7 @@
|
||||
private void Close()
|
||||
{
|
||||
if (!_open) return;
|
||||
++_menuGeneration;
|
||||
var returnFocus = _anchorToEllipsis; // keyboard-opened via the ⋯ button — restore its focus
|
||||
_open = false;
|
||||
_activeIndex = -1;
|
||||
@@ -150,10 +166,10 @@
|
||||
}
|
||||
|
||||
// The menu body, shared between the pointer-anchored (fixed) and ellipsis-anchored
|
||||
// (absolute) placements so the item loop lives in exactly one place.
|
||||
// (clamped fixed) placements so the item loop lives in exactly one place.
|
||||
private RenderFragment RenderMenu(string cssClass, string? style) => __builder =>
|
||||
{
|
||||
<div class="@cssClass" style="@style" role="menu" tabindex="0" @ref="_menuRef" @onkeydown="OnKeyDown">
|
||||
<div class="@cssClass" style="@style" role="menu" aria-label="@TriggerLabel" aria-activedescendant="@(_activeIndex >= 0 && _activeIndex < Items.Count ? MenuItemId(_activeIndex) : null)" tabindex="0" @ref="_menuRef" @onkeydown="OnKeyDown">
|
||||
@for (var i = 0; i < Items.Count; i++)
|
||||
{
|
||||
var item = Items[i];
|
||||
@@ -164,7 +180,7 @@
|
||||
else
|
||||
{
|
||||
var index = i;
|
||||
<button type="button" role="menuitem"
|
||||
<button id="@MenuItemId(index)" type="button" role="menuitem" tabindex="0" @onfocus="() => _activeIndex = index"
|
||||
class="ctx-item @(index == _activeIndex ? "active" : "")"
|
||||
disabled="@item.Disabled"
|
||||
@onclick="() => Activate(item)">
|
||||
@@ -184,14 +200,69 @@
|
||||
if (_focusMenuPending)
|
||||
{
|
||||
_focusMenuPending = false;
|
||||
try { await _menuRef.FocusAsync(); }
|
||||
catch { /* the menu may have closed before the focus round-trip completed */ }
|
||||
var generation = _menuGeneration;
|
||||
var menu = _menuRef;
|
||||
var trigger = _ellipsisRef;
|
||||
var anchored = _anchorToEllipsis;
|
||||
var x = _x;
|
||||
var y = _y;
|
||||
var positioned = false;
|
||||
await _menuLayoutGate.WaitAsync();
|
||||
try
|
||||
{
|
||||
if (_menuLayoutDisposed || !_open || generation != _menuGeneration) return;
|
||||
_menuLayoutModule ??= await MenuLayoutJS.InvokeAsync<IJSObjectReference>("import", "./_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/tree-layout.js");
|
||||
if (!_menuLayoutDisposed && _open && generation == _menuGeneration)
|
||||
positioned = await _menuLayoutModule.InvokeAsync<bool>("placeMenu", menu, trigger, anchored, x, y);
|
||||
}
|
||||
catch (JSDisconnectedException) { }
|
||||
catch (JSException) { /* The fixed visible fallback remains keyboard reachable. */ }
|
||||
catch (InvalidOperationException) { /* prerender */ }
|
||||
finally { _menuLayoutGate.Release(); }
|
||||
if (!positioned && !_menuLayoutDisposed && _open && generation == _menuGeneration)
|
||||
{
|
||||
try { await menu.FocusAsync(); }
|
||||
catch (JSDisconnectedException) { }
|
||||
catch (JSException) { }
|
||||
catch (InvalidOperationException) { }
|
||||
}
|
||||
}
|
||||
if (_focusEllipsisPending)
|
||||
{
|
||||
_focusEllipsisPending = false;
|
||||
try { await _ellipsisRef.FocusAsync(); }
|
||||
catch { /* the trigger may have unmounted */ }
|
||||
if (!_menuLayoutDisposed && !_open)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (_menuLayoutModule is not null)
|
||||
await _menuLayoutModule.InvokeVoidAsync("restoreMenuTrigger", _ellipsisRef);
|
||||
else await _ellipsisRef.FocusAsync();
|
||||
}
|
||||
catch (JSDisconnectedException) { }
|
||||
catch (JSException) { }
|
||||
catch (InvalidOperationException) { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Releases the local geometry module without changing any menu action.</summary>
|
||||
/// <returns>The shared teardown operation.</returns>
|
||||
public ValueTask DisposeAsync() => new(_menuLayoutDisposal ??= DisposeMenuLayoutAsync());
|
||||
|
||||
private async Task DisposeMenuLayoutAsync()
|
||||
{
|
||||
_menuLayoutDisposed = true;
|
||||
++_menuGeneration;
|
||||
await _menuLayoutGate.WaitAsync();
|
||||
try
|
||||
{
|
||||
if (_menuLayoutModule is not null)
|
||||
{
|
||||
try { await _menuLayoutModule.DisposeAsync(); }
|
||||
catch (JSDisconnectedException) { }
|
||||
catch (TaskCanceledException) { }
|
||||
}
|
||||
}
|
||||
finally { _menuLayoutGate.Release(); }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/* Scoped styles for ContextMenu. Colours come from the shared ZB.MOM.WW.Theme
|
||||
tokens (theme.css) so the menu tracks the app palette. The kit is light-only —
|
||||
Theme 0.3.1 ships no dark-scheme block, and neither does site.css or this file —
|
||||
Theme 1.0.1 ships no dark-scheme block, and neither does site.css or this file —
|
||||
so there is no dark variant to track. */
|
||||
|
||||
.ctx-surface {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* Positioned wrap so a keyboard-opened menu can anchor below the "⋯" button. */
|
||||
/* Preserve the trigger geometry measured by the local fixed-menu adapter. */
|
||||
.ctx-ellipsis-wrap {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
@@ -58,12 +58,12 @@
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Keyboard-opened placement: anchored just below the "⋯" trigger instead of the pointer. */
|
||||
/* Visible fixed fallback before the adapter measures the keyboard trigger. */
|
||||
.ctx-menu--anchored {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
margin-top: 0.25rem;
|
||||
position: fixed;
|
||||
top: 0.5rem;
|
||||
left: 0.5rem;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.ctx-item {
|
||||
@@ -107,3 +107,9 @@
|
||||
margin: 0.25rem 0.3rem;
|
||||
background: var(--bs-border-color);
|
||||
}
|
||||
|
||||
.ctx-menu { white-space:normal; max-width:calc(100vw - 1rem); max-height:calc(100dvh - 1rem); overflow:auto; }
|
||||
@media (pointer:coarse) {
|
||||
.ctx-ellipsis { width:44px; height:44px; }
|
||||
.ctx-item { min-height:44px; }
|
||||
}
|
||||
|
||||
@@ -22,14 +22,20 @@
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers
|
||||
@inject IRawTreeService Svc
|
||||
@inject IJSRuntime TreeLayoutJS
|
||||
@using Microsoft.JSInterop
|
||||
@implements IAsyncDisposable
|
||||
|
||||
@* One flat, virtualized row list (R04 P5): only the rows in view render, and each expanded level
|
||||
shows RawTreeRows.DefaultPageSize children before a "Show more" row. Flatten runs per render; it is
|
||||
O(visible rows) with no allocation per node beyond one row struct, so every mutation path below
|
||||
(reload, toggle, load) is picked up without separate invalidation. *@
|
||||
<Virtualize Items="@RawTreeRows.Flatten(Roots)" ItemSize="30" OverscanCount="20" Context="row">
|
||||
@RenderRow(row)
|
||||
</Virtualize>
|
||||
<div class="raw-tree-rows" role="region" aria-label="Raw hierarchy" tabindex="0"
|
||||
data-density="@(_rowHeight == 44 ? "touch" : "compact")" style="@($"--raw-row-height:{_rowHeight}px")">
|
||||
<Virtualize Items="@RawTreeRows.Flatten(Roots)" ItemSize="@_rowHeight" OverscanCount="20" Context="row">
|
||||
@RenderRow(row)
|
||||
</Virtualize>
|
||||
</div>
|
||||
|
||||
@* --- Real modals + dialogs (one instance each for the whole recursive tree) --- *@
|
||||
<DriverConfigModal @bind-Visible="_driverCfgVisible" DriverInstanceId="@_driverCfgId" OnSaved="DriverCfgSaved" />
|
||||
@@ -63,6 +69,73 @@
|
||||
NodeName="@_msgNodeName" OnClose="CloseMessage" />
|
||||
|
||||
@code {
|
||||
private readonly string _densityId = "raw-density-" + Guid.NewGuid().ToString("N");
|
||||
private readonly SemaphoreSlim _densityGate = new(1);
|
||||
private DotNetObjectReference<RawTree>? _densityReference;
|
||||
private IJSObjectReference? _treeLayoutModule;
|
||||
private bool _densityDisposed;
|
||||
private Task? _densityDisposal;
|
||||
private int _rowHeight = 30;
|
||||
private long _densityRevision = -1;
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (!firstRender) return;
|
||||
await _densityGate.WaitAsync();
|
||||
try
|
||||
{
|
||||
if (_densityDisposed) return;
|
||||
_treeLayoutModule = await TreeLayoutJS.InvokeAsync<IJSObjectReference>("import", "./_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/tree-layout.js");
|
||||
if (_densityDisposed) return;
|
||||
_densityReference = DotNetObjectReference.Create(this);
|
||||
var coarse = await _treeLayoutModule.InvokeAsync<bool>("observeDensity", _densityId, _densityReference);
|
||||
if (!_densityDisposed && _densityRevision < 0) await SetPointerDensity(0, coarse);
|
||||
}
|
||||
catch (JSDisconnectedException) { }
|
||||
catch (JSException) { /* Keep the compact, internally consistent fallback. */ }
|
||||
catch (InvalidOperationException) { /* prerender */ }
|
||||
finally { _densityGate.Release(); }
|
||||
}
|
||||
|
||||
/// <summary>Applies the current native pointer density to both rows and their virtualization estimate.</summary>
|
||||
/// <param name="revision">Monotonic identity of the media-query observation.</param>
|
||||
/// <param name="coarse">Whether the current pointer needs larger targets.</param>
|
||||
/// <returns>The serialized render update.</returns>
|
||||
[JSInvokable]
|
||||
public Task SetPointerDensity(long revision, bool coarse) => InvokeAsync(() =>
|
||||
{
|
||||
if (_densityDisposed || revision <= _densityRevision) return;
|
||||
_densityRevision = revision;
|
||||
var height = coarse ? 44 : 30;
|
||||
if (height == _rowHeight) return;
|
||||
_rowHeight = height;
|
||||
StateHasChanged();
|
||||
});
|
||||
|
||||
/// <summary>Releases only the local density observer and its callback handle.</summary>
|
||||
/// <returns>The shared teardown operation.</returns>
|
||||
public ValueTask DisposeAsync() => new(_densityDisposal ??= DisposeDensityAsync());
|
||||
|
||||
private async Task DisposeDensityAsync()
|
||||
{
|
||||
_densityDisposed = true;
|
||||
await _densityGate.WaitAsync();
|
||||
try
|
||||
{
|
||||
if (_treeLayoutModule is not null)
|
||||
{
|
||||
try
|
||||
{
|
||||
await _treeLayoutModule.InvokeVoidAsync("stopDensity", _densityId);
|
||||
await _treeLayoutModule.DisposeAsync();
|
||||
}
|
||||
catch (JSDisconnectedException) { }
|
||||
catch (TaskCanceledException) { }
|
||||
}
|
||||
}
|
||||
finally { _densityReference?.Dispose(); _densityGate.Release(); }
|
||||
}
|
||||
|
||||
private readonly string _labelScope = "raw-control-" + Guid.NewGuid().ToString("N") + "-";
|
||||
/// <summary>The top-level Raw nodes to render (the enterprise roots from <c>LoadRootsAsync</c>).</summary>
|
||||
[Parameter, EditorRequired] public IReadOnlyList<RawNode> Roots { get; set; } = default!;
|
||||
@@ -179,17 +252,17 @@
|
||||
@RenderNode(row.Node, row.Depth)
|
||||
break;
|
||||
case RawTreeRowKind.Loading:
|
||||
<div @key="row.Key" class="small text-muted py-1" style="@($"padding-left:{row.Depth * 18}px")">
|
||||
<div @key="row.Key" class="raw-tree-row small text-muted" style="@($"padding-left:{row.Depth * 18}px")">
|
||||
<span class="spinner-border spinner-border-sm me-1"></span>Loading…
|
||||
</div>
|
||||
break;
|
||||
case RawTreeRowKind.Error:
|
||||
<div @key="row.Key" class="small text-danger py-1" style="@($"padding-left:{row.Depth * 18}px")">
|
||||
<div @key="row.Key" class="raw-tree-row small text-danger" style="@($"padding-left:{row.Depth * 18}px")">
|
||||
@row.Node.Error
|
||||
</div>
|
||||
break;
|
||||
default:
|
||||
<div @key="row.Key" class="small py-1" style="@($"padding-left:{row.Depth * 18}px")">
|
||||
<div @key="row.Key" class="raw-tree-row small" style="@($"padding-left:{row.Depth * 18}px")">
|
||||
<button type="button" class="btn btn-sm btn-link p-0" aria-label="@($"Show {Math.Min(row.Remaining, RawTreeRows.DefaultPageSize)} more ({row.Remaining} not shown) under {row.Node.DisplayName}")" @onclick="@(() => ShowMore(row.Node))">
|
||||
Show @Math.Min(row.Remaining, RawTreeRows.DefaultPageSize) more
|
||||
(@row.Remaining not shown)
|
||||
@@ -208,7 +281,7 @@
|
||||
var muted = node.Enabled == false && node.Kind is RawNodeKind.Driver or RawNodeKind.Device;
|
||||
var items = _menus.GetOrBuild(node, PickerMode, MenuFor);
|
||||
|
||||
<div @key="node.Key" class="d-flex align-items-center gap-1 py-1" style="@indent">
|
||||
<div @key="node.Key" class="raw-tree-row d-flex align-items-center gap-1" style="@indent">
|
||||
@if (hasExpander)
|
||||
{
|
||||
<button type="button" class="btn btn-sm btn-link p-0 tree-twist"
|
||||
@@ -238,12 +311,14 @@
|
||||
// The icon + label + badge shown for a node — the ContextMenu right-click surface.
|
||||
private RenderFragment RenderRowBody(RawNode node, bool muted) => __builder =>
|
||||
{
|
||||
<span class="d-inline-flex align-items-center gap-1">
|
||||
<span class="raw-node-body d-inline-flex align-items-center gap-1">
|
||||
@if (PickerMode && node.Kind == RawNodeKind.Tag)
|
||||
{
|
||||
<label class="raw-select-target">
|
||||
<input type="checkbox" class="form-check-input me-1" aria-labelledby="@(_labelScope + Convert.ToHexString(System.Text.Encoding.UTF8.GetBytes(node.Key)))"
|
||||
title="@($"{node.Kind} {node.Key}")" checked="@IsTagSelected(node)"
|
||||
@onchange="@(e => ToggleTagSelection(node, e.Value is true))" />
|
||||
</label>
|
||||
}
|
||||
<span aria-hidden="true">@KindIcon(node.Kind)</span>
|
||||
<span id="@(_labelScope + Convert.ToHexString(System.Text.Encoding.UTF8.GetBytes(node.Key)))" class="mono small @(muted ? "text-muted" : "")">@node.DisplayName</span>
|
||||
|
||||
@@ -59,3 +59,25 @@
|
||||
.rise {
|
||||
animation-fill-mode: backwards;
|
||||
}
|
||||
|
||||
/* Raw hierarchy owns a bounded scroll viewport so indentation and complete node
|
||||
names stay local. Every virtual item uses the same measured density estimate. */
|
||||
.raw-tree-rows { max-width:100%; max-height:60vh; max-height:60dvh; overflow:auto; }
|
||||
.raw-tree-row { height:var(--raw-row-height,30px); min-height:var(--raw-row-height,30px); width:max-content; min-width:100%; box-sizing:border-box; white-space:nowrap; padding-top:0; padding-bottom:0; }
|
||||
.raw-node-body { height:var(--raw-row-height,30px); white-space:nowrap; }
|
||||
.raw-tree-rows .tree-twist { display:inline-flex; align-items:center; justify-content:center; height:var(--raw-row-height,30px); }
|
||||
.raw-tree-rows[data-density="compact"] .ctx-ellipsis { width:28px; height:28px; }
|
||||
.raw-select-target { display:inline-flex; align-items:center; justify-content:center; width:24px; height:var(--raw-row-height,30px); margin:0; cursor:pointer; }
|
||||
.raw-select-target .form-check-input { margin:0!important; }
|
||||
.raw-tree-rows[data-density="touch"] .tree-twist { width:44px; flex-basis:44px; }
|
||||
.raw-tree-rows[data-density="touch"] .ctx-ellipsis,
|
||||
.raw-tree-rows[data-density="touch"] .raw-select-target { width:44px; height:44px; }
|
||||
.raw-tree-row > .btn { min-height:var(--raw-row-height,30px); }
|
||||
@media (pointer:coarse) {
|
||||
.ot-toolbar .btn, .ot-toolbar .form-control, .ot-toolbar .form-select { min-height:44px; }
|
||||
}
|
||||
.ot-toolbar { min-width:0; max-width:100%; }
|
||||
.ot-toolbar .form-control, .ot-toolbar .form-select { max-width:100%; min-width:0; }
|
||||
|
||||
.ot-toolbar-field { flex:1 1 12rem; min-width:0; max-width:100%; margin:0; }
|
||||
.ot-toolbar-field > label { display:block; }
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
// App-local geometry only. No node data, service calls or mutation actions.
|
||||
const densityObservers = new Map();
|
||||
const keyGuards = new WeakSet();
|
||||
export function observeDensity(id, callback) {
|
||||
stopDensity(id);
|
||||
const media = matchMedia('(pointer: coarse)');
|
||||
const state = { media, revision: 0, changed: null };
|
||||
state.changed = () => callback.invokeMethodAsync('SetPointerDensity', ++state.revision, media.matches)
|
||||
.catch(() => stopDensity(id));
|
||||
media.addEventListener('change', state.changed);
|
||||
densityObservers.set(id, state);
|
||||
return media.matches;
|
||||
}
|
||||
export function stopDensity(id) {
|
||||
const state = densityObservers.get(id);
|
||||
if (!state) return;
|
||||
state.media.removeEventListener('change', state.changed);
|
||||
densityObservers.delete(id);
|
||||
}
|
||||
const positionedMenus = new Map();
|
||||
function releaseMenu(menu) {
|
||||
const state = positionedMenus.get(menu);
|
||||
if (!state) return;
|
||||
removeEventListener('resize', state.reposition);
|
||||
state.observer.disconnect();
|
||||
positionedMenus.delete(menu);
|
||||
}
|
||||
new MutationObserver(() => {
|
||||
for (const menu of positionedMenus.keys()) if (!menu.isConnected) releaseMenu(menu);
|
||||
}).observe(document.documentElement, { childList: true, subtree: true });
|
||||
function repositionMenu(state) {
|
||||
const { menu, trigger, anchored } = state;
|
||||
if (!menu.isConnected) { releaseMenu(menu); return; }
|
||||
menu.style.left = '0px';
|
||||
menu.style.top = '0px';
|
||||
const box = menu.getBoundingClientRect();
|
||||
let { x, y } = state;
|
||||
if (anchored && trigger?.isConnected) {
|
||||
const anchor = trigger.getBoundingClientRect();
|
||||
x = anchor.left;
|
||||
y = anchor.bottom + 4;
|
||||
}
|
||||
const left = Math.max(8, Math.min(x, innerWidth - box.width - 8));
|
||||
const top = Math.max(8, Math.min(y, innerHeight - box.height - 8));
|
||||
menu.style.left = `${left - box.left}px`;
|
||||
menu.style.top = `${top - box.top}px`;
|
||||
}
|
||||
export function placeMenu(menu, trigger, anchored, x, y) {
|
||||
if (!menu?.isConnected) return false;
|
||||
if (!keyGuards.has(menu)) {
|
||||
menu.addEventListener('keydown', event => {
|
||||
const item = event.target instanceof Element && event.target.closest('[role="menuitem"]');
|
||||
if (item && ['Enter', ' '].includes(event.key)) {
|
||||
// The focused button's native click owns activation. Do not also
|
||||
// route Enter through the menu's active-descendant handler.
|
||||
event.stopPropagation();
|
||||
return;
|
||||
}
|
||||
if (item && ['ArrowUp', 'ArrowDown'].includes(event.key)) menu.focus({ preventScroll: true });
|
||||
if (['ArrowUp', 'ArrowDown', 'Enter', ' ', 'Escape'].includes(event.key)) event.preventDefault();
|
||||
});
|
||||
keyGuards.add(menu);
|
||||
}
|
||||
// Keep the original Blazor-owned node outside overflow/entrance-transform
|
||||
// clipping. Existing backdrop and action callbacks still own dismissal.
|
||||
if (typeof menu.showPopover === 'function') {
|
||||
menu.setAttribute('popover', 'manual');
|
||||
if (!menu.matches(':popover-open')) menu.showPopover();
|
||||
}
|
||||
menu.style.position = 'fixed';
|
||||
menu.style.margin = '0';
|
||||
let state = positionedMenus.get(menu);
|
||||
if (!state) {
|
||||
state = { menu, trigger, anchored, x, y, observer: null, reposition: null };
|
||||
state.reposition = () => repositionMenu(state);
|
||||
state.observer = new ResizeObserver(state.reposition);
|
||||
state.observer.observe(menu);
|
||||
if (trigger?.isConnected) state.observer.observe(trigger);
|
||||
addEventListener('resize', state.reposition);
|
||||
positionedMenus.set(menu, state);
|
||||
} else Object.assign(state, { trigger, anchored, x, y });
|
||||
repositionMenu(state);
|
||||
menu.focus({ preventScroll: true }); // Own initial focus once, before the interop reply.
|
||||
return true;
|
||||
}
|
||||
export function restoreMenuTrigger(trigger) {
|
||||
if (!trigger?.isConnected || document.querySelector('.ctx-menu')) return;
|
||||
const active = document.activeElement;
|
||||
if (active === trigger) return;
|
||||
if (active && active !== document.body && active !== document.documentElement) return;
|
||||
trigger.focus({ preventScroll: true });
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using Bunit;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared;
|
||||
|
||||
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages;
|
||||
|
||||
/// <summary>Native invoker identity distinguishes WebKit keyboard clicks from right-click pointer placement.</summary>
|
||||
[Trait("Category","Unit")]
|
||||
public sealed class ContextMenuPlacementTests : BunitContext
|
||||
{
|
||||
[Theory]
|
||||
[InlineData(0,true)]
|
||||
[InlineData(1,false)]
|
||||
public void TriggerClick_WithNonzeroCoordinates_UsesNativeDetail(long detail,bool anchored)
|
||||
{
|
||||
JSInterop.Mode=JSRuntimeMode.Loose;
|
||||
var module=JSInterop.SetupModule("./_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/tree-layout.js");module.Mode=JSRuntimeMode.Loose;
|
||||
var cut=Render<ContextMenu>(p=>p.Add(x=>x.Items,new[]{new ContextMenuItem{Label="Local action"}}));
|
||||
cut.Find(".ctx-ellipsis").Click(new MouseEventArgs{Detail=detail,ClientX=253,ClientY=252});
|
||||
cut.WaitForAssertion(()=>module.Invocations.Count(x=>x.Identifier=="placeMenu").ShouldBe(1));
|
||||
module.Invocations.Single(x=>x.Identifier=="placeMenu").Arguments[2].ShouldBe(anchored);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(88,99)]
|
||||
[InlineData(0,0)]
|
||||
public void RightClick_WithZeroDetail_KeepsPointerPlacementWithoutEllipsis(double x,double y)
|
||||
{
|
||||
JSInterop.Mode=JSRuntimeMode.Loose;
|
||||
var module=JSInterop.SetupModule("./_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/tree-layout.js");module.Mode=JSRuntimeMode.Loose;
|
||||
var cut=Render<ContextMenu>(p=>p.Add(x=>x.Items,new[]{new ContextMenuItem{Label="Local action"}})
|
||||
.Add(x=>x.ShowEllipsis,false).Add(x=>x.ChildContent,(RenderFragment)(builder=>builder.AddContent(0,"Native context surface"))));
|
||||
cut.Find(".ctx-surface").TriggerEvent("oncontextmenu",new MouseEventArgs{Detail=0,Button=2,ClientX=x,ClientY=y});
|
||||
cut.WaitForAssertion(()=>module.Invocations.Count(x=>x.Identifier=="placeMenu").ShouldBe(1));
|
||||
module.Invocations.Single(x=>x.Identifier=="placeMenu").Arguments[2].ShouldBe(false);
|
||||
cut.FindAll("[role=menu]").Count.ShouldBe(1);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using System.Reflection;
|
||||
using Bunit;
|
||||
using Microsoft.AspNetCore.Components.Web.Virtualization;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.JSInterop;
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Uns;
|
||||
|
||||
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages;
|
||||
|
||||
/// <summary>Pointer observations update the actual virtualization estimate without replacing selection state.</summary>
|
||||
[Trait("Category","Unit")]
|
||||
public sealed class RawTreeDensityTests : BunitContext
|
||||
{
|
||||
public RawTreeDensityTests()
|
||||
{
|
||||
var names=new HashSet<string>{"DriverConfigModal","DeviceModal","RawTagModal","RawManualTagEntryModal","RawCsvImportModal","RawCsvExportModal","RawBrowseModal","RawNameDialog","RawConfirmDialog","RawDriverTypeDialog","RawStubModal"};
|
||||
ComponentFactories.AddStub(type=>names.Contains(type.Name)); // Mutation dialogs have separate lifecycle suites.
|
||||
Services.AddSingleton(DispatchProxy.Create<IRawTreeService,RefusingRawService>());
|
||||
JSInterop.Mode=JSRuntimeMode.Loose;
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task NewestDensity_UpdatesEstimateAndPreservesSelection()
|
||||
{
|
||||
var module=JSInterop.SetupModule("./_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/tree-layout.js");
|
||||
module.Mode=JSRuntimeMode.Loose;
|
||||
module.Setup<bool>("observeDensity",_=>true).SetResult(false);
|
||||
var selected=new HashSet<string>{"selected"};
|
||||
var cut=Render<RawTree>(p=>p.Add(x=>x.Roots,Roots()).Add(x=>x.PickerMode,true).Add(x=>x.SelectedTagIds,selected));
|
||||
cut.WaitForAssertion(()=>module.Invocations.Count(x=>x.Identifier=="observeDensity").ShouldBe(1));
|
||||
await cut.InvokeAsync(()=>cut.Instance.SetPointerDensity(2,true));
|
||||
cut.FindComponent<Virtualize<RawTreeRow>>().Instance.ItemSize.ShouldBe(44);
|
||||
cut.Find(".raw-tree-rows").GetAttribute("data-density").ShouldBe("touch");
|
||||
await cut.InvokeAsync(()=>cut.Instance.SetPointerDensity(1,false));
|
||||
cut.FindComponent<Virtualize<RawTreeRow>>().Instance.ItemSize.ShouldBe(44);
|
||||
selected.ShouldBe(new[]{"selected"});
|
||||
await cut.InvokeAsync(()=>cut.Instance.SetPointerDensity(3,false));
|
||||
cut.FindComponent<Virtualize<RawTreeRow>>().Instance.ItemSize.ShouldBe(30);
|
||||
selected.ShouldBe(new[]{"selected"});
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task LateInitialObservation_CannotOverwriteNewerDensity()
|
||||
{
|
||||
var module=JSInterop.SetupModule("./_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/tree-layout.js");
|
||||
module.Mode=JSRuntimeMode.Loose;
|
||||
var observation=module.Setup<bool>("observeDensity",_=>true);
|
||||
var cut=Render<RawTree>(p=>p.Add(x=>x.Roots,Roots()));
|
||||
cut.WaitForAssertion(()=>module.Invocations.Count(x=>x.Identifier=="observeDensity").ShouldBe(1));
|
||||
await cut.InvokeAsync(()=>cut.Instance.SetPointerDensity(2,true));
|
||||
observation.SetResult(false);
|
||||
await cut.InvokeAsync(()=>Task.CompletedTask);
|
||||
cut.FindComponent<Virtualize<RawTreeRow>>().Instance.ItemSize.ShouldBe(44);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Disposal_WaitsForAttemptAndReleasesObserverOnce()
|
||||
{
|
||||
var module=JSInterop.SetupModule("./_content/ZB.MOM.WW.OtOpcUa.AdminUI/js/tree-layout.js");
|
||||
module.Mode=JSRuntimeMode.Loose;
|
||||
var observation=module.Setup<bool>("observeDensity",_=>true);
|
||||
var cut=Render<RawTree>(p=>p.Add(x=>x.Roots,Roots()));
|
||||
cut.WaitForAssertion(()=>module.Invocations.Count(x=>x.Identifier=="observeDensity").ShouldBe(1));
|
||||
var disposal=cut.Instance.DisposeAsync().AsTask();
|
||||
disposal.IsCompleted.ShouldBeFalse();
|
||||
await cut.InvokeAsync(()=>cut.Instance.SetPointerDensity(4,true));
|
||||
observation.SetResult(true);
|
||||
await disposal;
|
||||
await cut.Instance.DisposeAsync();
|
||||
module.Invocations.Count(x=>x.Identifier=="stopDensity").ShouldBe(1);
|
||||
}
|
||||
|
||||
private static IReadOnlyList<RawNode> Roots()=>[new(){Key="tag:selected",EntityId="selected",Kind=RawNodeKind.Tag,DisplayName="Selected tag"}];
|
||||
|
||||
public class RefusingRawService : DispatchProxy
|
||||
{
|
||||
protected override object? Invoke(MethodInfo? method,object?[]? args)=>throw new NotSupportedException("Density fixture refuses "+method?.Name);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user