velxio/frontend/src/components/editor
David Montero 2f60e3816a fix(editor): surface QEMU compile failure to the user instead of silent warning
When the auto-compile path in handleRun() finishes without producing a
compiledProgram, the previous code dropped the failure on the floor with
only a `console.warn` — the user clicked Run, nothing happened, and they
had no idea why. The accompanying comment also promised "always start
even if compiledProgram is empty" but the code did the opposite.

This commit replaces the dead comment + silent warn with a top-level
error toast + addLog entry, with a different copy for MicroPython mode
(suggests "click Load MicroPython to retry") vs Arduino C++ mode
(directs the user to the output console for the underlying error).

handleCompile already writes the actual cause to the compile-output
console via addLog — this fix just makes sure the user knows their
click failed and where to look.
2026-05-23 08:39:26 +02:00
..
CodeEditor.tsx feat(editor): Monaco syntax highlight for 8080/Z80 assembly 2026-05-19 00:49:51 -03:00
CompilationConsole.tsx feat(compile): expose compile logs via Zustand store + UI slot 2026-05-14 16:44:05 +02:00
EditorToolbar.css feat(editor): enhance toolbar layout with center slot for file tabs and improve responsiveness 2026-04-28 23:23:20 -03:00
EditorToolbar.tsx fix(editor): surface QEMU compile failure to the user instead of silent warning 2026-05-23 08:39:26 +02:00
FileExplorer.css
FileExplorer.tsx feat(import): unify project import — accept .vlx and .zip in both entry points 2026-05-22 20:55:06 +02:00
FileTabs.css refactor: rename components and update prefixes to 'velxio-' for consistency 2026-04-21 16:45:45 -03:00
FileTabs.tsx feat(editor): translate FileExplorer + FileTabs to 9 locales (Editor block 2) 2026-05-09 03:08:51 -03:00
retroAsmLanguage.ts feat(editor): Monaco syntax highlight for 8080/Z80 assembly 2026-05-19 00:49:51 -03:00