Commit graph

166 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
eca210da6a Bumps state-designer 2021-07-12 12:17:47 +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
6fb1822467 Adds menu panel 2021-07-10 17:14:49 +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
54ea0e3a2d Adds testMode, tests for RectangleShape 2021-07-09 09:59:43 +01:00
Steve Ruiz
7ddd2f8c66 Fixes bugs on arrow 2021-07-08 12:01:33 +01:00
Steve Ruiz
5c87bfd4c5 Removes arrow command / session, replaces with handle sessions 2021-07-08 11:05:25 +01:00
Steve Ruiz
3ae7eadfea Makes home a room 2021-07-07 14:02:48 +01:00
Steve Ruiz
ad0ce1ba3a Fixes save and load states, fix group bg 2021-07-07 13:46:46 +01:00
Steve Ruiz
ee48a7afb8 Minor update to state 2021-07-07 10:51:19 +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
ba8ddee3a0 Improves draw shape docs 2021-07-03 16:06:27 +01:00
Steve Ruiz
8a747fe82f Adds support for solid / dotted / dashed draw lines 2021-07-03 14:28:43 +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
7247b864db Update state.ts 2021-07-02 08:52:42 +01:00
Steve Ruiz
39b943248f Updates style panel 2021-07-01 23:11:09 +01:00
Steve Ruiz
04efb6f880 Starts on readme. 2021-07-01 17:46:01 +01:00
Steve Ruiz
8ee78d1b90 Fix bug on missing others, adds new tests 2021-07-01 15:03:02 +01:00
Steve Ruiz
50d4517d0d remove pusher 2021-06-30 23:55:00 +01:00
Steve Ruiz
b426c40bd8 Improve text bug 2021-06-30 23:44:25 +01:00
Steve Ruiz
7da573ffdb Adds provisional keyboard panning 2021-06-30 21:56:42 +01:00
Steve Ruiz
e5408219de Update state.ts 2021-06-30 21:34:30 +01:00
Steve Ruiz
778daeb8ff Allow for room loading 2021-06-30 21:33:30 +01:00
Steve Ruiz
5443b10c1d Clear page / clear document state shortcut 2021-06-30 14:03:36 +01:00
Steve Ruiz
5d66c153be Fix missing shape (accept it) 2021-06-29 19:29:33 +01:00
Steve Ruiz
d828ac072f Fix pinching resetting tool 2021-06-29 19:08:25 +01:00
Steve Ruiz
364dbe0fd9 Removes expensive immer current calls 2021-06-29 15:54:46 +01:00
Steve Ruiz
2ac8a15761 Renaming folders 2021-06-29 13:12:30 +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
8ff8b87a9e perf improvements around selected / hovered shapes 2021-06-28 13:13:34 +01:00
Steve Ruiz
3f4f5e73ae Adds initial docs for code editor 2021-06-27 14:53:06 +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
ff58073d12 Adds more tests, simplifies draw tool 2021-06-26 12:52:36 +01:00
Steve Ruiz
3c26ffaae3 Adds readOnly test for code 2021-06-25 12:05:29 +01:00
Steve Ruiz
0ee26a8493 Make updating code controls async 2021-06-25 12:01:22 +01:00
Steve Ruiz
85dc3028b4 Stubs tests. Updates types for controls. 2021-06-25 11:28:52 +01:00
Steve Ruiz
cbc26f2e06 Updates getPointsBetween 2021-06-24 13:56:25 +01:00
Steve Ruiz
bdafae3db6 Fix double undos, cleans up utils 2021-06-24 13:34:43 +01:00