diff --git a/frontend/src/components/editor/FileExplorer.tsx b/frontend/src/components/editor/FileExplorer.tsx index 235dc573..57e33901 100644 --- a/frontend/src/components/editor/FileExplorer.tsx +++ b/frontend/src/components/editor/FileExplorer.tsx @@ -4,6 +4,7 @@ import { useEditorStore } from '../../store/useEditorStore'; import { useSimulatorStore } from '../../store/useSimulatorStore'; import type { BoardKind } from '../../types/board'; import { BOARD_KIND_LABELS } from '../../types/board'; +import { importVlxFile, VlxParseError } from '../../utils/vlxFile'; import './FileExplorer.css'; // SVG icons — same style as EditorToolbar (stroke-based, 16x16) @@ -93,6 +94,25 @@ const IcoSave = () => ( ); +const IcoOpen = () => ( + // Folder with an "open / upload arrow" — matches Save visually (both + // are project-IO actions) but points the opposite way to signal load. + + + + + +); + const IcoChevron = ({ open }: { open: boolean }) => ( = ({ onSaveClick, onNewClick }) => { + // Hidden