tldraw/apps/www
Faraz Shaikh 1c65c031b2
Add Image and Video shapes (#460)
* Added image and video shapes

* Fixed bugs; Added optional onImageUpload callback

* Added id field to onImageUpload

* Added onImageDelete callback for cleanup

* Added firebase storage to multiplayer for media

* Added firebase storage to multiplayer for media

* Silence unnecessary TS errors

* Fixed bugs; Added tests

* Added tests

* Disable images for multiplayer example

* switch to assets in document, rather than on shapes, fix resize, fix sizes

* bump version, add migration for assets table

* Rename onImageUpload

* Add isPlaying state to video (not complete)

* Revert "Add isPlaying state to video (not complete)"

This reverts commit 3dc2ba703f4194eb7c47524d384dc8392daa18be.

* Adds controls when editing video, sync current time when cloning

* Remove unused tools

* avoid duplication in assets

* Remove unused image styles from style menu

* Fix placement of clone buttons

* Fix flag to hide image assets in multiplayer

* move getSizeFromDataUrl to filesystem

* Update VideoUtil.tsx

* Re-center video after it loads

* Add copy and paste support for assets

* Fix bug in state manager, remove unused assets on load, fix indicators

* Add multiplayer with images example

* Update MultiplayerEditor.tsx

* Add images to copy SVG

* tighten up some code around svg export

* Update TldrawApp.spec.ts

* Update useBoundsHandleEvents.tsx

* Reset image size by double clicking bounds

* fix reset size

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-25 17:06:33 +00:00
..
components Add Image and Video shapes (#460) 2021-12-25 17:06:33 +00:00
hooks [improvement] Multiplayer + cursors (#457) 2021-12-22 00:14:38 +00:00
pages [improvement] Multiplayer cursors (#458) 2021-12-22 00:34:44 +00:00
public [chore] repo-map.tldr, vscode extension improvements (#332) 2021-11-21 11:36:03 +00:00
styles [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
utils [improvement] Multiplayer + cursors (#457) 2021-12-22 00:14:38 +00:00
worker [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
.babelrc [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
.eslintrc.json [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
.gitignore [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
card-repo.png Update READMEs (#290) 2021-11-18 15:07:55 +00:00
LICENSE [big chore] restore core to monorepo (#287) 2021-11-18 13:09:18 +00:00
next-env.d.ts [improvement] Select unfilled shapes by clicking on their stroke (#438) 2021-12-07 20:48:56 +00:00
next.config.js [improvement] Multiplayer + cursors (#457) 2021-12-22 00:14:38 +00:00
package.json v1.2.10 2021-12-22 14:33:56 +00:00
README.md Update READMEs (#290) 2021-11-18 15:07:55 +00:00
tsconfig.json [improvement] Multiplayer + cursors (#457) 2021-12-22 00:14:38 +00:00
types.ts [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00

@tldraw/www

The tldraw website.