Commit graph

927 commits

Author SHA1 Message Date
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
5a99f5e49c Update status in tests 2021-10-14 13:33:06 +01:00
Steve Ruiz
70cd3262f5 Update status in data 2021-10-14 13:32:48 +01:00
Steve Ruiz
2319a42ecc Move set status to base tool 2021-10-14 13:32:32 +01:00
Steve Ruiz
a633dbcdbc Fix draw tool 2021-10-13 19:58:12 +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
be271f3ca2 Update tlstate.ts 2021-10-13 06:53:58 +01:00
Steve Ruiz
bd6197ea16 Fix types 2021-10-12 23:02:44 +01:00
Steve Ruiz
59fa1e375e Update multiplayer.tsx 2021-10-12 23:00:43 +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
dca4cfca14 Update changelog 2021-10-10 17:36:42 +01:00
Steve Ruiz
2722d81dbd
Add shape fills for ellipse, rectangle (#145) 2021-10-10 16:05:13 +01:00
Steve Ruiz
aae43884ca v0.0.113 2021-10-10 14:14:04 +01:00
Steve Ruiz
d2b599ac6a Update CHANGELOG.md 2021-10-10 14:13:32 +01:00
Steve Ruiz
74a8a40af8
[fix] Ungrouping (#144)
* Adds auto ungroup if grouping only a grouped shape

* Adds test for multiple shape ungrouping
2021-10-10 14:08:41 +01:00
Steve Ruiz
d15c1493e2 v0.0.112 2021-10-10 13:25:41 +01:00
Steve Ruiz
a4f9a34d4f Update CHANGELOG.md 2021-10-10 13:13:39 +01:00
Steve Ruiz
9b2de95ec9
Fix move to page (#143)
* Remove references to window

* Improve drawn strokes for other dash styles
2021-10-10 13:11:37 +01:00
Steve Ruiz
519c18f300 v0.0.111 2021-10-10 11:59:33 +01:00
Steve Ruiz
e695cbb07f Fix dashes on arrows 2021-10-10 11:55:52 +01:00
Steve Ruiz
a9db0dbe23 tweaks to dashes 2021-10-10 10:52:28 +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
24a8874620 Update CHANGELOG.md 2021-10-09 15:00:14 +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
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
51dbede313 v0.0.109 2021-10-08 12:36:45 +01:00
Steve Ruiz
e3119f52cf Update CHANGELOG.md 2021-10-08 12:35:16 +01:00
Steve Ruiz
d2fb13e18c bumps perfect-freehand, fixes dot issue 2021-10-08 12:34:11 +01:00
Steve Ruiz
b44b59c21f Update no-size-embedded.tsx 2021-10-07 16:20:04 +01:00
Steve Ruiz
b9d7e82a7e v0.0.108 2021-10-07 16:07:44 +01:00
Steve Ruiz
bf65cc96c8 Create CHANGELOG.md 2021-10-07 16:07:23 +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
804bf5db60 Fixes position on page dialog. 2021-10-06 12:39:13 +01:00
Steve Ruiz
3fc86a46ee v0.0.107 2021-10-06 09:55:06 +01:00
Steve Ruiz
9a0582b9f3 Rebuilds service workers 2021-10-06 09:54:26 +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
7e74522256 Update draw.tsx 2021-09-25 21:54:53 +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
7067290eae
Fix undo/redo on deleted handles (#126) 2021-09-24 14:27:22 +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
84a283828d Minor fixes 2021-09-24 12:52:17 +01:00