Commit graph

79 commits

Author SHA1 Message Date
Steve Ruiz
70c8c84790 Adds shape tests (some stubs), fixes bugs 2021-07-13 20:34:43 +01:00
Steve Ruiz
6b3bd2ac04 Nukes navigation events and gestures 2021-07-12 12:27:30 +01:00
Steve Ruiz
74ff10bfd5 Various fixes
- Changes the brush color in dark mode
- Fixes the paste button
- Fixes a bug with pasting on mobile
- Adds a Sign Out button to the menu
- Hides the status bar in production
- Adds debug mode to preferences
- Refactors style panel
- Hides keyboard shortcuts when not on mobile
2021-07-11 13:51:01 +01:00
Steve Ruiz
293edd7683 Adds shapesToRender to state, uses fast pan 2021-07-11 08:03:20 +01:00
Steve Ruiz
1965c97f68 Adds dark mode 2021-07-10 21:39:29 +01:00
Steve Ruiz
4efa1092f1 Refactors tool panel 2021-07-10 13:01:59 +01:00
Steve Ruiz
bdcdb09162 Fixes "done" key on iOS 2021-07-09 21:39:29 +01:00
Steve Ruiz
b2360550d9 Refactors shapes 2021-07-09 17:15:27 +01:00
Steve Ruiz
ad0ce1ba3a Fixes save and load states, fix group bg 2021-07-07 13:46:46 +01:00
Steve Ruiz
be359e6406 Potentially fixes bug when roomId changes 2021-07-07 10:50:12 +01:00
Steve Ruiz
8180146eb3 Adds provisional logger 2021-07-04 19:45:07 +01:00
Steve Ruiz
17940d82d6 Improves draw shape, trims unused code, fixes paste on mobile 2021-07-04 09:24:45 +01:00
Steve Ruiz
fb17d4ee02 Simplifies styles 2021-07-03 17:30:06 +01:00
Steve Ruiz
a454586237 Adds copy / paste / save / load buttons to menu 2021-07-03 15:09:49 +01:00
Steve Ruiz
496606c10f Adding tab support for text area 2021-07-02 13:04:45 +01:00
Steve Ruiz
c4d9116426 Fix text rendering, text layout due to mismatched vertical alignments. 2021-07-02 11:48:49 +01:00
Steve Ruiz
8ee78d1b90 Fix bug on missing others, adds new tests 2021-07-01 15:03:02 +01:00
Steve Ruiz
7da573ffdb Adds provisional keyboard panning 2021-06-30 21:56:42 +01:00
Steve Ruiz
778daeb8ff Allow for room loading 2021-06-30 21:33:30 +01:00
Steve Ruiz
21c15e5fae Merge branch 'main' of https://github.com/steveruizok/tldraw into main 2021-06-30 21:32:20 +01:00
Steve Ruiz
49baa47a0e Updates cursor logic 2021-06-30 21:31:29 +01:00
Steve Ruiz
5443b10c1d Clear page / clear document state shortcut 2021-06-30 14:03:36 +01:00
Steve Ruiz
45223e2a8d Big restructure of utils 2021-06-29 13:00:59 +01:00
Steve Ruiz
36fc386269 Stubs initial API for coop with Pusher 2021-06-28 21:45:06 +01:00
Steve Ruiz
8ff8b87a9e perf improvements around selected / hovered shapes 2021-06-28 13:13:34 +01:00
Steve Ruiz
d28376845f Removes fast pan update (which seemed to be slower?) 2021-06-27 13:47:35 +01:00
Steve Ruiz
14902099f9 Improves window resizing, adds shouldRender to shapes 2021-06-27 13:28:54 +01:00
Steve Ruiz
ec7ec06a6d Fix missing shapes when resizing window 2021-06-27 13:12:28 +01:00
Steve Ruiz
d1a3860bb1 Fixes a perf-killing deepCompare in context menu
Was deep comparing an array of actual selected shapes, rather than selected shape ids
2021-06-27 10:07:20 +01:00
Steve Ruiz
ff58073d12 Adds more tests, simplifies draw tool 2021-06-26 12:52:36 +01:00
Steve Ruiz
82bd129e3a Fixes utils imports 2021-06-24 09:18:14 +01:00
Steve Ruiz
d5fe5612e1 Fixes events with shapes, adds test for selection 2021-06-23 15:39:14 +01:00
Steve Ruiz
a24b7f7931 Adds tests, fixes bug on pre-complete sessions 2021-06-23 13:46:16 +01:00
Steve Ruiz
7d14791d00 Adds double-pointing handles action, toggled arrowheads, removes circles. 2021-06-22 22:06:51 +01:00
Steve Ruiz
864ded959a big cleanup 2021-06-21 22:35:28 +01:00
Steve Ruiz
fc2e3b3c4c Adds copy to svg 2021-06-20 23:01:40 +01:00
Steve Ruiz
9c0b691674 Restores dot tool (keyboard shortcut only) and improves fill shape 2021-06-20 11:22:42 +01:00
Steve Ruiz
62755db390 Adds sentry, gtag 2021-06-19 10:00:44 +01:00
Steve Ruiz
b0a260d6a6 Improves behavior with locked shapes 2021-06-18 16:31:46 +01:00
Steve Ruiz
6ff7b0c50d Improves mobile touch events 2021-06-18 16:19:10 +01:00
Steve Ruiz
1b9e8857e0 Fix blocking text element 2021-06-18 15:39:07 +01:00
Steve Ruiz
5f71f5c38b Fixes text on mobile (iOS) 2021-06-18 14:55:36 +01:00
Steve Ruiz
aabc7e8e0f Adds text 2021-06-17 11:43:55 +01:00
Steve Ruiz
4ce2b8cc6b Improves file saving / page saving and loading 2021-06-16 13:09:45 +01:00
Steve Ruiz
027815f199 Adds most of text feature, except creation 2021-06-15 12:58:51 +01:00
Steve Ruiz
94fcca1685 Improves translating, breaks save/load again 2021-06-13 15:12:59 +01:00
Steve Ruiz
9123fd62fc Improving draw 2021-06-13 14:24:03 +01:00
Steve Ruiz
61f56b984e Fixes deleting pages, adds local file saving / loading 2021-06-11 11:11:42 +01:00
Steve Ruiz
f2d3231315 Adds context menu, "move to page" 2021-06-10 10:49:16 +01:00
Steve Ruiz
c48537121f Fixes brushing, selection, double-clicking 2021-06-09 17:10:00 +01:00