520 Commits

Author SHA1 Message Date
David Luzar
72a3450c99
allow to supply canvas offsets from upstream (#2271) 2020-10-23 19:06:16 +02:00
Aakansha Doshi
499a60309f
factor reconcilation out of updateScene & remove replaceAll (#2266)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-10-22 23:47:34 +02:00
Aakansha Doshi
6db5647048
move broadcastScene and broadcastMouseLocation to portal (#2262) 2020-10-21 15:41:20 +02:00
Danila
b50c54f855
Add and use clsx (classnames alternative) (#2249)
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-10-19 16:14:28 +02:00
David Luzar
1484c5a63b
fileHandle refactor & fixes (#2252) 2020-10-19 10:53:37 +02:00
Aakansha Doshi
4a26845395
enable code splitting and add chunk names to dynamic import and create separate chunk vendor for all node modules (#2245)
* build: increase Limit chunk to enable code splitting add chunk names to dynamic import

* Remove limitchunkcount and have separate chunk for each node module so we dnt have any unnamed id.js chunks

* fix

* create one chunk for all node modules

* Add caret to peer deps

* extra space
2020-10-18 19:36:25 +02:00
David Luzar
538f2be097
add export error handling (#2243) 2020-10-16 11:53:40 +02:00
David Luzar
25d460be96
don't touch DOM outside useEffect (#2215) 2020-10-15 21:39:24 +02:00
David Luzar
f40a2230ec
Fix embedding scene to PNG on Safari (#2235) 2020-10-13 16:55:08 +02:00
David Luzar
5950fa9a40
support embedding scene data to PNG/SVG (#2219)
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-10-13 14:47:07 +02:00
David Luzar
7618ca48d7
retain local appState props on restore (#2224)
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-10-13 13:46:52 +02:00
Aakansha Doshi
63566ecb92
Expose update scene via refs (#2217)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-10-11 18:11:26 +02:00
Andrew Aquino
215128ffdf
add titles with width/height to scale buttons in ExportDialog (#2193) 2020-10-07 15:37:38 +02:00
David Luzar
d18a72c879
save room to firebase on unload or portal close (#2207)
* save on unload or portal close

* align naming
2020-10-05 22:34:40 -04:00
David Luzar
ae1ab1ab37
clear scene when joining a room (#2208)
* clear scene when joining a room

* code shuffle

* remove noop code path
2020-10-05 22:31:34 -04:00
Christopher Chedeau
6ca7420252
Remove warning about rooms not being persisted (#2199) 2020-10-04 13:02:06 -07:00
Pete Hunt
d0985fe67a
Persistent rooms via Firebase (#2188)
* Periodically back up collaborative rooms in firebase

* Responses to code review

* comments from code review, new firebase credentials
2020-10-04 11:12:47 -07:00
Pete Hunt
8ab9ffbe28
One-click installable libraries (#2179)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-10-01 19:12:43 +02:00
Aakansha Doshi
a61b212220
scope css under name space excalidraw (#1983) 2020-09-25 23:18:45 +02:00
David Luzar
adb1ac5788
fix restoring appState (#2182) 2020-09-22 21:51:49 +02:00
Thomas Steiner
b2822f3538
Make File Handling actually work (#2181)
Follow-up from #1736
2020-09-22 15:21:22 +02:00
Pete Hunt
68bdfaefbe
Fix pinch-to-zoom performance (#2171) 2020-09-21 21:16:34 +02:00
Pete Hunt
e3f3427b31
Fix middle mouse panning on windows (#2172) 2020-09-21 10:15:40 +02:00
João Forja
242ccac290
Arrows binds/unbinds to bindable elements when moved with arrow keys (Issue #2103) (#2150) 2020-09-13 19:17:16 +02:00
Robert van Hoesel
c6736fa14e
Lock drag direction using Shift (#1858)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-09-11 17:22:40 +02:00
David Luzar
aaddde5dd9
Fix history initialization (#2115) 2020-09-09 21:08:06 +02:00
Mohamed Saleh
9cac7816cc
Fix textbox element bindings on size changes (#2145)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-09-08 18:03:49 +02:00
David Luzar
47dba05c91
System clipboard (#2117) 2020-09-04 14:58:32 +02:00
Michal Srb
15e4b51bb1
Fix binding disabling when taking screenshots on macOS (#2129)
* Fix binding disabling when taking screenshots on macOS
* Update snapshot for cmd+click test
2020-09-03 16:12:01 +02:00
Danila
b215e165d2
Fix HintViewer positioning (#2124) 2020-08-31 13:13:34 +02:00
Thomas Steiner
730a11e0a5
Assign file handle to dropped files (#2125)
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-08-31 13:11:14 +02:00
João Forja
0ab58b38e0
Fix bug of issue #2062 (#2108)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-08-30 13:10:07 +02:00
Maurice Le Cordier
d15444e232
allowed for sticking to grid when pasting an element (#2107) 2020-08-29 20:01:36 +02:00
Michal Srb
7ebeae2d38
Fix arrow rebinding on rotation (take 2) (#2104)
* Clear up test, fix simple rotation
* Fix eligibility rules
2020-08-29 17:56:03 +02:00
David Luzar
26ef235019
rebind arrow on rotation (#2096) 2020-08-29 14:16:40 +02:00
David Luzar
0e28177ccc
fix collab MOUSE_LOCATION payload naming for legacy versions (#2098) 2020-08-29 14:12:58 +02:00
Anton
1828a93ba7
Fix keypress rebinding (#2102)
Co-authored-by: Anton <anton.matrenin@introduct.tech>
2020-08-29 14:12:28 +02:00
Daishi Kato
84c49ebaa1
Support rotating two-point lines (angle can be non-zero) (#2090)
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-08-28 10:20:06 +02:00
David Luzar
4c2d34ffd7
select single element on cmd-click (#2087) 2020-08-27 20:59:46 +02:00
David Luzar
b8f8bc2e32
fix group selection (#2092) 2020-08-27 20:32:10 +02:00
João Forja
e7d186b439
Fix drag multiple elements bug (#2023)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-08-26 18:37:44 +02:00
Aakansha Doshi
4718c31da5
Pass Additional props remove localstorage related code for storing data and username from App.tsx to index.tsx (#2057)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-08-26 12:45:54 +02:00
Danila
0e0a695e81
Fix multiline hint text cropping (#2079)
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-08-25 17:09:39 +02:00
Lipis
c3de4cd4c5
Reduce the padding of the left 'Islands' (#2050) 2020-08-21 01:24:46 +03:00
Lipis
643e6bd08d
feat: Add hint for double click to insert text (#2056) 2020-08-20 22:55:44 +03:00
David Luzar
ab7073abdb
add excalidraw_embed into base repo (#2040)
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-08-20 16:45:20 +02:00
Thomas Steiner
80cbe13167
Make iOS "safe area" respect dark mode (#2053) 2020-08-20 13:20:13 +02:00
Warren Seine
4644ca1778
🎨 Use consistent naming (#2029) 2020-08-14 20:14:22 +02:00
Warren Seine
14317c2232
🐛 Remove unnecessary class name props (#2027)
It's unused and serialized to `undefined`.
2020-08-14 20:05:29 +02:00
Daishi Kato
41cb1fbeba
feat: sharpness (#1931)
* feat: sharpness

* feat: fill sharp lines, et al.

* fix: rotated positioning

* chore: simplify path with Q

* fix: hit test inside sharp elements

* make sharp / round buttons work properly

* fix tsc tests

* update snapshots

* update snapshots

* fix: sharp arrow creation error

* fix merge and test

* avoid type assertion

* remove duplicate helper

Co-authored-by: dwelle <luzar.david@gmail.com>
2020-08-14 17:59:43 +02:00