Adds a new BoardOptionsModal accessible from the EditorToolbar that exposes
per-board options (currently used for board-specific compile flags). Wires
the modal through:
- types/boardOptions.ts new BoardOptions shape
- types/board.ts BoardInstance gains `boardOptions` + `spiffsFiles`
- store/useSimulatorStore.ts boardOptions persisted in loadProjectState
- components/editor/EditorToolbar.tsx button to open the modal
- components/simulator/BoardOptionsModal.{tsx,css} the modal itself
- components/simulator/SimulatorCanvas.tsx passes the options through
- utils/projectPayload.ts board options serialised in saved projects
- pages/ProjectByIdPage.tsx re-includes the by-id loader needed for
project URLs that reference boards with
their persisted options.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| analytics.ts | ||
| boardPinMapping.ts | ||
| boardProtocols.ts | ||
| captureCanvasPreview.ts | ||
| compilationLogger.ts | ||
| countryFlag.ts | ||
| esp32ImageParser.ts | ||
| exampleToBuildNetlistInput.ts | ||
| firmwareLoader.ts | ||
| generateExamplePreview.tsx | ||
| hexParser.ts | ||
| loadExample.ts | ||
| pinPositionCalculator.ts | ||
| projectPayload.ts | ||
| reservedUsernames.ts | ||
| useSEO.ts | ||
| useTouchDevice.ts | ||
| uuid.ts | ||
| vlxFile.ts | ||
| wireColors.ts | ||
| wireHitDetection.ts | ||
| wireUtils.ts | ||
| wokwiZip.ts | ||