Commit graph

230 commits

Author SHA1 Message Date
Steve Ruiz
8fd9cf8389
[feature] UX preferences (#172)
* Improves snapping util, styles corner buttons, adds preferences

* Update bounds.test.tsx

* Update preferences.tsx

* Update preferences.tsx

* Change copy
2021-10-19 14:29:55 +01:00
Steve Ruiz
dbf3c253ce v0.0.124 2021-10-19 12:30:36 +01:00
Steve Ruiz
246cac9b5b v0.0.123 2021-10-19 12:28:57 +01:00
Steve Ruiz
a7e8fafb96
Adds up and downstream links (#171) 2021-10-19 12:19:56 +01:00
Steve Ruiz
235a57d302 Adds indicator for text, linked translate 2021-10-18 16:59:12 +01:00
Steve Ruiz
4b24219fc1 v0.0.122 2021-10-18 15:35:02 +01:00
Steve Ruiz
6661ab0586
[feature] transform snaps (#170)
* transform single

* transform
2021-10-18 15:26:34 +01:00
Steve Ruiz
c56bf3b0eb v0.0.121 2021-10-18 14:33:07 +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
b1b9f901d3 v0.0.120 2021-10-17 09:57:26 +01:00
Steve Ruiz
01c824bbbe
Improve rectangle rendering (#163) 2021-10-17 09:09:01 +01:00
Steve Ruiz
db62005251
Fix dark theme UI (#161)
* Fix theming

* Cleanup

* Update tldraw.tsx
2021-10-17 06:59:10 +01:00
Steve Ruiz
9b072fec95 v0.0.119 2021-10-16 23:22:36 +01:00
Steve Ruiz
58ffba3047 v0.0.118 2021-10-16 23:21:35 +01:00
Steve Ruiz
abcdcd8dae
improves multiplayer presence (#160) 2021-10-16 21:24:31 +01:00
Steve Ruiz
32b2ae88ee
[feature] grid cloning (#152)
* Adds more clone buttons

* Adds grid session, fix bug on text, adds keyboard handlers for sessions

* Adds copy paint, point argument to duplicate

* Adds tests for duplicate at point

* Adds status for shape cloning

* Adds 32px padding when clone brushing
2021-10-15 17:14:36 +01:00
Steve Ruiz
0d8d45d873 v0.0.117 2021-10-15 14:13:17 +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
826ed9a185
Fixes cleanup for new shapes on undo (#150)
* Fixes cleanup for new shapes on undo

* Fix streamline
2021-10-15 10:33:48 +01:00
Steve Ruiz
f3f4ace645 v0.0.116 2021-10-14 17:32:35 +01:00
Steve Ruiz
f8516a2c4a Fix pinching on tools other than select 2021-10-14 17:25:10 +01:00
Steve Ruiz
4476cc6190 v0.0.115 2021-10-14 16:43:47 +01:00
Steve Ruiz
46c9ac508d
[feature] Side cloning (#149)
* Adds side clone behavior

* Adds tab to clone, fixes wheel

* Fix bug in draw shape

* Passing tests
2021-10-14 16:37:52 +01:00
Steve Ruiz
d95a2e83a0 Fix handles when drawing 2021-10-14 14:14:47 +01:00
Steve Ruiz
1c65c51b60 Fix zoom and paste for embedded shapes 2021-10-14 13:51:21 +01:00
Steve Ruiz
f8cb7f03b6 Adds space panning, tweak css for performance 2021-10-14 13:33:39 +01:00
Steve Ruiz
e1c307fd71
[feature] sticky notes (#148)
* Refactor toolbar

* Adds containerRef prop

* Fix arrows for groups

* Adds auto focus

* Notes on blurring

* Upgrades to match main

* Loose ends around sticky notes

* Fixes user select

* Passing tests

* Update sticky.tsx
2021-10-13 17:03:33 +01:00
Steve Ruiz
1408ac2cbe
Refactor tools (#147)
* Refactor Tools

* Update text.tsx

* Passing tests

* Error fixes

* Fix re-selecting tool

* Fix arrow
2021-10-13 14:55:31 +01:00
Steve Ruiz
bd6197ea16 Fix types 2021-10-12 23:02:44 +01:00
Steve Ruiz
93827e45dd Adds indicators for selected shapes from other users 2021-10-12 15:59:04 +01:00
Steve Ruiz
7eae5c87e0 v0.0.114 2021-10-10 17:37:15 +01:00
Steve Ruiz
aae43884ca v0.0.113 2021-10-10 14:14:04 +01:00
Steve Ruiz
d15c1493e2 v0.0.112 2021-10-10 13:25:41 +01:00
Steve Ruiz
519c18f300 v0.0.111 2021-10-10 11:59:33 +01:00
Steve Ruiz
c49b2e684a
[improvement] stroke appearance (#142)
* make default style small, adjust font sizes and stroke widths

* Reduce size of handle click area

* Make save command+shift+s (just persists)

* Update stroke width for arrow

* Update stroke width for draw

* Update stroke width for ellipse

* Update stroke width for rectangle

* Tweak dash algorithm

* Updates snapshot
2021-10-10 10:41:45 +01:00
Steve Ruiz
601ff19cc9 v0.0.110 2021-10-09 15:02:48 +01:00
Steve Ruiz
d6b38ed79e
[feature] Live cursors MVP (#137)
* Adds very basic live cursors

* Adds ability to hide pages / menu
2021-10-09 14:57:44 +01:00
Steve Ruiz
51dbede313 v0.0.109 2021-10-08 12:36:45 +01:00
Steve Ruiz
b9d7e82a7e v0.0.108 2021-10-07 16:07:44 +01:00
Steve Ruiz
a144360adf
fixes cursors, bounding box when hidden (#133) 2021-10-07 16:06:11 +01:00
Steve Ruiz
798bae28ca Set zoom scale bounds based on camera zoom 2021-10-06 13:03:45 +01:00
Steve Ruiz
5c9e148ad8 Rough fix for zoom events 2021-10-06 12:55:09 +01:00
Steve Ruiz
3fc86a46ee v0.0.107 2021-10-06 09:55:06 +01:00
Steve Ruiz
6733e27dbc bumps use gesture 2021-10-05 20:28:52 +01:00
Steve Ruiz
cb55ad96ff v0.0.106 2021-09-28 11:16:02 +01:00
Steve Ruiz
22a9668b5c
[feature] Add isStateful flag for shape definitions (#130)
* Add `isStateful` flag for shape definitions

* Update useShapeTree.tsx
2021-09-28 11:12:36 +01:00
Steve Ruiz
51eef7d2d0 v0.0.105 2021-09-24 15:13:03 +01:00
Steve Ruiz
151b3083f7 v0.0.104 2021-09-24 15:12:25 +01:00
Steve Ruiz
ea66362135
[fix] copy bindings (#124)
* v0.0.103

* Copies bindings together with shapes that are bound

* Remove old shape bindings from copied shape handles
2021-09-24 13:47:11 +01:00
Steve Ruiz
639f2412d1 Fix outline on non-draw-style rectangles 2021-09-24 12:02:49 +01:00