Aakansha Doshi and GitHub
dcedd17f57
Add bundle analyzer to webpack behind env variable ( #2330 )
2020-11-04 20:38:16 +01:00
e916d7f6f6
expose resetScene and getSceneElementsIncludingDeleted && move excalidrawApp to excalidraw-app folder ( #2272 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-10-25 15:09:57 +01:00
Aakansha Doshi and GitHub
1845b5e32c
build(webpack): apply optimization to async chunks so module is exported correctly ( #2273 )
2020-10-25 14:26:09 +01:00
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 and GitHub
1034ec91b8
fix(fonts): move fonts to public folder so that its served as static assets via cra & works in export ( #2264 )
2020-10-21 22:50:57 +02:00
Aakansha Doshi and GitHub
6db5647048
move broadcastScene and broadcastMouseLocation to portal ( #2262 )
2020-10-21 15:41:20 +02:00
Aakansha Doshi and GitHub
12b73aaac6
fix(app.scss): Move fonts from public to fonts directory so that it can be included in bundle as well ( #2251 )
2020-10-19 20:36:44 +03: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
63566ecb92
Expose update scene via refs ( #2217 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-10-11 18:11:26 +02:00
Aakansha Doshi and GitHub
3835fa60e4
pass named function to react.memo so in dev tools it doesn't show as anonymous ( #2216 )
...
This makes debugging easier as well
2020-10-07 23:37:19 +02:00
Aakansha Doshi and GitHub
a61b212220
scope css under name space excalidraw ( #1983 )
2020-09-25 23:18:45 +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
20500b7822
remove shared global scene and attach it to every instance ( #1706 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-07-30 11:20:59 +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
Aakansha Doshi and GitHub
953cd5563c
move the excalidraw props to correct file and typo fix ( #1907 )
2020-07-11 15:13:20 +02:00
01e546c230
use width,height from current appstate when initializing scene ( #1882 )
...
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-07-07 18:37:53 +02:00
Aakansha Doshi and GitHub
9351b2821c
feat: add width, height as props to App.tsx ( #1871 )
2020-07-07 17:10:39 +02:00
Aakansha Doshi and GitHub
b21f723eee
use absolute positioning instead of fixed ( #1860 )
2020-07-02 15:27:47 +02:00
Aakansha Doshi and GitHub
60973f6dc5
rename container class to excalidraw and move css from index.html to app.css ( #1729 )
...
Moved the css from index.html to app.css so it can be included in upstream app as well
2020-06-08 13:36:35 +03:00
Aakansha Doshi and GitHub
17e9cc4506
Some cleanup in App.tsx ( #1681 )
2020-05-30 15:26:17 +02: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
Aakansha Doshi and GitHub
5252726307
dynamically import socket.io-client when needed ( #1631 )
2020-05-26 20:51:03 +02:00
Aakansha Doshi and GitHub
5b80ad045b
show reset icon with zoom percentage during zen mode ( #1540 )
2020-05-09 14:47:22 +02:00
Aakansha Doshi and GitHub
0c2aa951d6
refactor toolbutton.tsx - add default props ( #1492 )
2020-04-29 17:13:29 +02:00
Aakansha Doshi and GitHub
1866074c07
Add Zen mode for distraction free drawing ( #1450 )
2020-04-25 15:13:02 +02:00
ff0ecb5e33
add always visible lock icon on top right to show info about e… ( #1403 )
...
* improvement(layerui.js): add lock icon on top right to show encrypted info about excalidraw
fixes https://github.com/excalidraw/excalidraw/issues/1313
* swap lock with shield
* fix dimensions
* make link open in new tab
* add newline between toolip text and link
* increase tooltip line-height
* remove unused GitHubCorner compo
* reposition; reintroduce GH icon
* make shield into link
* make tooltip not show when drawing
* Review fix
* remove link from tooltip
Co-authored-by: dwelle <luzar.david@gmail.com >
2020-04-17 22:39:15 +02:00
Aakansha Doshi and GitHub
a18342b5b5
Refactor LayerUI ( #1434 )
...
* chore(gitignore): add .idea to gitignore
* refactor(layerui): pass named function to react.memo so that in dev tools the name shows up
This makes debugging easier as well
* refactor(layerui): break the functional component into multiple render methods
2020-04-17 22:24:19 +02:00
Aakansha Doshi and GitHub
227ff60909
refactor(app.tsx): move Portal to new file and some refactoring ( #1398 )
2020-04-12 12:54:52 +02:00
Aakansha Doshi and GitHub
e98fba38be
refactor(app.tsx): use constants instead of hard coded strings for better readablility ( #1391 )
...
don't use inline function as it will create a new refrence everytime
2020-04-11 17:42:02 -07:00