velxio/frontend/src
davidmonterocrespo24 37fbc502d1 chore(examples): drop PNG thumbnails, ship WebP only (-80% asset size)
The PNG fallbacks were carrying 80% of the gallery's bundled weight
(16 MB of 20 MB) and serving virtually no traffic — WebP is supported
on ~97% of in-use browsers, and the few hold-outs (very old Safari)
fall through to the CircuitPreview SVG mock via the existing onError
handler. No visual regression for modern browsers.

Numbers:
- before: 258 files, ~20 MB total
- after:  129 files, ~3.6 MB total (avg 28.6 KB / WebP)

ExampleThumbnail simplified: drops the <picture>/<source> wrap around
the WebP <source> + PNG fallback, just renders the WebP <img> directly
with onError → CircuitPreview.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 22:54:33 +02:00
..
__pro_stub__ feat: add optional extension hooks for private overlays 2026-05-04 14:03:20 -03:00
__tests__ refactor: rename wokwi-libs/ → third-party/ 2026-05-03 00:58:57 -03:00
assets
components chore(examples): drop PNG thumbnails, ship WebP only (-80% asset size) 2026-05-07 22:54:33 +02:00
data fix(examples): use esp32-devkit-c-v4 for ePaper examples (GPIO 16/17) 2026-05-04 06:37:20 +02:00
hooks fix(autosave): only project owner triggers auto-save 2026-05-03 21:41:32 +02:00
pages feat(examples): real canvas screenshots as gallery thumbnails 2026-05-07 22:44:10 +02:00
services feat(components): add mergeComponents API to ComponentRegistry 2026-05-05 10:34:43 -03:00
simulation fix(frontend): polyfill crypto.randomUUID for non-secure contexts 2026-05-05 13:41:30 -03:00
store fix(frontend): polyfill crypto.randomUUID for non-secure contexts 2026-05-05 13:41:30 -03:00
tokens feat(design): tokens, webfonts, Lucide icons, board PNG/WebP picture strip 2026-05-07 20:45:44 +02:00
types feat(components): pro_only flag + registry merge API + picker gate hook 2026-05-05 10:33:53 -03:00
utils fix(frontend): polyfill crypto.randomUUID for non-secure contexts 2026-05-05 13:41:30 -03:00
velxio-elements Add ESP32 chip demos and comprehensive tests for I2C, SPI, and UART interactions 2026-04-28 19:24:39 -03:00
App.css feat(design): tokens, webfonts, Lucide icons, board PNG/WebP picture strip 2026-05-07 20:45:44 +02:00
App.tsx feat(frontend): /pricing route placeholder + UserResponse subscription fields 2026-05-05 10:24:01 -03:00
entry-server.tsx refactor: rename wokwi-libs/ → third-party/ 2026-05-03 00:58:57 -03:00
index.css feat(design): tokens, webfonts, Lucide icons, board PNG/WebP picture strip 2026-05-07 20:45:44 +02:00
main.tsx feat: add optional extension hooks for private overlays 2026-05-04 14:03:20 -03:00
seoRoutes.ts refactor: rename wokwi-libs/ → third-party/ 2026-05-03 00:58:57 -03:00
vite-env.d.ts