David Luzar and GitHub
bf143ed0b8
ignore CapsLock when handling keyDown event ( #2373 )
...
* ignore CapsLock when handling keyDown event
* fix `this`
2020-11-10 19:42:13 +02:00
David Luzar and GitHub
68aafe31f9
fix portal teardown ( #2370 )
2020-11-09 15:34:26 +01:00
David Luzar and GitHub
b06cf86811
revert socketIO to 2.3.1 ( #2363 )
2020-11-08 23:21:34 +01:00
David Luzar and GitHub
5b829772d9
Fix library import ( #2360 )
2020-11-08 17:08:22 +01:00
David Luzar and GitHub
f90cbeb089
add .env.local to .gitignore ( #2357 )
2020-11-08 14:27:19 +01:00
David Luzar and GitHub
56938cf874
fix modal island ref init ( #2341 )
...
* fix modal island ref init
* remove unnecessary sIP
* naming
2020-11-05 22:05:58 +02:00
David Luzar and GitHub
455badb23e
fix export preview flicker ( #2335 )
2020-11-04 18:50:53 +01:00
David Luzar and GitHub
411bc2aa0a
SW fix ( #2320 )
2020-10-31 11:31:02 +01:00
David Luzar and GitHub
ba3f548b91
Fix library dnd ( #2314 )
2020-10-30 21:01:41 +01:00
David Luzar and GitHub
56215c6c2b
remove eslint two disabled rules & fix ( #2309 )
2020-10-28 20:53:27 +01:00
David Luzar and GitHub
f404ab6f50
clear deleted elements on room create ( #2270 )
2020-10-26 15:53:55 +01:00
David Luzar and GitHub
915bda9fd8
restore elements on load from firebase ( #2269 )
2020-10-26 15:45:51 +01:00
David Luzar and GitHub
900e0f27ad
expose resetHistory & factor out from updateScene ( #2277 )
2020-10-25 15:48:16 +01:00
David Luzar and GitHub
72a3450c99
allow to supply canvas offsets from upstream ( #2271 )
2020-10-23 19:06:16 +02:00
David Luzar and GitHub
1484c5a63b
fileHandle refactor & fixes ( #2252 )
2020-10-19 10:53:37 +02:00
David Luzar and GitHub
538f2be097
add export error handling ( #2243 )
2020-10-16 11:53:40 +02:00
David Luzar and GitHub
25d460be96
don't touch DOM outside useEffect ( #2215 )
2020-10-15 21:39:24 +02:00
David Luzar and GitHub
b3263c2a69
fix encoding of embed data & compress ( #2240 )
2020-10-15 21:31:21 +02:00
David Luzar and GitHub
f40a2230ec
Fix embedding scene to PNG on Safari ( #2235 )
2020-10-13 16:55:08 +02:00
5950fa9a40
support embedding scene data to PNG/SVG ( #2219 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-10-13 14:47:07 +02:00
7618ca48d7
retain local appState props on restore ( #2224 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-10-13 13:46:52 +02:00
David Luzar and GitHub
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 and GitHub
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
David Luzar and GitHub
adb1ac5788
fix restoring appState ( #2182 )
2020-09-22 21:51:49 +02:00
David Luzar and GitHub
d07099aadd
fix zindex to account for group boundaries ( #2065 )
2020-09-11 17:06:07 +02:00
David Luzar and GitHub
aaddde5dd9
Fix history initialization ( #2115 )
2020-09-09 21:08:06 +02:00
David Luzar and GitHub
47dba05c91
System clipboard ( #2117 )
2020-09-04 14:58:32 +02:00
David Luzar and GitHub
26ef235019
rebind arrow on rotation ( #2096 )
2020-08-29 14:16:40 +02:00
David Luzar and GitHub
0e28177ccc
fix collab MOUSE_LOCATION payload naming for legacy versions ( #2098 )
2020-08-29 14:12:58 +02:00
David Luzar and GitHub
8b9e2a540d
factor out test helpers ( #2093 )
2020-08-28 10:15:29 +02:00
David Luzar and GitHub
4c2d34ffd7
select single element on cmd-click ( #2087 )
2020-08-27 20:59:46 +02:00
David Luzar and GitHub
b8f8bc2e32
fix group selection ( #2092 )
2020-08-27 20:32:10 +02:00
David Luzar and GitHub
546e13571d
reintroduce index CSS as interim solution to SW caching issues ( #2085 )
2020-08-26 23:26:06 +02:00
ab7073abdb
add excalidraw_embed into base repo ( #2040 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-08-20 16:45:20 +02:00
David Luzar and GitHub
930813387b
make loading message account for dark mode & add i18n ( #2033 )
...
* make loading message account for dark mode & add i18n
* use app color scheme
2020-08-14 13:27:41 +02:00
David Luzar and GitHub
3f2b0fdd0a
don't reset dark mode on canvas clear ( #2032 )
2020-08-13 17:22:39 +02:00
David Luzar and GitHub
964746e569
fix transform handles regression ( #2018 )
2020-08-10 15:00:21 +02:00
David Luzar and GitHub
950bcd0b72
Refactor resize handle naming ( #2013 )
2020-08-10 14:16:39 +02:00
David Luzar and GitHub
c06988a202
do not prevent UI scrolling on mobile ( #2007 )
2020-08-06 18:56:51 +02:00
David Luzar and GitHub
fea257765d
regenerate seed on change of sloppiness ( #1986 )
2020-07-30 20:14:38 +02:00
David Luzar and GitHub
c171fb4c7f
simplify by replacing draggingElementPointIndex with isDragging ( #1982 )
...
* simplify by replacing draggingElementPointIndex with isDragging
* add tsdoc
2020-07-30 12:58:06 +02:00
David Luzar and GitHub
ab980b252c
make restore migration types required ( #1977 )
2020-07-28 23:40:06 +02:00
David Luzar and GitHub
f295550940
ensure editingLinearElement handles are rendered on top ( #1967 )
2020-07-26 20:52:25 +02:00
David Luzar and GitHub
dc1f6c4d4c
change selection/line/draw shortcut defaults ( #1953 )
2020-07-24 15:47:46 +02:00
David Luzar and GitHub
c5d37a07c8
fix resize hints not showing due to LayerUI bailing on updates ( #1952 )
2020-07-24 13:29:36 +02:00
David Luzar and GitHub
b07aa6e205
delay scene init until document active ( #1920 )
...
* delay scene init until document active
* use opts.once for the listener
2020-07-20 12:53:53 +02:00
David Luzar and GitHub
c1488fa353
try/catch localStorage access ( #1932 )
2020-07-17 18:39:23 +02:00
David Luzar and GitHub
494b7d08c5
mute FS abort errors ( #1929 )
2020-07-17 11:34:21 +02:00
David Luzar and GitHub
4cfc8bd4b3
fix accessing nonexisting config property during appState clearing ( #1928 )
2020-07-16 21:20:55 +02:00
David Luzar and GitHub
0ee2c15929
make clearing state for storage more type-safe ( #1884 )
2020-07-11 13:09:40 +02:00
David Luzar and GitHub
7ab0c1aba8
reload scene on hashchange ( #1893 )
...
* reload scene on hashchange
* tweak isLoading
2020-07-09 22:16:28 -07:00
David Luzar and GitHub
6e357c0291
fix deleting multi-point elem during edit ( #1892 )
2020-07-09 22:33:27 +02:00
David Luzar and GitHub
d5e7d08586
prompt when loading external scene before overriding local one ( #1862 )
2020-07-08 22:55:26 +02:00
David Luzar and GitHub
df5eb3f0d9
change copy/paste styles shortcuts ( #1881 )
...
* change copy/paste styles shortcuts
* use keyCode
2020-07-07 20:22:23 +02:00
David Luzar and GitHub
b1261eea70
duplicate point on cmd+d ( #1831 )
2020-07-07 13:53:44 +02:00
David Luzar and GitHub
d9e84b90ce
strip fragment ( #1859 )
2020-07-02 12:02:16 +02:00
David Luzar and GitHub
cd87bd6901
do not center text when not applicable ( #1783 )
2020-06-25 21:21:27 +02:00
David Luzar and GitHub
dadf054ea2
fix not always generating shape on render ( #1741 )
2020-06-09 17:36:25 +02:00
David Luzar and GitHub
d1be2a5481
fix text constructor groupIds & improve type safety ( #1715 )
2020-06-06 13:32:43 +02:00
David Luzar and GitHub
ff93d95998
Revert "Fix RTL text direction rendering ( #1687 )" ( #1705 )
...
This reverts commit a118bed82f .
2020-06-03 12:12:43 +02:00
14a66956d7
Implement line editing ( #1616 )
...
* implement line editing
* line editing with rotation
* ensure adding new points is disabled on point dragging
* fix hotkey replacement
* don't paint bounding box when creating new multipoint
* tweak points style, account for zoom and z-index
* don't persist editingLinearElement to localStorage
* don't mutate on noop points updates
* account for rotation when adding new point
* ensure clicking on points doesn't deselect element
* tweak history handling around editingline element
* update snapshots
* refactor pointerMove handling
* factor out point dragging
* factor out pointerDown
* improve positioning with rotation
* revert to use roughjs for calculating points bounds
* migrate from storing editingLinearElement.element to id
* make GlobalScene.getElement into O(1)
* use Alt for adding new points
* fix adding and deleting a point with rotation
* disable resize handlers & bounding box on line edit
Co-authored-by: daishi <daishi@axlight.com >
2020-06-01 11:35:44 +02:00
David Luzar and GitHub
f413bab3de
Fix group element removing ( #1676 )
2020-05-30 13:48:57 -07:00
David Luzar and GitHub
0db7ac78c4
fix fontFamily state updating ( #1679 )
2020-05-29 21:59:39 +02:00
David Luzar and GitHub
44a88d2d58
Rewrite restore to guard against missing migrations ( #1664 )
2020-05-28 02:41:34 -07:00
David Luzar and GitHub
4f3bf79708
skip element mutation on noop updates ( #1667 )
2020-05-28 00:50:56 -07:00
David Luzar and GitHub
5327e8a3dc
fix language change not rerendering ui ( #1638 )
2020-05-27 16:46:11 +02:00
David Luzar and GitHub
63c10743fb
split font into fontSize and fontFamily ( #1635 )
2020-05-27 15:14:50 +02:00
35049e3de7
History tweaks ( #1641 )
...
Co-authored-by: Pete Hunt <phunt@twitter.com >
2020-05-24 15:17:14 -07:00
David Luzar and GitHub
d2ae18995c
add history.shouldCreateEntry resolver ( #1622 )
2020-05-22 22:26:59 -07:00
David Luzar and GitHub
ce6f2ff88c
cache nonDeleted elements ( #1626 )
2020-05-22 10:15:16 -07:00
David Luzar and GitHub
876170ee27
fix snapshots ( #1598 )
2020-05-14 17:21:37 +02:00
David Luzar and GitHub
39c56a4c01
implement stroke style ( #1571 )
2020-05-14 17:04:33 +02:00
David Luzar and GitHub
828c9c4d65
use commitToHistory prop for handling draw history ( #1595 )
2020-05-14 14:51:33 +02:00
David Luzar and GitHub
a90ca5eb84
don't use unicode characters for shortcut help ( #1565 )
...
* don't use unicode characters for shortcut help
* use option instead of alt
* make shortcut replacement case-insensitive
* improve shortcut dialog layout
2020-05-11 01:29:35 +03:00
David Luzar and GitHub
8c8458ceb0
fix incorrect font rendered on late load ( #1555 )
2020-05-08 10:42:51 +02:00
David Luzar and GitHub
4aa1784ba3
fix horizontal scroll via shift+wheel on mac ( #1528 )
2020-05-02 13:15:28 -07:00
David Luzar and GitHub
b7a37c157b
scroll horizontally on shift-scroll ( #1519 )
2020-04-30 13:34:38 -07:00
David Luzar and GitHub
51f8146357
disable pointer events on hidden menus in zen mode ( #1511 )
2020-04-29 22:49:36 +02:00
David Luzar and GitHub
2c5c770e78
rewrite picker color handling ( #1487 )
2020-04-25 23:06:16 +02:00
David Luzar and GitHub
a4b49ea350
ignore fileOpen error when user cancels ( #1486 )
2020-04-25 09:02:31 -07:00
David Luzar and GitHub
83199164ae
don't prevent select-element devTools action ( #1446 )
2020-04-17 01:18:45 +03:00
David Luzar and GitHub
8cfc64a3ab
fix bg color picker rendered behind shape menu ( #1445 )
...
* fix bg color picker rendered behind shape menu
* add comment
2020-04-16 21:31:20 +02:00
David Luzar and GitHub
75e0163dd1
tweak blurry bg for legibility & remove from modals ( #1436 )
2020-04-15 21:20:35 +02:00
David Luzar and GitHub
d998a190df
persist pointerDown event ( #1426 )
2020-04-14 12:33:57 +02:00
David Luzar and GitHub
692ceece65
fix not using className when querying container ( #1420 )
2020-04-13 17:29:11 +02:00
David Luzar and GitHub
0b971ea570
Remove CSP ( #1418 )
...
* remove csp
* remove csp from now.json
2020-04-13 16:28:05 +02:00
David Luzar and GitHub
6771b505ad
rewrite wysiwyg property updating ( #1387 )
...
* rewrite wysiwyg property updating
* reuse existing class
* fix case of focus being stolen by other UIs
* revert mistake csp removal
* ensure we don't run cleanup twice
* fix opacity updating
* add shape actions menu class to constants
2020-04-12 15:57:57 +02:00
David Luzar and GitHub
d79c859cd9
CSP: fix codesandbox ( #1401 )
...
* add csb to csp whitelist
* add csb.app
* allow child-src csp
* add cdnjs.cloudflare
* allow unsafe-eval
2020-04-12 14:58:03 +02:00
David Luzar and GitHub
3fd6f3023f
support newline on shift+enter ( #1324 )
2020-04-08 20:56:27 +02:00
David Luzar and GitHub
88cec2df5e
log console.error to sentry ( #1243 )
...
* log console.error to sentry
* fix
2020-04-07 15:54:49 +02:00
David Luzar and GitHub
b7230b05d7
add task to update snapshots & update readme ( #1302 )
...
* add task to update snapshots & update readme
* remove test:app from readme & tweak
2020-04-07 15:09:01 +02:00
David Luzar and GitHub
729aeacc47
prevent pasting svg copied from excalidraw ( #1288 )
...
* prevent pasting svg copied from excalidraw
* remove unnecessary template
2020-04-06 23:02:17 +02:00
David Luzar and GitHub
e9b4700bba
edit text when clicked on with text tool ( #1283 )
2020-04-06 22:26:54 +02:00
David Luzar and GitHub
d3ed5a42fc
fix font being reset to current state font on edit ( #1282 )
2020-04-06 22:26:00 +02:00
David Luzar and GitHub
81b38d8808
fix wysiwyg event cleanup ( #1248 )
2020-04-05 22:31:59 +02:00
David Luzar and GitHub
4dd947b261
fix scrollToCenter when no elements supplied ( #1222 )
...
* fix scrollToCenter when no elements supplied
* make getCommonBounds return default values on empty elements
2020-04-04 18:45:14 +02:00
David Luzar and GitHub
23540eba4c
sync remote selection ( #1207 )
...
* sync remote selection
* skip deleted elements
* remove unnecessary condition & change naming
2020-04-04 16:02:16 +02:00
David Luzar and GitHub
3afb4515b6
scroll to content on collab scene init ( #1201 )
2020-04-03 22:22:26 +03:00
David Luzar and GitHub
036978b837
fix font not rendered on init in FF ( #1197 )
2020-04-03 22:21:40 +03:00
8dccc793ee
add editorconfig ( #1198 )
...
* add editorconfig
* Update .editorconfig
Co-Authored-By: Lipis <lipiridis@gmail.com >
* remove duplicate section
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-04-03 19:19:01 +02:00