- Add type guard abstractions for querySelector and get by ID
- Add error boundaries for if elements don't exist or are not what is expected
- Remove some globals through colocation or dependency injection
The typing work was done using the VSCode compiler.
TODO:
- Test all added/modified functionality
- iframe rendering properly on change
- initializing file tree on load
- navigating correctly to url on creating a new page
- warning window styling when using link on rendered page
- resizing a large image on upload (saving a blob promise)
- Add tag/changeset for this work as a patch
* Add type guard abstractions for querySelector and get by ID
* Add error boundaries for if elements don't exist or are not what is expected
* Remove some globals through colocation or dependency injection
The typing work was done using the VSCode compiler.
TODO:
* Test all added/modified functionality
* [x] iframe rendering properly on change
* [x] initializing file tree on load
* [x] navigating correctly to url on creating a new page
* [x] warning window styling when using link on rendered page
* [x] resizing a large image on upload (saving a blob promise)
* Add tag/changeset for this work as a patch