velxio/frontend/src/store
David Montero Crespo cfa03aeaf9 feat(sd): boards with a built-in microSD slot take user uploads
A ProBoardDef can declare builtInSdCsPin, and the store already built a FAT
card from the project files for it - but there was no way to put YOUR files
on that card: the upload panel only existed for the microsd-card component
and for parts with metadata.sdSlot, and boards have no properties bag.

Boards now carry sdFiles (same shape the SD panel persists everywhere else):

- BoardInstance.sdFiles, consumed by the store's Run path (card component
  still wins when one is on the canvas);
- the board inspector shows the SD Card panel whenever the board kind
  declares builtInSdCsPin, and routes the panel's onChange to updateBoard;
- .vlx round-trips it (serialisableBoard + payload type), and gallery
  examples can pre-load the slot via ExampleBoard.sdFiles, applied by
  loadExample the way the panel would.

First user: the XIAO ESP32S3 Sense (CS=GPIO21), whose board def and example
land in the pro overlay.
2026-08-04 05:55:21 +02:00
..
serialBatcher.ts
…
useCompileLogsStore.ts
…
useEditorStore.ts fix(editor): Pi kinds end in digits — test the full board id before stripping the instance suffix 2026-07-28 20:15:56 +02:00
useElectricalStore.ts feat(avr): drive inputs from real circuit, modeling the internal pull-up 2026-06-26 20:18:41 +02:00
useMessageDialogStore.ts feat(ui): replace native confirm() dialogs with reusable modal 2026-07-18 01:59:18 +02:00
useOscilloscopeStore.ts
…
useProjectStore.ts feat(share-modal): D1.4 — 3-level visibility picker (public/unlisted/private) 2026-05-29 05:49:03 +02:00
useSimulatorStore.ts feat(sd): boards with a built-in microSD slot take user uploads 2026-08-04 05:55:21 +02:00
useVfsStore.ts feat(pi-family): one-click run UX — autoRun + guestHome + clean serial mirror 2026-07-28 16:28:02 +02:00