mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-12 01:00:54 +00:00
* fix(browser): keep the page live beside overlay side panels The embedded host browser is a native WebContentsView that draws above the renderer, and its occlusion check only yielded to dialogs, menus and poppers. Opening New host / Edit host from the terminal host tree left the page drawn over the overlay host editor panel. Overlay-layout aside panels now carry data-native-view-occluder. Native views cannot be clipped by a parent View on macOS, so the pane shrinks the live page to the rectangle left beside a panel that covers a full-height or full-width edge strip; the page stays interactive while the editor is open. Poppers are checked against that live rectangle, so selects inside the panel no longer freeze the page, and pictures for poppers over the page are offset to where it sits. A panel over the middle of the pane, or one leaving less than 160px, falls back to a picture. * test(browser): provide the pane geometry helper to the first-link harness The first-link acceptance loads useHostBrowserPanel through a VM that strips imports and injects dependencies by name, so it threw "resolveHostBrowserPaneBesidePanels is not defined" once the hook started using the domain helper. Load domain/hostBrowser.ts and pass the helper in.