Commit Graph
28 Commits
Author SHA1 Message Date
Pete HuntandGitHub 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
8ab9ffbe28 One-click installable libraries (#2179)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-10-01 19:12:43 +02:00
Pete HuntandGitHub 68bdfaefbe Fix pinch-to-zoom performance (#2171) 2020-09-21 21:16:34 +02:00
Pete HuntandGitHub e3f3427b31 Fix middle mouse panning on windows (#2172) 2020-09-21 10:15:40 +02:00
6428b59ccb Library MVP (#1787)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-07-10 11:20:23 +02:00
f7c4efbd35 Excalicharts MVP (#1723)
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-06-06 22:09:04 +02:00
Pete HuntandGitHub 56f8bc092d Tests for groups, more test utils (#1669) 2020-05-28 10:56:18 +02:00
Pete HuntandGitHub 46b574283f Fix zindex in groups (#1660) 2020-05-26 22:56:22 +02:00
61e5b66dac Group/ungroup (#1648)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-05-26 13:07:46 -07:00
6512ede9ca Optimize undo history (#1632)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-05-23 12:07:11 -07:00
Pete HuntandGitHub 4696c9ee0e Syncing optimizations (#1554)
* Syncing optimizations

* Add comment
2020-05-07 14:13:18 -07:00
df0613d8ac Add NonDeleted<ExcalidrawElement> (#1068)
* add NonDeleted

* make test:all script run tests without prompt

* rename helper

* replace with helper

* make element contructors return nonDeleted elements

* cache filtered elements where appliacable for better perf

* rename manager element getter

* remove unnecessary assertion

* fix test

* make element types in resizeElement into nonDeleted

Co-authored-by: dwelle <luzar.david@gmail.com>
2020-04-08 18:49:52 +02:00
Pete HuntandGitHub bd7856adf3 Much more thorough tests! (#1053) 2020-03-23 16:38:41 -07:00
Pete HuntandGitHub 7d57d124bd Fix alt drag (#995) 2020-03-17 15:21:35 -07:00
Pete HuntandGitHub b603337c3f Fix multielements (#987) 2020-03-17 11:01:11 -07:00
Pete HuntandGitHub e9f5175f51 Fix performance bug (#984) 2020-03-16 19:07:47 -07:00
dcb93f75e6 [RFC] Randomized names next to mouse pointers. (#971)
* [WIP] Add names next to pointers

This implements the rendering and messaging across. Still need to do the UI to set the name.

Also, not really sure what's the best place to send the name and store it.

* Add randomized names

Co-authored-by: Christopher Chedeau <vjeux@fb.com>
2020-03-15 18:56:38 -07:00
Pete HuntandGitHub 35ce1729cc remove most setState({}) (#959) 2020-03-15 10:06:41 -07:00
Pete HuntandGitHub e1e2249f57 Abstract away or eliminate most of the mutation of the Elements array (#955) 2020-03-14 21:48:51 -07:00
Pete HuntandGitHub 3f8144ef85 Fix many syncing issues (#952) 2020-03-14 20:46:57 -07:00
Pete HuntandGitHub f393486eed Merge pull request #928 from excalidraw/fix_multiplayer_concurrency
Fix multiplayer concurrency
2020-03-12 21:32:33 -07:00
Pete HuntandGitHub 83a2f5de28 remove closures from mutateElement, get rid of the element spreading (#902) 2020-03-10 20:11:02 -07:00
Pete HuntandGitHub 05ebf3434b Fix a bug introduced by #880 (#881) 2020-03-08 23:35:30 -07:00
Pete HuntandGitHub 86f9f32a59 Fix perf regression (#880) 2020-03-08 23:08:26 -07:00
Pete HuntandGitHub 8d8f9f23bd Make gesture.pointers a Map instead of an array of pointers (#877) 2020-03-08 19:25:16 -07:00
Pete HuntandGitHub 92ba401da8 Pull onPointerDown, onDoubleClick, onPointerMove into instance methods (#876)
* Pull onPointerDown, onDoubleClick, onPointerMove into instance methods

* Use bound instance methods
2020-03-08 18:09:45 -07:00
Pete HuntandGitHub c89584832d Reset selectedElementIds when deleting selected elements (#875) 2020-03-08 14:10:42 -07:00
Pete HuntandGitHub ccbbdb75a6 Refactor ExcalidrawElement (#874)
* Get rid of isSelected, canvas, canvasZoom, canvasOffsetX and canvasOffsetY on ExcalidrawElement.

* Fix most unit tests. Fix cmd a. Fix alt drag

* Focus on paste

* shift select should include previously selected items

* Fix last test

* Move this.shape out of ExcalidrawElement and into a WeakMap
2020-03-08 10:20:55 -07:00