Skip to content

v1.7.0: Web Asset Preloading, PNA Headers & HTTPS Fix

Latest

Choose a tag to compare

@hatchman hatchman released this 24 Jun 12:53
· 382 commits to master since this release

What's New

🌐 Web Asset Preloading

  • All 93 SVGs + 4 fonts precached on startup (non-blocking)
  • BYB orange progress bar with real-time percentage at bottom of screen
  • NotoEmoji font warmer ensures CanvasKit renders glyphs immediately
  • Bar auto-hides once loading completes

🔐 Private Network Access (PNA) — ESP32 Firmware

  • Added CORS preflight handler for Chrome's Local Network Access policy
  • Robots with updated firmware now work from HTTPS-deployed web app
  • Chrome shows a one-time 'Allow local network access' permission prompt
  • Fully backward-compatible — native macOS/iOS apps are unaffected

🛡️ HTTPS Mixed-Content Fix

  • WebSocket auto-connect deferred on web (only connects on Play)
  • Eliminates mixed-content warnings that caused Chrome 'Not Secure' flag
  • Unblocks PWA install on HTTPS deployments

🔍 WebSocket Diagnostics

  • Enhanced error logging: origin, readyState, close reason, PNA hints
  • Easier debugging of connection issues on deployed builds

Files Changed

  • lib/pages/designbrain_page.dart — asset preloader + loading bar + web auto-connect fix
  • lib/utils/web_websocket.dart — enhanced error logging
  • Robot Firmware/SpikerBot_June_17_2026/app_httpd.cpp — PNA preflight handler

Release Asset

  • spikerbot-web-v1.7.0.zip — Chrome/web build (extract web/ folder to deploy)