325d1bec91
feat: Add onExportToBackend prop so host can handle it ( #2612 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-12-20 15:14:04 +01:00
e617ccc252
Factor out collaboration code ( #2313 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-12-05 15:30:53 +01:00
Lipis and GitHub
66e5b18e4e
Add more events for sharing and refactor I/O, dialogs ( #2443 )
2020-12-03 17:03:02 +02:00
Lipis and GitHub
0ef60dce2d
More export events ( #2441 )
2020-12-03 12:03:29 +02:00
abde1daba4
Add basic event actions to analytics ( #2375 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-12-02 23:57:51 +02:00
David Luzar and GitHub
36980160ae
Revert "Remove unused project name from export dialog ( #2427 )" ( #2436 )
2020-12-01 14:00:13 +01:00
Lipis and GitHub
b21fd49412
chore: Minor refactoring for consistency ( #2425 )
2020-11-29 17:32:51 +01:00
Lipis and GitHub
204c8370a0
Remove unused project name from export dialog ( #2427 )
...
* Remove unused project name from export dialog
* snaps
2020-11-29 15:42:44 +02:00
fc58e51ab3
Show error message when canvas to export is too big ( #1256 ) ( #2210 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-10-28 20:52:53 +01:00
Geraint and GitHub
5c26bd19d7
SVG export: add image size ( #2292 )
2020-10-28 19:10:22 +02:00
David Luzar and GitHub
1484c5a63b
fileHandle refactor & fixes ( #2252 )
2020-10-19 10:53:37 +02:00
Aakansha Doshi and GitHub
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
Pierre-Monier and GitHub
41ccd47791
feat: add a proper error message when file is too big ( #2247 )
2020-10-18 10:39:55 +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
Pete Hunt and GitHub
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
David Luzar and GitHub
adb1ac5788
fix restoring appState ( #2182 )
2020-09-22 21:51:49 +02:00
Thomas Steiner and GitHub
b2822f3538
Make File Handling actually work ( #2181 )
...
Follow-up from #1736
2020-09-22 15:21:22 +02:00
Thomas Steiner and GitHub
48c2a13c7a
Pass file extensions with leading dot after API change ( #2149 )
2020-09-10 12:00:18 +02:00
David Luzar and GitHub
47dba05c91
System clipboard ( #2117 )
2020-09-04 14:58:32 +02:00
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
ab7073abdb
add excalidraw_embed into base repo ( #2040 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-08-20 16:45:20 +02:00
Warren Seine and GitHub
4644ca1778
🎨 Use consistent naming ( #2029 )
2020-08-14 20:14:22 +02:00
7eff6893c5
calculate coords based on container viewport position ( #1955 )
...
* feat: calculate coords based on parent left and top so it renders correctly in host App
* fix text
* move offsets to state & fix bugs
* fix text jumping
* account for zoom in textWysiwyg & undo incorrect offsetting
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-07-27 13:48:49 +02:00
Thomas Steiner and GitHub
d3a38202e3
Make sure extension gets set correctly for exports ( #1962 )
2020-07-25 13:00: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
6428b59ccb
Library MVP ( #1787 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-07-10 11:20:23 +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
Minh Nguyen and GitHub
8621ddb6a2
Extract backend URLs into environment variables ( #1772 ) ( #1848 )
2020-07-02 17:52:58 +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
a118bed82f
Fix RTL text direction rendering ( #1687 )
...
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-06-02 21:31:34 +03:00
fa359034c5
scroll the closest element to center ( #1670 )
...
Co-authored-by: Sanghyeon Lee <yongdamsh@gmail.com >
2020-05-30 14:02:32 +02:00
d315e3dc4d
Update TypeScript to 3.9.3 ( #1640 )
...
Co-authored-by: tk338g <tkhazamov@wayfair.com >
2020-05-24 21:17:25 +02:00
Lipis and GitHub
c427aa3cce
Prefer arrow functions and callbacks ( #1210 )
2020-05-20 15:21:37 +02:00
Justin Greenberg and GitHub
e27f3f9ad2
fix(data): removes unnecessary await ( #1549 )
2020-05-06 21:18:49 +02:00
5822117e23
Add optional watermark on export ( #1365 )
...
* Add optional watermark on export
* Address init PR feedback
* Add SVG export with refactoring
* Update export.ts
* Move addWatermark to appState
* Update snapshots
* Fit watermark in small scene
* Rename watermark things
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-04-19 12:50:23 -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
67805bc7a7
Add collaborators names ( #1223 )
...
* add random usernames
* add username state
* add username input
* ability to set names
* fix tests
* set username oon mobile
* remove auto generated names
* remove commented code
* always string
* updaate snapshots
* maintain username when clearing canvas
* Update src/renderer/renderScene.ts
Co-Authored-By: Lipis <lipiridis@gmail.com >
* add border
* fix styles
Co-authored-by: Pete Hunt <petehunt@users.noreply.github.com >
Co-authored-by: Faustino Kialungila <faustino.kialungila@gmail.com >
Co-authored-by: Lipis <lipiridis@gmail.com >
2020-04-07 14:02:42 +01:00
Roxana Chiorean and GitHub
d5366db341
Adding ability to copy to clipboard as SVG ( #1250 )
2020-04-06 02:13:17 +03:00
b97520400a
Broadcast mouse activity ( #1175 )
...
* broadcast mouse activity
* move to same MOUSE_LOCATION event
* remove key up handler
* update tests
* Fix border
* refactor
* rename activity to button
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com >
2020-04-04 17:12:19 +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
Sanghyeon Lee and GitHub
763735ac84
Add SCENE_INIT broadcast type for new user ( #1095 )
2020-03-28 19:35:56 -07:00
Marcel Kloubert and GitHub
12d7550958
fixed generateCollaborationLink() ( #1081 )
2020-03-25 17:18:22 +02:00
0ad6f4ec6b
Remove deleted elements from svg export ( #1021 )
...
* Remove deleted elements from svg export
* skip deleted elements
* remove old comment
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-03-20 15:19:20 +01:00
David Luzar and GitHub
82ce068972
fix history ( #1009 )
...
* fix history
* tweak withBatchedUpdates typing
2020-03-19 14:51:05 +01:00
Christopher Chedeau and GitHub
db1f97f59e
Revert "[RFC] Randomized names next to mouse pointers. ( #971 )" ( #972 )
...
This reverts commit dcb93f75e6 .
2020-03-16 00:38:37 -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 Hunt and GitHub
3f8144ef85
Fix many syncing issues ( #952 )
2020-03-14 20:46:57 -07:00