Commit graph

175 commits

Author SHA1 Message Date
Steve Ruiz
fe2e3c81fe
[improvement] Migrations (#217)
* Add better migrations

* Improves migrations

* rename dev to example

* renames migrate

* Removes workers from git

* Remove rogue dependency

* Fix dropdown navigation by keyboard
2021-11-04 15:48:39 +00:00
Steve Ruiz
92e076fb3f update tracked, scripts 2021-11-04 13:16:26 +00:00
Steve Ruiz
0e477676c7 Update dependencies, mark external 2021-11-04 13:00:51 +00:00
Steve Ruiz
e2369003c6
[improvement] UI (#215)
* move folders out of packages

* Remove custom yarn stuff, remove duplicate readme

* Remove stitches config

* Add README script.

* bump deps

* Fix script

* Update package.json

* rehauls UI

* further rehauls UI

* UI polish

* Update ToolButton.tsx

* Update ToolButton.tsx

* Bump license

* move tldraw to root

* Remove SW
2021-11-03 16:46:33 +00:00
Steve Ruiz
b68a4681e1
[improvement] repo shuffle (#214)
* move folders out of packages

* Remove custom yarn stuff, remove duplicate readme

* Remove stitches config

* Add README script.

* bump deps

* Fix script

* Update package.json
2021-11-02 11:46:25 +00:00
Steve Ruiz
0d564c1501 Remove libraries 2021-11-01 15:26:44 +00:00
Steve Ruiz
12e425ddc4
[fix] rotate center (#213)
* fixes rotate center after translating / transforming

* Adds test, fixes issue on undo/redo

* Update tsconfig.base.json
2021-10-30 10:04:33 +01:00
Steve Ruiz
5479d67877
Updates to new core. (#210) 2021-10-28 17:50:58 +01:00
Steve Ruiz
bc080a6634 bumps core 2021-10-27 18:54:07 +01:00
Steve Ruiz
599e6032a9 Removes core (off to its own repo) 2021-10-27 18:52:02 +01:00
Steve Ruiz
2e6c33342d
[refactor] ShapeUtils (#206)
* Starts refactor

* tests passing, got it

* Fix next
2021-10-27 16:15:01 +01:00
Steve Ruiz
ad8bf78dd4
Replace ts-jest with swc-node/jest (#194) 2021-10-22 12:41:24 +01:00
Steve Ruiz
0cfc68b004
[feature] snapping (#168)
* defer cloning

* basic snapping

* Improves algorithm for snap points, rendering

* Improves snapping, snaplines

* Enables a clone to snap to its parent

* Adds overlay

* Fix overlay, zoom scaling for distance and speed
2021-10-18 14:30:42 +01:00
Steve Ruiz
1ec0434a3c
[improvement] improve performance (#151)
* Remove context menu

* Update stitches elements

* Update yarn.lock

* Fix bug on bounds bg

* Adds timer for will-change

* remove zindex

* jesus christ, just an extra div

* Remove will change timer
2021-10-15 13:49:48 +01:00
Steve Ruiz
a633dbcdbc Fix draw tool 2021-10-13 19:58:12 +01:00
Steve Ruiz
99730b4fe2
[feature] MVP multiplayer support (#135)
* Adds multiplayer support

* Update liveblocks.tsx

* Update liveblocks.tsx

* Create chaos.tsx

* Fix undo redo, add merge state

* Update multiplayer-editor.tsx

* Adds secret room

* Update chaos.tsx

* Moves shhh to shhhmp

* Fix accidentally deleting the editing shape

* Fix bug where a selected shape is deleted by another user.

* Remove relative path

* Tweak editor

* Remove chaos endpoint

* Adds error state for maximum connections, fixes selectedIds bug on new rooms
2021-10-09 00:05:24 +01:00
Steve Ruiz
d2fb13e18c bumps perfect-freehand, fixes dot issue 2021-10-08 12:34:11 +01:00
Steve Ruiz
6733e27dbc bumps use gesture 2021-10-05 20:28:52 +01:00
Steve Ruiz
31638c7c90
[fix] indicator shapes (#121)
* Fix indicator shape for draw shape, rectangle shape

* Fixes perfect-freehand bug

* Tweaks streamline
2021-09-24 10:47:25 +01:00
Steve Ruiz
b90c57bbc3 improve canvas positioning, fix zaxis reordering 2021-09-22 16:00:20 +01:00
Steve Ruiz
1d988f132a
[feature] Add Sentry tracking, restore installable PWA (#106)
* This PR restores the sentry and pwa features

* Add gtag to editor in events.
2021-09-22 13:17:52 +01:00
Steve Ruiz
6199b5a0b7 Bumps perfect-freehand 2021-09-21 16:49:52 +01:00
Steve Ruiz
bbee7bc2b2
Feature copy and paste (#99)
* adds copy and paste, scopes keyboard events to focused elements

* Fix tools panel bug, adds copy across documents

* Makes autofocus default
2021-09-21 16:47:04 +01:00
Pedro Duarte
f8b2fe1c85
Refactor to Stitches Core (#89)
* Refactor www/styles to Stitches Core

* Update package.json

* Begin refactor of `tldraw`

* More refactoring

* A bit more

* little bit more

* Update yarn.lock

* Drops React dependencies to 16.8

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-09-19 20:45:50 +01:00
Steve Ruiz
bec693a1d9
Tweaks the draw appearance, fix ellipse rotation (#93) 2021-09-18 18:39:34 +01:00
Steve Ruiz
cdb7c74f8e Updates perfect-freehand, draw renderings 2021-09-17 17:37:40 +01:00
Steve Ruiz
dfd079ad9a Update yarn.lock 2021-09-14 12:33:07 +01:00
Steve Ruiz
56f327d4f9 Adds tsconfig-replace-paths 2021-09-14 08:51:24 +01:00
Steve Ruiz
f7971d5c6f Cleans up packages, tsconfigs, fixes for docs 2021-09-12 14:00:31 +01:00
Steve Ruiz
d0e33f22e1 Fix bad import, bump esbuild 2021-09-09 17:06:22 +01:00
Steve Ruiz
b00e0d3a95 Improves pan and zoom gestures 2021-09-09 13:32:08 +01:00
Steve Ruiz
8154ed5a2a Adjusts small example, makes inputs unique to each instance 2021-09-08 17:18:43 +01:00
Steve Ruiz
7489ee8174 Add imperative test, bump rko 2021-09-08 12:53:52 +01:00
Steve Ruiz
c814786789 Remove explicit package from www 2021-09-06 14:12:19 +01:00
Steve Ruiz
04b6353e41 Adds setter for history 2021-09-06 13:43:56 +01:00
Steve Ruiz
d69b8a7229 bump rko 2021-09-06 12:49:27 +01:00
Steve Ruiz
9f2148eab9 Fixes import issue 2021-09-06 12:33:30 +01:00
Steve Ruiz
376d836154 Adds onChange and onMount to constructor 2021-09-04 16:40:23 +01:00
Steve Ruiz
a081840aa9 Adds auth 2021-09-04 13:02:13 +01:00
Steve Ruiz
8218af529d Restores next-transpile-modules 2021-09-04 12:36:47 +01:00
Steve Ruiz
a7520088b0 fresh start on www 2021-09-04 12:26:46 +01:00
Steve Ruiz
87ffff5097 Updates deps, pointerMove event handlers 2021-09-04 11:32:33 +01:00
Steve Ruiz
71be59ae9f Revert "Bumps stitches"
This reverts commit 303396cf05.
2021-09-04 11:21:57 +01:00
Steve Ruiz
fd31f60bae Revert "bumps and removes deps from www"
This reverts commit 75e08096d8.
2021-09-04 11:21:55 +01:00
Steve Ruiz
ca9e1981e6 Revert "More cleanup on www"
This reverts commit e4ae017082.
2021-09-04 11:21:53 +01:00
Steve Ruiz
e4ae017082 More cleanup on www 2021-09-04 11:15:10 +01:00
Steve Ruiz
75e08096d8 bumps and removes deps from www 2021-09-04 11:13:55 +01:00
Steve Ruiz
303396cf05 Bumps stitches 2021-09-04 11:11:09 +01:00
Steve Ruiz
a74e168d97 Revert "Adds auth, etc to next.js site"
This reverts commit fbbaf08513.
2021-09-04 10:17:10 +01:00
Steve Ruiz
706ed57353 Revert "Update yarn.lock"
This reverts commit 7e1c63d5ea.
2021-09-04 10:17:10 +01:00
Steve Ruiz
35253348d2 Revert "Migrate to stitches 1.0.0, fix a few bugs"
This reverts commit fea9e727fd.
2021-09-04 10:17:10 +01:00
Steve Ruiz
fea9e727fd Migrate to stitches 1.0.0, fix a few bugs 2021-09-03 15:21:28 +01:00
Steve Ruiz
7e1c63d5ea Update yarn.lock 2021-09-03 15:13:25 +01:00
Steve Ruiz
fbbaf08513 Adds auth, etc to next.js site 2021-09-03 15:11:50 +01:00
Tais Massaro
079d4d05e8 test(tldraw): use jest .todo instead of TODO comments 2021-09-01 21:22:13 +02:00
Steve Ruiz
1c9bbe3e36 bumps perfect freehand, improves draw and text 2021-08-31 21:46:49 +01:00
Steve Ruiz
38114cde37 bumps canvas 2021-08-31 19:13:24 +01:00
Steve Ruiz
2771ae986f Adds peer deps 2021-08-31 14:28:51 +01:00
Steve Ruiz
2937016ae0 Adds indicator for dots, rename and delete dialogs for pages, dark mode support for ui 2021-08-30 14:04:12 +01:00
Steve Ruiz
7d18be27cf tweaks packages, bumps a few deps 2021-08-30 08:45:10 +01:00
Steve Ruiz
9e8e99cb6f Move state to rko 2021-08-29 14:33:43 +01:00
Steve Ruiz
c3e6c55a68 Bumps perfect-freehand 2021-08-27 10:53:01 +01:00
Steve Ruiz
840532142e bumps perfect-freehand, improves draw dots 2021-08-23 15:38:14 +01:00
Steve Ruiz
3d90322178 Remove merge-deep 2021-08-18 00:12:14 +01:00
Steve Ruiz
f19d3e6366 Fixes database issues, fixes rendering issue 2021-08-18 00:11:00 +01:00
Steve Ruiz
9c45e0a5a5 Starts on menu, page panel 2021-08-16 08:49:31 +01:00
Steve Ruiz
b8f410b752 Adds react tests, build tsconfigs 2021-08-14 16:46:21 +01:00
Steve Ruiz
b74590c128 Fix versions in packages 2021-08-13 14:12:35 +01:00
Steve Ruiz
ea71fd4227 Fix version in www 2021-08-13 14:10:30 +01:00
Steve Ruiz
9ac8aa428b Adds code to create dist folder if not present 2021-08-13 14:01:22 +01:00
Steve Ruiz
4eb29349be Fix dev server index.html 2021-08-13 12:13:11 +01:00
Steve Ruiz
ccb8876d8b All tests passing 2021-08-13 11:49:35 +01:00
Steve Ruiz
8c02e0df84 Improves types and imports! 2021-08-13 10:28:09 +01:00
Steve Ruiz
e71bf1d327 Puts www back in packages 2021-08-11 21:03:59 +01:00
Steve Ruiz
4ac1b93f96 Adds dev server 2021-08-10 18:19:30 +01:00
Steve Ruiz
5998879e24 Replace 2021-08-10 17:12:55 +01:00
Steve Ruiz
87b46b7d31 bumps perfect freehand 2021-07-14 22:14:32 +01:00
Steve Ruiz
fd67e2791d Adds page options panel to rename / duplicate / delete pages 2021-07-14 11:42:16 +01:00
Steve Ruiz
03326adbaf Replace own theme solution with next-themes 2021-07-14 09:04:07 +01:00
Steve Ruiz
6cc9009e82 Removes deps 2021-07-13 21:27:05 +01:00
Steve Ruiz
277654edff bumps deps, moves monaco-editor to dev deps 2021-07-13 21:26:16 +01:00
Steve Ruiz
eca210da6a Bumps state-designer 2021-07-12 12:17:47 +01:00
Steve Ruiz
a5c07c3efd Bumps next-pwa 2021-07-08 12:02:03 +01:00
Steve Ruiz
5334f41e1d Tweaks sentry integration 2021-07-07 10:34:11 +01:00
Steve Ruiz
a84b771571 Reconfigures sentry 2021-07-07 10:23:31 +01:00
Steve Ruiz
8180146eb3 Adds provisional logger 2021-07-04 19:45:07 +01:00
Steve Ruiz
a454586237 Adds copy / paste / save / load buttons to menu 2021-07-03 15:09:49 +01:00
Steve Ruiz
50d4517d0d remove pusher 2021-06-30 23:55:00 +01:00
Steve Ruiz
49baa47a0e Updates cursor logic 2021-06-30 21:31:29 +01:00
Steve Ruiz
96b48d3b90 Remove supabase 2021-06-29 15:59:49 +01:00
Steve Ruiz
45223e2a8d Big restructure of utils 2021-06-29 13:00:59 +01:00
Steve Ruiz
80d2ba5f00 cursors! 2021-06-28 23:22:23 +01:00
Steve Ruiz
36fc386269 Stubs initial API for coop with Pusher 2021-06-28 21:45:06 +01:00
Steve Ruiz
724d44b744 Updates perfect-freehand 2021-06-28 07:56:08 +01:00
Steve Ruiz
3f4f5e73ae Adds initial docs for code editor 2021-06-27 14:53:06 +01:00
Steve Ruiz
85dc3028b4 Stubs tests. Updates types for controls. 2021-06-25 11:28:52 +01:00
Steve Ruiz
32922b3f85 Adds error boundary, improves code shapes types. 2021-06-24 23:09:36 +01:00
Steve Ruiz
69bdab520a Updates to code editor, utils 2021-06-24 15:59:56 +01:00
Steve Ruiz
a24b7f7931 Adds tests, fixes bug on pre-complete sessions 2021-06-23 13:46:16 +01:00
Steve Ruiz
9e2938c3d5 Generalize dash helper. 2021-06-22 19:13:16 +01:00