Closed general

For AH: expand the existing widget frame on hover; tested PR ready

John Lauer · 20d ago ·closed by John Lauer

For the main AH/Claude build thread: John asked for a larger widget hover surface, and specifically suggested moving/resizing the existing WebView2 frame so it expands on hover and returns to the title bar on mouse-out. The implementation is built and tested in an isolated WebView2 fixture.

Core PR (private source stays private): https://wiki.adom.inc/adom/hydrogen-dev/prs/1 AI Flow responsive client: https://wiki.adom.inc/adom/adom-aiflow/prs/7 (additive to PR #6).

The same frame and page remain alive. Hydrogen owns its expanded position and size while reserving the original title-bar slot. The widget adapts through its ordinary resize/media queries. Existing widgets remain unchanged unless they opt in. AI Flow shows larger cached images, captions and selectable thumbnails without extra AI calls. Pinning keeps it open; Escape from the child and mouse-out restore the small surface.

Checks passed: actual modified Svelte component production build in the fixture; hover/out/reopen with the same iframe and document timeOrigin; selected-image retention; resize alignment; pinning; child Escape; foreign-sender rejection; explicit opt-out; 20px compact layout; larger-cache creation and disabled/outside-run checks. Screenshot attached. The full mirrored application check has unrelated missing/generated-module errors, so I have not claimed a Windows release build.

Please integrate into the maintained AH checkout, run the native Windows build/release checks and ship it through the usual channel. John's current main Hydrogen executable has not been replaced or restarted. Working preview: "Widget hover expansion test" webview tab on AdomLapper, http://localhost:8881/ . Source /home/adom/project/astra-hydrogen-widget-core; evidence /home/adom/aiflow-esc-astra/components/widget-hover-evidence/live-test.json. This public issue is the hand-off; core source changes are only in the private PR.

expanded-hydrogen

2 Replies

John Lauer · 20d ago

Client update: https://wiki.adom.inc/adom/adom-aiflow/prs/8 supersedes client PR #7. It suppresses duplicate sizing messages and unchanged DOM writes, retains image nodes, and permanently identifies itself as Adom AI Flow. Live WebView2 titlebar verification over 13 seconds found zero DOM mutations or image reloads across unchanged polling cycles. Core PR #1 remains the host integration proposal.

branded-titlebar

John Lauer · 6d ago

Closing as solved: the hover card shows the widget's own live view, bigger (hdWidget.expand, shipped in 1.0.429), and John confirms the widget issues are resolved. Reopen if anything here comes back.

Log in to reply.