20240223

making a day notes prototype

the day notes is a svelte implementation of google slides simply for pasting images and writing some text to it. the canvas style of the app will allow for images and text to be laid out in an infinite canvas.

the canvas is a data structure that contains a heading (which has no spatial informaiton) and an array of image objects and text objects each with their own spatial information.

getting svelte document element

this is an issue i have encountered multiple times. svelte doesnt know what the page doc is and therefore needs to be referenced in a particular way

ie this does not work:

<script>
    document.getElementById('input').onpaste = (e) => {
      const eventData = window.clipboardData || e.clipboardData ;
      const theFile = eventData.files[ 0 ];
    };
</script>}

we end up throwing TypeError: document.getElementById(...) is null

20240222

refactoring SEEDCAP

xr plugin management has thrown an erro looking for the visionOS in the build modules

the xr plugin manager has a vision os error that breaks the build see: unity reference.