diff --git a/components/ui-theme/validation/ot-ui/host/Components/Pages/DensityPilot.razor b/components/ui-theme/validation/ot-ui/host/Components/Pages/DensityPilot.razor new file mode 100644 index 0000000..401c08c --- /dev/null +++ b/components/ui-theme/validation/ot-ui/host/Components/Pages/DensityPilot.razor @@ -0,0 +1,33 @@ +@page "/density-pilot" +@layout ZB.MOM.WW.OtOpcUa.AdminUI.Components.Layout.MainLayout +

Local Raw virtualization verification

+

Actual RawTree with800 synthetic already-loaded tags. Local in-memory context contains fixture-only records; browser/protocol sessions and mutations reject calls.

+
+ +
+@_selected.Count selected +@_selectionRequests +@code { + private readonly HashSet _selected = []; + private int _selectionRequests; + private List _roots = Build(); + [SupplyParameterFromQuery] public bool Deep { get; set; } + protected override void OnParametersSet() { if(Deep) _roots = DeepRoots(); } + private static List DeepRoots() + { + var leaf = new RawNode { Kind=RawNodeKind.Tag, Key="deep-tag", DisplayName="Deep synthetic tag " + new string('x',120), EntityId="deep-tag" }; + for(int i=24;i>=0;i--) + { + var parent = new RawNode { Kind=RawNodeKind.Folder, Key="deep-"+i, DisplayName="Synthetic folder level " + i, Expanded=true, Loaded=true, HasLazyChildren=true }; + parent.Children.Add(leaf); leaf=parent; + } + return [leaf]; + } + private static List Build() + { + var root = new RawNode { Kind=RawNodeKind.Device, Key="dev:local", DisplayName="Synthetic device", EntityId="device-local", ClusterId="synthetic", DriverType="Modbus", Expanded=true, Loaded=true, HasLazyChildren=true }; + root.Children.AddRange(Enumerable.Range(0,800).Select(i => new RawNode { Kind=RawNodeKind.Tag, Key="tag:local-"+i, DisplayName=$"Synthetic tag {i:000}", EntityId="tag-local-"+i, ClusterId="synthetic" }));root.ChildCount=root.Children.Count;return [root]; + } + private void SelectedChanged() { } + private Task> ResolveTags(RawNode node) { _selectionRequests++; return Task.FromResult>(node.Children.Select(n => n.EntityId!).ToArray()); } +} diff --git a/components/ui-theme/validation/ot-ui/ot07-root/confirm_zoom.py b/components/ui-theme/validation/ot-ui/ot07-root/confirm_zoom.py new file mode 100644 index 0000000..2bee035 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/confirm_zoom.py @@ -0,0 +1,14 @@ +"""Correct native-zoom screenshot framing; repeat only the two affected functional cases.""" +import verify +from playwright.sync_api import sync_playwright +verify.OUT=verify.HERE/'confirmation';verify.OUT.mkdir(exist_ok=True) +with sync_playwright() as p: + with verify.zoom_browser(p) as (ctx,worker): + page=ctx.new_page() + for width,expected in [(1440,720),(390,195)]: + page.set_viewport_size({'width':width,'height':900});verify.ready(page,'/density-pilot') + assert verify.set_browser_zoom(worker,page,2)==2 + verify.tree_case(page,'raw-real200-'+str(expected)) + data=verify.measure(page);assert data['width']==expected and data['dpr']==2,data + verify.set_browser_zoom(worker,page,1) +print('PASS2actual zoom cases; viewport screenshots preserve native zoom framing') diff --git a/components/ui-theme/validation/ot-ui/ot07-root/confirmation/raw-real200-195.png b/components/ui-theme/validation/ot-ui/ot07-root/confirmation/raw-real200-195.png new file mode 100644 index 0000000..76c14ff Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/confirmation/raw-real200-195.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/confirmation/raw-real200-720.png b/components/ui-theme/validation/ot-ui/ot07-root/confirmation/raw-real200-720.png new file mode 100644 index 0000000..62e3513 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/confirmation/raw-real200-720.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/confirmation/results.json b/components/ui-theme/validation/ot-ui/ot07-root/confirmation/results.json new file mode 100644 index 0000000..76752b1 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/confirmation/results.json @@ -0,0 +1,58 @@ +[ + { + "case": "raw-real200-720", + "initial": { + "width": 720, + "dpr": 2, + "scroll": 720, + "coarse": false, + "rows": 53, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 680 + }, + "final": { + "width": 720, + "dpr": 2, + "scroll": 720, + "coarse": false, + "rows": 53, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 680 + }, + "errors": [] + }, + { + "case": "raw-real200-195", + "initial": { + "width": 195, + "dpr": 2, + "scroll": 195, + "coarse": false, + "rows": 53, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 241 + }, + "final": { + "width": 195, + "dpr": 2, + "scroll": 195, + "coarse": false, + "rows": 53, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 215 + }, + "errors": [] + } +] diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first-paging-harness.log b/components/ui-theme/validation/ot-ui/ot07-root/first-paging-harness.log new file mode 100644 index 0000000..5678dc6 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/first-paging-harness.log @@ -0,0 +1,28 @@ +Traceback (most recent call last): + File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot07-root/verify.py", line 38, in + ctx=b.new_context(viewport={'width':width,'height':900},has_touch=touch,is_mobile=touch);page=ctx.new_page();tree_case(page,f'raw-{width}-coarse-{touch}',touch);ctx.close() + ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot07-root/verify.py", line 33, in tree_case + tree.evaluate('(e)=>e.scrollTop=e.scrollHeight');more=page.get_by_role('button',name=re.compile('Show 300 more'));expect(more).to_be_visible();more.click();tree.evaluate('(e)=>e.scrollTop=e.scrollHeight');expect(page.get_by_role('checkbox',name='Synthetic tag 799',exact=True)).to_be_visible();assert page.locator('.raw-tree-row').count()<100 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20523, in to_be_visible + self._sync(self._impl_obj.to_be_visible(visible=visible, timeout=timeout)) + ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync + return task.result() + ~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 765, in to_be_visible + await self._expect_impl( + ...<5 lines>... + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 85, in _expect_impl + raise AssertionError( + f"{out_message}\nActual value: {actual}{error_message} {format_call_log(result.get('log'))}" + ) +AssertionError: Locator expected to be visible +Actual value: None +Error: element(s) not found +Call log: + - Expect "to_be_visible" with timeout 5000ms + - waiting for get_by_role("checkbox", name="Synthetic tag 799", exact=True) + diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/diagnostics-1440.png b/components/ui-theme/validation/ot-ui/ot07-root/first/diagnostics-1440.png new file mode 100644 index 0000000..dc39ebc Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/diagnostics-1440.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/diagnostics-195.png b/components/ui-theme/validation/ot-ui/ot07-root/first/diagnostics-195.png new file mode 100644 index 0000000..5e75159 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/diagnostics-195.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/diagnostics-390.png b/components/ui-theme/validation/ot-ui/ot07-root/first/diagnostics-390.png new file mode 100644 index 0000000..cfceb4c Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/diagnostics-390.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/raw-1440-coarse-False.png b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-1440-coarse-False.png new file mode 100644 index 0000000..b2ea062 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-1440-coarse-False.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/raw-195-coarse-False.png b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-195-coarse-False.png new file mode 100644 index 0000000..7c58f15 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-195-coarse-False.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/raw-390-coarse-False.png b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-390-coarse-False.png new file mode 100644 index 0000000..605ea0d Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-390-coarse-False.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/raw-390-coarse-True.png b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-390-coarse-True.png new file mode 100644 index 0000000..8c9d4f7 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-390-coarse-True.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/raw-narrow-real200.png b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-narrow-real200.png new file mode 100644 index 0000000..9ada565 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-narrow-real200.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/raw-real200.png b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-real200.png new file mode 100644 index 0000000..961c3d2 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/raw-real200.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/results.json b/components/ui-theme/validation/ot-ui/ot07-root/first/results.json new file mode 100644 index 0000000..c97f0a3 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/first/results.json @@ -0,0 +1,303 @@ +[ + { + "case": "raw-1440-coarse-False", + "initial": { + "width": 1440, + "dpr": 1, + "scroll": 1440, + "coarse": false, + "rows": 62, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 1180 + }, + "final": { + "width": 1440, + "dpr": 1, + "scroll": 1440, + "coarse": false, + "rows": 62, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 1180 + }, + "errors": [] + }, + { + "case": "raw-390-coarse-False", + "initial": { + "width": 390, + "dpr": 1, + "scroll": 390, + "coarse": false, + "rows": 62, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 350 + }, + "final": { + "width": 390, + "dpr": 1, + "scroll": 390, + "coarse": false, + "rows": 62, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 350 + }, + "errors": [] + }, + { + "case": "raw-195-coarse-False", + "initial": { + "width": 195, + "dpr": 1, + "scroll": 195, + "coarse": false, + "rows": 62, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 245 + }, + "final": { + "width": 195, + "dpr": 1, + "scroll": 195, + "coarse": false, + "rows": 62, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 219 + }, + "errors": [] + }, + { + "case": "raw-390-coarse-True", + "initial": { + "width": 390, + "dpr": 1, + "scroll": 390, + "coarse": true, + "rows": 55, + "heights": [ + 44 + ], + "density": "touch", + "treeScroll": 350 + }, + "final": { + "width": 390, + "dpr": 1, + "scroll": 390, + "coarse": true, + "rows": 55, + "heights": [ + 44 + ], + "density": "touch", + "treeScroll": 350 + }, + "errors": [] + }, + { + "case": "live-density-focus", + "sameDomNode": true, + "selected": true, + "initialAndFinalDesktop30": true + }, + { + "case": "open-menu-resize", + "box": { + "x": 198.265625, + "y": 273.71875, + "width": 183.734375, + "height": 74.375 + } + }, + { + "case": "deep-195", + "measurements": { + "width": 195, + "dpr": 1, + "scroll": 195, + "coarse": false, + "rows": 26, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 1573 + }, + "localKeyboardHorizontalScroll": true, + "nativeSelect": true + }, + { + "case": "deep-390", + "measurements": { + "width": 390, + "dpr": 1, + "scroll": 390, + "coarse": true, + "rows": 26, + "heights": [ + 44 + ], + "density": "touch", + "treeScroll": 1619 + }, + "localKeyboardHorizontalScroll": true, + "nativeSelect": true + }, + { + "case": "script-log-1440", + "measurements": { + "width": 1440, + "dpr": 1, + "scroll": 1440, + "coarse": false, + "rows": 0, + "heights": [], + "density": null, + "treeScroll": null + }, + "targets": 3 + }, + { + "case": "script-log-195", + "measurements": { + "width": 195, + "dpr": 1, + "scroll": 195, + "coarse": false, + "rows": 0, + "heights": [], + "density": null, + "treeScroll": null + }, + "targets": 3 + }, + { + "case": "script-log-390", + "measurements": { + "width": 390, + "dpr": 1, + "scroll": 390, + "coarse": true, + "rows": 0, + "heights": [], + "density": null, + "treeScroll": null + }, + "targets": 3 + }, + { + "case": "diagnostics-1440", + "measurements": { + "width": 1440, + "dpr": 1, + "scroll": 1440, + "coarse": false, + "rows": 0, + "heights": [], + "density": null, + "treeScroll": null + }, + "targets": 4 + }, + { + "case": "diagnostics-195", + "measurements": { + "width": 195, + "dpr": 1, + "scroll": 195, + "coarse": false, + "rows": 0, + "heights": [], + "density": null, + "treeScroll": null + }, + "targets": 4 + }, + { + "case": "diagnostics-390", + "measurements": { + "width": 390, + "dpr": 1, + "scroll": 390, + "coarse": true, + "rows": 0, + "heights": [], + "density": null, + "treeScroll": null + }, + "targets": 4 + }, + { + "case": "raw-real200", + "initial": { + "width": 720, + "dpr": 2, + "scroll": 720, + "coarse": false, + "rows": 53, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 680 + }, + "final": { + "width": 720, + "dpr": 2, + "scroll": 720, + "coarse": false, + "rows": 53, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 680 + }, + "errors": [] + }, + { + "case": "raw-narrow-real200", + "initial": { + "width": 195, + "dpr": 2, + "scroll": 195, + "coarse": false, + "rows": 53, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 241 + }, + "final": { + "width": 195, + "dpr": 2, + "scroll": 195, + "coarse": false, + "rows": 53, + "heights": [ + 30 + ], + "density": "compact", + "treeScroll": 215 + }, + "errors": [] + } +] diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/script-log-1440.png b/components/ui-theme/validation/ot-ui/ot07-root/first/script-log-1440.png new file mode 100644 index 0000000..8d47d92 Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/script-log-1440.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/script-log-195.png b/components/ui-theme/validation/ot-ui/ot07-root/first/script-log-195.png new file mode 100644 index 0000000..70b639c Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/script-log-195.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/first/script-log-390.png b/components/ui-theme/validation/ot-ui/ot07-root/first/script-log-390.png new file mode 100644 index 0000000..6db7deb Binary files /dev/null and b/components/ui-theme/validation/ot-ui/ot07-root/first/script-log-390.png differ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-child-enter-red.log b/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-child-enter-red.log new file mode 100644 index 0000000..3551405 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-child-enter-red.log @@ -0,0 +1,33 @@ +Traceback (most recent call last): + File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot07-root/keyboard_menu.py", line 13, in + trigger.focus();page.keyboard.press('Enter');expect(menu).to_be_focused();page.keyboard.press('Tab');page.keyboard.press('Tab');expect(menu.locator('[role=menuitem]').nth(1)).to_be_focused();page.keyboard.press('Enter');expect(menu).to_have_count(0);expect(page.locator('#selection-count')).to_have_text('0 selected');expect(page.locator('#selection-request-count')).to_have_text('2');expect(trigger).to_be_focused();assert not errors + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20080, in to_have_text + self._sync( + ~~~~~~~~~~^ + self._impl_obj.to_have_text( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ...<4 lines>... + ) + ^ + ) + ^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync + return task.result() + ~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 561, in to_have_text + await self._expect_impl( + ...<9 lines>... + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 85, in _expect_impl + raise AssertionError( + f"{out_message}\nActual value: {actual}{error_message} {format_call_log(result.get('log'))}" + ) +AssertionError: Locator expected to have text '0 selected' +Actual value: 800 selected +Call log: + - Expect "to_have_text" with timeout 5000ms + - waiting for locator("#selection-count") + 9 × locator resolved to 800 selected + - unexpected value "800 selected" + diff --git a/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-three-engines.json b/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-three-engines.json new file mode 100644 index 0000000..8310d75 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-three-engines.json @@ -0,0 +1,56 @@ +[ + { + "engine": "chromium", + "version": "145.0.7632.6", + "parentEnterDispatches": 1, + "selectedAfterParent": 800, + "focusedChildEnterDispatches": 1, + "selectedAfterChild": 0, + "totalLocalRequests": 2, + "focusReturned": true, + "menuBox": { + "x": 198.265625, + "y": 273.71875, + "width": 183.734375, + "height": 74.375 + }, + "nativeTopLayer": true, + "errors": [] + }, + { + "engine": "firefox", + "version": "146.0.1", + "parentEnterDispatches": 1, + "selectedAfterParent": 800, + "focusedChildEnterDispatches": 1, + "selectedAfterChild": 0, + "totalLocalRequests": 2, + "focusReturned": true, + "menuBox": { + "x": 198.28334045410156, + "y": 273.70001220703125, + "width": 183.71665954589844, + "height": 74.39999389648438 + }, + "nativeTopLayer": true, + "errors": [] + }, + { + "engine": "webkit", + "version": "26.0", + "parentEnterDispatches": 1, + "selectedAfterParent": 800, + "focusedChildEnterDispatches": 1, + "selectedAfterChild": 0, + "totalLocalRequests": 2, + "focusReturned": true, + "menuBox": { + "x": 198.265625, + "y": 270, + "width": 183.734375, + "height": 74.375 + }, + "nativeTopLayer": true, + "errors": [] + } +] diff --git a/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-visibility-first.log b/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-visibility-first.log new file mode 100644 index 0000000..030c624 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-visibility-first.log @@ -0,0 +1,38 @@ +Traceback (most recent call last): + File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot07-root/keyboard_menu.py", line 9, in + page.goto('http://127.0.0.1:18139/density-pilot');page.wait_for_selector('.raw-tree-row');expect(page.locator('#selection-request-count')).to_have_text('0') + ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 8217, in wait_for_selector + self._sync( + ~~~~~~~~~~^ + self._impl_obj.wait_for_selector( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + selector=selector, timeout=timeout, state=state, strict=strict + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ) + ^ + ) + ^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync + return task.result() + ~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_page.py", line 419, in wait_for_selector + return await self._main_frame.wait_for_selector(**locals_to_params(locals())) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 369, in wait_for_selector + await self._channel.send( + "waitForSelector", self._timeout, locals_to_params(locals()) + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 69, in send + return await self._connection.wrap_api_call( + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ...<3 lines>... + ) + ^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call + raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None +playwright._impl._errors.TimeoutError: Page.wait_for_selector: Timeout 30000ms exceeded. +Call log: + - waiting for locator(".raw-tree-row") to be visible + 61 × locator resolved to 61 elements. Proceeding with the first one:
…
+ diff --git a/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-webkit-focus-red.log b/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-webkit-focus-red.log new file mode 100644 index 0000000..2c9042f --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/keyboard-menu-webkit-focus-red.log @@ -0,0 +1,26 @@ +Traceback (most recent call last): + File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot07-root/keyboard_menu.py", line 12, in + assert menu.evaluate('(e)=>e.matches(":popover-open")');page.keyboard.press('Enter');expect(menu).to_have_count(0);expect(page.locator('#selection-count')).to_have_text('800 selected');expect(page.locator('#selection-request-count')).to_have_text('1');expect(trigger).to_be_focused();assert not errors + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20572, in to_be_focused + self._sync(self._impl_obj.to_be_focused(timeout=timeout)) + ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync + return task.result() + ~~~~~~~~~~~^^ + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 786, in to_be_focused + await self._expect_impl( + ...<5 lines>... + ) + File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 85, in _expect_impl + raise AssertionError( + f"{out_message}\nActual value: {actual}{error_message} {format_call_log(result.get('log'))}" + ) +AssertionError: Locator expected to be focused +Actual value: inactive +Call log: + - Expect "to_be_focused" with timeout 5000ms + - waiting for locator(".ctx-ellipsis").first + 9 × locator resolved to + - unexpected value "inactive" + diff --git a/components/ui-theme/validation/ot-ui/ot07-root/keyboard_menu.py b/components/ui-theme/validation/ot-ui/ot07-root/keyboard_menu.py new file mode 100644 index 0000000..7d42045 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/keyboard_menu.py @@ -0,0 +1,15 @@ +"""Actual keyboard dispatch once through the original ContextMenu in three browser engines.""" +from pathlib import Path +import json +from playwright.sync_api import sync_playwright,expect +out=Path(__file__).resolve().parent;results=[] +with sync_playwright() as p: + for name in ['chromium','firefox','webkit']: + b=getattr(p,name).launch();page=b.new_page(viewport={'width':390,'height':844},reduced_motion='reduce');errors=[];page.on('pageerror',lambda e:errors.append(str(e))) + page.goto('http://127.0.0.1:18139/density-pilot');page.wait_for_selector('.raw-tree-row',state='attached');page.evaluate('document.fonts.ready');page.wait_for_timeout(350);expect(page.locator('#selection-request-count')).to_have_text('0') + trigger=page.locator('.ctx-ellipsis').first;trigger.focus();expect(trigger).to_be_focused();page.keyboard.press('Enter');menu=page.locator('[role=menu]');expect(menu).to_be_focused() + box=menu.bounding_box();assert box and box['x']>=0 and box['x']+box['width']<=390+.5 + assert menu.evaluate('(e)=>e.matches(":popover-open")');page.keyboard.press('Enter');expect(menu).to_have_count(0);expect(page.locator('#selection-count')).to_have_text('800 selected');expect(page.locator('#selection-request-count')).to_have_text('1');expect(trigger).to_be_focused() + trigger.focus();page.keyboard.press('Enter');expect(menu).to_be_focused();page.keyboard.press('Tab');page.keyboard.press('Tab');expect(menu.locator('[role=menuitem]').nth(1)).to_be_focused();page.keyboard.press('Enter');expect(menu).to_have_count(0);expect(page.locator('#selection-count')).to_have_text('0 selected');expect(page.locator('#selection-request-count')).to_have_text('2');expect(trigger).to_be_focused();assert not errors + results.append({'engine':name,'version':b.version,'parentEnterDispatches':1,'selectedAfterParent':800,'focusedChildEnterDispatches':1,'selectedAfterChild':0,'totalLocalRequests':2,'focusReturned':True,'menuBox':box,'nativeTopLayer':True,'errors':errors});(out/'keyboard-menu-three-engines.json').write_text(json.dumps(results,indent=2)+'\n');b.close() +(out/'keyboard-menu-three-engines.json').write_text(json.dumps(results,indent=2)+'\n');print('PASS3actual keyboard menus;parent+focused-child eachdispatchonce;focusreturn/native top layer') diff --git a/components/ui-theme/validation/ot-ui/ot07-root/peer-review.md b/components/ui-theme/validation/ot-ui/ot07-root/peer-review.md new file mode 100644 index 0000000..dc97842 --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/peer-review.md @@ -0,0 +1,11 @@ +# Independent OT07 density and menu review + +Reviewed the frozen RawTree, ContextMenu, context-menu CSS, site CSS, FleetDiagnostics markup and tree-layout module against the preceding source. No concrete blocker found in this bounded change. + +The new explicit overflow:auto viewport is a deliberate virtualization root. Row geometry and ItemSize use the same30/44 state; node keys, lazy loading, paging, mutation callbacks and selection payloads remain. The checkbox's larger implicit-label target retains the existing visible-node aria-labelledby relationship. Desktop density remains compact; coarse targets use44 without allowing narrow labels to inflate the row estimate. + +Density initialization serializes import/observer/disposal and prevents an older initial media result overwriting a newer observation. Disposed callbacks cannot apply geometry. Menu setup captures its current presentation before awaits and checks generation/disposal before placement/focus. The JS module observes resize/removal, releases listeners/observers, keeps the original Blazor-owned node and uses manual native popover top-layer placement where supported; no cloned/reparented action nodes or replacement action/policy logic were introduced. Key-default prevention remains synchronous while original C# keyboard/action handlers keep ownership. + +The named typed diagnostics field and toolbar geometry preserve values/event expressions. Reviewed retained native16-case records:30/44 exact rows, bounded55–62 mounted of800,500→800 paging,25-level local keyboard pan, selected same DOM/focus through density transitions, menu resize/coarse activation, and real200% innerWidth720/195 with DPR2. Recorded menu size is bounded (resize sample183.73×74.38). The two zoom screenshot framing corrections are capture corrections; the earlier photos are not claimed valid. This review did not rerun those existing suites without a new concern. + +Actual broader browser/support/final whole-app acceptance remains OT14; this is not an exhaustive new certification of every native popover/focus failure mode. RawTree controller target/callback/follow-up sequencing and OT12 semantic/icon work remain the primary agent's next scope after this source commit/handoff. diff --git a/components/ui-theme/validation/ot-ui/ot07-root/verify.py b/components/ui-theme/validation/ot-ui/ot07-root/verify.py new file mode 100644 index 0000000..64f9a3b --- /dev/null +++ b/components/ui-theme/validation/ot-ui/ot07-root/verify.py @@ -0,0 +1,61 @@ +"""Actual loopback OT density/menu/toolbars, real browser zoom and native coarse pointer input.""" +import hashlib,json,re,sys +from pathlib import Path +from playwright.sync_api import sync_playwright,expect +HERE=Path(__file__).resolve().parent +sys.path.insert(0,str(HERE.parents[1]/'theme-1.0.0'/'canary')) +from browser_zoom import zoom_browser,set_browser_zoom +BASE='http://127.0.0.1:18139';OUT=HERE/'first';OUT.mkdir(exist_ok=True) +results=[] +def save(): (OUT/'results.json').write_text(json.dumps(results,indent=2)+'\n') +def ready(page,path): + page.goto(BASE+path);page.wait_for_selector('h1');page.evaluate('document.fonts.ready');page.wait_for_timeout(350) +def measure(page): + return page.evaluate('''()=>({width:innerWidth,dpr:devicePixelRatio,scroll:document.documentElement.scrollWidth,coarse:matchMedia('(pointer:coarse)').matches,rows:document.querySelectorAll('.raw-tree-row').length,heights:[...new Set([...document.querySelectorAll('.raw-tree-row')].map(e=>e.getBoundingClientRect().height))],density:document.querySelector('.raw-tree-rows')?.dataset.density,treeScroll:document.querySelector('.raw-tree-rows')?.scrollWidth})''') +def menu_inside(page): + menu=page.locator('[role=menu]');expect(menu).to_be_focused();box=menu.bounding_box();size=page.evaluate('({width:innerWidth,height:innerHeight})') + assert box and box['x']>=0 and box['y']>=0 and box['x']+box['width']<=size['width']+.5 and box['y']+box['height']<=size['height']+.5,(box,size) + return box +def tree_case(page,name,touch=False): + errors=[];page.on('pageerror',lambda e:errors.append(str(e)));ready(page,'/density-pilot');tree=page.locator('.raw-tree-rows');expect(tree).to_have_attribute('data-density','touch' if touch else 'compact') + d=measure(page);assert d['width']==d['scroll'] and 0=44 and box['height']>=44,(selector,box) + page.locator('.raw-select-target').first.tap();expect(page.locator('#selection-count')).to_have_text('1 selected') + page.locator('.raw-select-target').first.tap();expect(page.locator('#selection-count')).to_have_text('0 selected') + trigger=page.locator('.ctx-ellipsis').first;trigger.focus();page.keyboard.press('Enter');menu=page.locator('[role=menu]');expect(menu).to_be_focused();menu_inside(page) + top=page.evaluate('scrollY');page.keyboard.press('ArrowDown');assert page.evaluate('scrollY')==top + page.keyboard.press('Escape');expect(menu).to_have_count(0);expect(trigger).to_be_focused() + if touch: + trigger.tap();menu_inside(page);page.get_by_role('menuitem',name='Select all tags below',exact=False).tap();expect(page.locator('#selection-count')).to_have_text('800 selected');expect(menu).to_have_count(0) + # Paging remains local, and only a bounded slice of the source list is mounted. + tree.evaluate('(e)=>e.scrollTop=e.scrollHeight');more=page.get_by_role('button',name=re.compile('Show 300 more'));expect(more).to_be_visible();before=tree.evaluate('(e)=>e.scrollHeight');more.click();expect(more).to_have_count(0);page.wait_for_function('(before)=>document.querySelector(".raw-tree-rows").scrollHeight>before',arg=before);tree.evaluate('(e)=>e.scrollTop=e.scrollHeight');expect(page.get_by_role('checkbox',name='Synthetic tag 799',exact=True)).to_be_visible();assert page.locator('.raw-tree-row').count()<100 + page.screenshot(path=str(OUT/(name+'.png')),full_page='real200' not in name);results.append({'case':name,'initial':d,'final':measure(page),'errors':errors});save();assert not errors +def run(): + with sync_playwright() as p: + b=p.chromium.launch() + for width,touch in [(1440,False),(390,False),(195,False),(390,True)]: + ctx=b.new_context(viewport={'width':width,'height':900},has_touch=touch,is_mobile=touch);page=ctx.new_page();tree_case(page,f'raw-{width}-coarse-{touch}',touch);ctx.close() + # Actual media capability change preserves the focused selected row object. + ctx=b.new_context(viewport={'width':1440,'height':900});page=ctx.new_page();ready(page,'/density-pilot');tree=page.locator('.raw-tree-rows');tree.evaluate('(e)=>e.scrollTop=3000');check=page.get_by_role('checkbox',name='Synthetic tag 100',exact=True);check.check();expect(page.locator('#selection-count')).to_have_text('1 selected');check.focus();page.evaluate('window.fixtureFocused=document.activeElement');cdp=ctx.new_cdp_session(page) + for coarse in [True,False]: + cdp.send('Emulation.setTouchEmulationEnabled',{'enabled':coarse,'maxTouchPoints':1});expect(tree).to_have_attribute('data-density','touch' if coarse else 'compact');expect(check).to_be_focused();assert page.evaluate('fixtureFocused===document.activeElement');expect(check).to_be_checked();assert measure(page)['heights']==[44 if coarse else 30] + results.append({'case':'live-density-focus','sameDomNode':True,'selected':True,'initialAndFinalDesktop30':True});save() + # An open keyboard menu follows viewport changes rather than retaining off-screen coordinates. + ready(page,'/density-pilot');trigger=page.locator('.ctx-ellipsis').first;trigger.focus();page.keyboard.press('Enter');menu_inside(page);page.set_viewport_size({'width':390,'height':900});page.wait_for_timeout(200);box=menu_inside(page);page.keyboard.press('Escape');expect(trigger).to_be_focused();results.append({'case':'open-menu-resize','box':box});save();ctx.close() + for width,touch in [(195,False),(390,True)]: + ctx=b.new_context(viewport={'width':width,'height':900},has_touch=touch,is_mobile=touch);page=ctx.new_page();ready(page,'/density-pilot?deep=true');tree=page.locator('.raw-tree-rows');expect(tree).to_have_attribute('data-density','touch' if touch else 'compact');d=measure(page);assert d['width']==d['scroll'] and d['treeScroll']>d['width'];tree.focus();tree.press('ArrowRight');page.wait_for_function('document.querySelector(".raw-tree-rows").scrollLeft>0');check=page.get_by_role('checkbox',name=re.compile('Deep synthetic tag'));check.check();expect(page.locator('#selection-count')).to_have_text('1 selected');results.append({'case':f'deep-{width}','measurements':d,'localKeyboardHorizontalScroll':True,'nativeSelect':True});save();ctx.close() + for sample in ['script-log','diagnostics']: + for width,touch in [(1440,False),(195,False),(390,True)]: + ctx=b.new_context(viewport={'width':width,'height':900},has_touch=touch,is_mobile=touch);page=ctx.new_page();ready(page,'/grammar-pilot?sample='+sample);d=measure(page);assert d['width']==d['scroll'],d + controls=page.locator('.ot-toolbar input,.ot-toolbar select,.ot-toolbar button');assert controls.count()>0 + if touch: + for el in controls.all():assert el.bounding_box()['height']>=44 + page.screenshot(path=str(OUT/(sample+'-'+str(width)+'.png')),full_page=True);results.append({'case':sample+'-'+str(width),'measurements':d,'targets':controls.count()});save();ctx.close() + b.close() + with zoom_browser(p) as (ctx,worker): + page=ctx.new_page();ready(page,'/density-pilot');assert set_browser_zoom(worker,page,2)==2;page.wait_for_timeout(300);tree_case(page,'raw-real200');d=measure(page);assert d['width']==720 and d['dpr']==2;set_browser_zoom(worker,page,1);page.set_viewport_size({'width':390,'height':900});ready(page,'/density-pilot');assert set_browser_zoom(worker,page,2)==2;page.wait_for_timeout(300);tree_case(page,'raw-narrow-real200');d=measure(page);assert d['width']==195 and d['dpr']==2;set_browser_zoom(worker,page,1) + print('PASS',len(results),'actual density/paging/menu/deep/toolbar/real-zoom cases') + +if __name__ == "__main__": run() diff --git a/docs/plans/2026-11-12-scada-ui-consistency/EXECUTION.md b/docs/plans/2026-11-12-scada-ui-consistency/EXECUTION.md index 6399a98..550d75b 100644 --- a/docs/plans/2026-11-12-scada-ui-consistency/EXECUTION.md +++ b/docs/plans/2026-11-12-scada-ui-consistency/EXECUTION.md @@ -123,3 +123,11 @@ OT01–03 accepted169149f1 with bounded pilot proof; Monaco naming8cc053ce follo OT04/05 acceptedcb3400c1 with25e78ebe list gates and1fe4dbf5 Overview gates: exact destination policy navigation, existing readable routes retained, retired namespace compatibility links preserved, compact truthful Home and shared scroll rail.18focused and12role/width scenes288checks pass, followed by bounded finalcopy/heading checks; residual list/Overview policy aggregate26passes. No endpoint policy or backend mutation. OT06 grammar source snapshots75ff3810/78a39a10/1fe4dbf5 independently preserve23business bodies; admin/cluster runtime acceptance still pendingOT14. Overviewfb40fec adds24Firefox/WebKit functional/reflow cases after explicit browser installation. The WebKit Playwright closed-details visibility fallback was identified in installed driver source; actual measured native pointer input and resulting state/keyboard checks pass. No product patch was based on that harness discrepancy. OV07 retains only human screen-reader listening/production runtime limits, not the now-completed additional-engine checks. + +## Consumer lifecycle and touch checkpoint + +BT00a7a694e/BT0175439ee accepted exact Theme1.0.1 graph, managed overlay generation/TCS/row guards,17nativeoverlaycases and6typed/19rowchecks. Separate86ba7ef patches only CLR test project's Pkcs9.0.21 after fullbuild exposed its oldertransitivegraph;53CLRtests passed, no production dependencydelta. Remaining BT tasks are in progress; later snapshot/Reload/device fullgate is not accepted by these earlier checkpoints. + +OT08accepted78bad3a6: native completeescapeddiagnostics in5routes/DriverStatusPanel,31combinedfocused/27actualkeyboardcases. OT07acceptedc5a288b0: bounded localRawviewport,matching30/44rows+ItemSize,55–62mountedof800,500→800paging,25levelkeyboardpan,stablefocusedselectedDOMacrossdensitychanges,real200% andcoarse44targets. Final15owned-loopbackunitchecks and3enginenativeMenuparent/childEntereachdispatchonce+focusreturnpass. Earlier16nativecases/twozoomcaptureconfirmations retained. No Themefork/newrelease/domainoperation. ParentownsRawcaller/semanticCSS afterhandoff; rootownsnext7sharedprobeentryguards andthenFleet/Hosts read-state retention. + +SQL evidence qualification: AdminUiSqlServerFixture can probeitsdefaultserverduringdiscoverybefore filters. Earlier filtered OT runs did notexecuteSQLcollections/write tests, but possible default readinessSELECT1 cannot be excluded. All remaining OT test commands nowuse the owned-loopback SQL environment runner; privatecredentials/state remainoutsideGit. A newlyprovisioned privateinstance passed9SQLpreflighttests with0skips; this is fixture readiness, not OT14 final acceptance. Native component canaries retain their separate synthetic/read-only service boundaries. G3 remainsopen. diff --git a/docs/plans/2026-11-12-scada-ui-consistency/OtOpcUa.md b/docs/plans/2026-11-12-scada-ui-consistency/OtOpcUa.md index f92ac06..dc6e16d 100644 --- a/docs/plans/2026-11-12-scada-ui-consistency/OtOpcUa.md +++ b/docs/plans/2026-11-12-scada-ui-consistency/OtOpcUa.md @@ -200,6 +200,12 @@ Source review during OT-06 found that the AuthenticatedRead ClusterOverview rout 4. Run the baseline build and RawTreeRowsTests filter; expected PASS. Browser-check pointer hitboxes, tree toggle/menu adjacency, no body overflow, scrolled table keyboard access and long-depth branches. Use the shared desktop/mobile snapshot batch, not repeated unbounded polishing. 5. Stage listed changed files; commit `fix(admin-ui): adapt dense toolbars and tree targets to touch layouts`. +### OT-07 execution refinement: measured density and local scrolling + +Actual baseline Raw rows are29.61px at1440/390 and45.78px at195 despite fixed ItemSize30; actual coarse controls remain18×19expand/28×28menu/14.39checkbox. Root owns a bounded, named/focusable Raw viewport and a30desktop/44coarse density strategy. A local matchMedia adapter updates rendered row height and Virtualize ItemSize together; preserve row keys, focus, selection and500→800paging. Official Virtualize scroll-root logic treats any overflowY other than visible as its root, so an unbounded horizontal-overflow wrapper is unsafe. Verify actual bounded DOM and scroll behavior, not only parameters. + +Extend root's placement-only scope to ContextMenu.razor plus a local geometry/density JS module: keep existing menu action/policy callbacks and original Blazor-owned DOM, clamp fixed native menu placement for pointer and keyboard anchors so the new viewport cannot clip it. Add import/disposal/delayed-result guards; retain static desktop fallback/prerender. Driver/controller/modal callbacks remain the primary agent's scope. Toolbar changes remain markup/classes only. Record native coarse pointers,195logical/actual200%, long-depth branches, contextual keyboard/menu actions, resize/density focus and lazy/paging proof. No generic Theme extraction/release or backend change. + ## OT-08 · Expose full errors and audit details without hover **Covers:** OT-08; DS-04/05. **Depends:** shared details recipe. @@ -230,6 +236,8 @@ public void FullDiagnostic_IsAvailableToKeyboardAndIsEscaped() ## OT-09 · Distinguish request acceptance and deployment application +Execution refinement: use the actual nullable StartDeploymentOutcome enum for request feedback, with separate UI-only pending/unavailable-read flags, rather than potentially contradictory accepted/rejected/no-change booleans. A compilable empty public-contract scaffold precedes behavioral red tests so parallel agents are not blocked by a missing component type. Transport failure is an unconfirmed result, never a fabricated server rejection; accepted requests retain that outcome if a subsequent history read fails. + **Covers:** OT-09; DS-04/05. **Depends:** OT-06/08. **Modify:** `src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Deployments.razor`. diff --git a/docs/plans/2026-11-12-scada-ui-consistency/tasks.json b/docs/plans/2026-11-12-scada-ui-consistency/tasks.json index 9dc9ec8..147ef1d 100644 --- a/docs/plans/2026-11-12-scada-ui-consistency/tasks.json +++ b/docs/plans/2026-11-12-scada-ui-consistency/tasks.json @@ -727,29 +727,31 @@ "title": "Make toolbars and dense trees usable on narrow/touch layouts", "chapter": "OtOpcUa.md", "line": 187, - "status": "planned", + "status": "completed", "prerequisiteGates": [ "GB" ], - "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task." + "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task.", + "evidence": "OtOpcUac5a288b0; docs/ui-consistency/ot07-touch/README.md;15focusedownedSQLtests,16actualdensity/scroll/paging/toolbar/zoomcases,2captureconfirmations,3enginekeyboardparent+focusedchilddispatchonce/focusreturn. Rootgeometrypeerreviewretained; allcontrollers/domainmethodsunchanged." }, { "id": "OT-08", "title": "Expose full errors and audit details without hover", "chapter": "OtOpcUa.md", "line": 199, - "status": "in_progress", + "status": "completed", "prerequisiteGates": [ "GB" ], - "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task." + "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task.", + "evidence": "OtOpcUa78bad3a6 native DiagnosticDetails/5routes/DriverStatusPanel display; combined31focused,27actual keyboard/full5000escaped/local-scroll cases. All query/operation methods retained; DriverStatusPanel restart lifecycle remainsOT13." }, { "id": "OT-09", "title": "Distinguish request acceptance and deployment application", "chapter": "OtOpcUa.md", "line": 227, - "status": "planned", + "status": "in_progress", "prerequisiteGates": [ "GB" ], @@ -995,22 +997,24 @@ "title": "Capture and adopt the validated shared package", "chapter": "BTDB.md", "line": 48, - "status": "in_progress", + "status": "completed", "prerequisiteGates": [ "GB" ], - "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task." + "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task.", + "evidence": "BTDBa7a694e exact Theme1.0.1-only graph delta; docs/ui-consistency/BT00-adoption.md. Separate CLR test-only Pkcs9.0.21 prerequisite86ba7ef,53pass/no production graph delta." }, { "id": "BT-01", "title": "Restore full modal keyboard behavior in two local adapters", "chapter": "BTDB.md", "line": 58, - "status": "in_progress", + "status": "completed", "prerequisiteGates": [ "GB" ], - "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task." + "dependencies": "GB is mandatory before every UI task; additional G1/G2/chapter dependencies remain in the master and named task.", + "evidence": "BTDB75439ee; docs/ui-consistency/BT01-dialogs.md; actual17native overlay cases,6typed/19row focused; retained2same-row callback anddeferredAdd red\u2192green, per-TCS guard. Snapshot fullbuild1010pass/28externaloldskips/0warnings; later final gate pending other BT tasks." }, { "id": "BT-02",