velxio/frontend/src
David Montero 80d2086907 fix(picow): open the IoT gateway in an in-app iframe, not a new tab
The Pico W emulation runs in THIS browser tab via requestAnimationFrame.
Opening the gateway with target=_blank / window.open backgrounds the
emulation tab; the browser then pauses its rAF, the simulated chip
freezes, and the gateway can no longer reach the server on it — the
request times out (502) and toggles do nothing.

Render the served page in a same-tab iframe panel (openDeviceGateway) for
the Pico W so the emulation stays in the foreground and keeps answering.
The ESP32 is unchanged (its server runs in QEMU on the backend, immune to
tab visibility), so it keeps opening in a new tab.

Also: the async-led page now shows the LED state (the board's onboard LED
isn't drawn on the canvas) so the toggle has visible feedback.
2026-06-14 04:19:48 +02:00
..
__pro_stub__ feat: STM32 (Blue Pill / Black Pill) QEMU emulation + Pro board gating 2026-05-30 19:06:14 -03:00
__tests__ fix(picow): web examples use relative URLs + a resilient server loop 2026-06-14 03:11:54 +02:00
assets feat: STM32 (Blue Pill / Black Pill) QEMU emulation + Pro board gating 2026-05-30 19:06:14 -03:00
components fix(picow): open the IoT gateway in an in-app iframe, not a new tab 2026-06-14 04:19:48 +02:00
data fix(picow): open the IoT gateway in an in-app iframe, not a new tab 2026-06-14 04:19:48 +02:00
desktop feat: STM32 (Blue Pill / Black Pill) QEMU emulation + Pro board gating 2026-05-30 19:06:14 -03:00
hooks
i18n i18n: fill 19 missing keys in de/fr/it/ja/ru 2026-06-13 08:01:21 +02:00
lib fix(picow): open the IoT gateway in an in-app iframe, not a new tab 2026-06-14 04:19:48 +02:00
pages feat(library-manifest): per-board manifests + autocomplete 2026-06-07 06:07:48 +02:00
services feat(P2.2c): show per-user custom libs in the Library Manager + autocomplete 2026-06-07 19:58:13 +02:00
simulation feat(cyw43): bridge Pico W DNS/TCP/UDP to the backend for real internet 2026-06-13 05:27:49 +02:00
store feat(cyw43): bridge Pico W DNS/TCP/UDP to the backend for real internet 2026-06-13 05:27:49 +02:00
tokens
types feat(library-manifest): per-board manifests + autocomplete 2026-06-07 06:07:48 +02:00
utils fix(interconnect): classify Arduino Mega UART/I2C function-label pins 2026-06-12 08:29:03 +02:00
velxio-elements
App.css
App.tsx
entry-server.tsx
index.css
main.tsx feat(motors): fix stepper rotation + add A4988 driver (real Fritzing SVG) 2026-05-31 16:28:34 -03:00
seoRoutes.ts
vite-env.d.ts