velxio/frontend/src
David Montero Crespo 145710561a fix: 5 user-reported issues (#208 #209 #210 #211 #212)
#208 — stale binary executes after compile error
EditorToolbar.handleCompile: on failed compile, clear the active
board's compiledProgram so a subsequent Run can't silently execute
the previous successful build (which doesn't match the editor any
more). The Run gate already short-circuits on !compiledProgram and
forces a fresh compile.

#209 — compile terminal kept stale messages across runs
EditorToolbar.handleCompile: setCompileLogs([]) at the top of the
handler. Previously logs from the prior compile lingered, making it
hard to tell new errors / warnings apart from old ones.

#210 — desktop File > New Project did nothing
desktop/menu.ts: the menu action used to dispatch a CustomEvent
nobody listened to. Replaced with a real `newProject()` function
that stops the running simulation, removes every board (also drops
the bridges + wires touching them), clears components / wires,
loads the default Blink sketch into the editor, clears project
metadata, and wipes the compile output. Confirms first if there's
unsaved work on the canvas.

#211 — deleting the only board made every other component
unresponsive (wires still worked)
SimulatorCanvas.tsx::interactionRunning: the old expression
treated boards.length === 0 as "boardless electrical mode is
running" — which suppressed the property dialog on click and made
non-sensor components look frozen. Fixed by also requiring
useElectricalStore.submittedNetlist !== '' before flipping to the
boardless-running branch. SPICE has to have actually solved at
least once for the mode to engage.

#212 — ESP32 Support 404 with no actionable message
desktop/Esp32QemuPrompt.tsx: catch the raw "download HTTP 404" /
"not found" upstream error and reword it to "ESP32 support is not
yet available for your platform. The Velxio team is preparing
this build - try again in a few days, or use Arduino/RP2040
boards in the meantime." The real fix is server-side (the velxio
team needs to publish a qemu-xtensa.tar.gz for the user's
platform into the asset bucket and update esp32-qemu/latest.json).
Tracked in project/desktop-agent-v040/ follow-ups.

All five fixes verified with `tsc --noEmit` clean and the existing
25-test vitest suite green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 22:06:58 -03:00
..
__pro_stub__
__tests__ fix(stop): preserve display state on Stop, only blank on Reset 2026-05-26 18:54:17 +02:00
assets
components fix: 5 user-reported issues (#208 #209 #210 #211 #212) 2026-05-26 22:06:58 -03:00
data fix(examples): use hardware I2C (not SoftI2C) in smart-ui-eyes 2026-05-23 18:06:42 +02:00
desktop fix: 5 user-reported issues (#208 #209 #210 #211 #212) 2026-05-26 22:06:58 -03:00
hooks refactor(oss-split): remove auth/admin/profile frontend from OSS 2026-05-14 15:31:12 -03:00
i18n feat(import): unify project import — accept .vlx and .zip in both entry points 2026-05-22 20:55:06 +02:00
lib feat(frontend): runtime API base + desktop overlay extension points 2026-05-21 04:50:19 +02:00
pages feat(landing): "Try Simulator Free Online" + download CTA slot below 2026-05-22 03:33:21 +02:00
services feat(boards): expose Raspberry Pi 4 and Pi 5 in the picker (UI + pin wiring) 2026-05-23 04:46:59 +02:00
simulation fix(stop): reset CPU to PC=0 on Stop (real-life power-cycle semantics) 2026-05-26 21:28:41 +02:00
store fix(stop): reset CPU to PC=0 on Stop (real-life power-cycle semantics) 2026-05-26 21:28:41 +02:00
tokens feat(landing+theme): multiplier pricing copy + softer canvas 2026-05-13 21:02:48 +02:00
types fix(spice+pipeline): LED visualization, INPUT_PULLUP, ESP32-C3, PWM fade, examples 2026-05-18 21:52:07 -03:00
utils fix(canvas): wires off pins after rotation — wrapper offset was (4,6) instead of (6,6) 2026-05-26 15:16:04 +02:00
velxio-elements
App.css
App.tsx feat(desktop): hide web nav + redirect / → /editor in Tauri builds 2026-05-22 18:08:33 -03:00
entry-server.tsx
index.css feat(auth): welcome email on register + password reset via Odoo mail relay 2026-05-12 17:34:30 -03:00
main.tsx feat(desktop): allow slim pro overlay when VITE_PRO_BUILD + VITE_DESKTOP both set 2026-05-26 14:09:22 -03:00
seoRoutes.ts
vite-env.d.ts