Commit Graph
43 Commits
Author SHA1 Message Date
Aakansha DoshiandGitHub bfeb3c7dfd fix(changelog-check.yml): ignore l10n_master and dependabot branches in changelog workflow (#2594) 2020-12-15 02:25:45 +05:30
Aakansha DoshiandGitHub 8729ab3c54 chore(package/utils): update deps (#2593) 2020-12-15 02:13:19 +05:30
Aakansha DoshiandGitHub 37f53bccbf Revert the changelog check of excluding the branches (#2590)
* temp commit

* fix

* fix

* Update actionAlign.tsx
2020-12-14 22:41:00 +02:00
Aakansha DoshiandGitHub c783763307 chore(package/excalidraw): update deps (#2589) 2020-12-14 19:21:22 +01:00
Aakansha DoshiandGitHub 59cff0f219 ci: Add github action to make sure changelog for @excalidraw/excalidraw is updated (#2518)
Add guidelines for changelog and group the commits
update the changelog with the latest commits since the last release
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-12-13 18:53:14 +05:30
7bfe7a1924 docs(readme.md): Update the homepage URL so it redirects to correct readme (#2498)
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-12-11 02:41:19 +05:30
Aakansha DoshiandGitHub 48e27f327f Final steps before the release of @excalidraw/excalidraw (#2464)
* docs(packages/excalidraw): add read me
* Add changelog and update version
2020-12-10 22:09:45 +05:30
8f8fd023f8 fix(app.tsx): add safe check for readyPromise (#2489)
* fix(app.tsx): add safe check for readyPromise

* make type-safe

Co-authored-by: dwelle <luzar.david@gmail.com>
2020-12-09 01:35:08 +05:30
Aakansha DoshiandGitHub 88fc961559 add separate entry point for fonts as its messing up the js bundle (#2485) 2020-12-08 18:11:44 +01:00
Aakansha DoshiandGitHub bd8e860d7f move all chunks inside excalidraw-assets folder when bundling (#2484) 2020-12-08 15:52:56 +01:00
Aakansha DoshiandGitHub 4c90ea5667 chore(package.json): set public access for npm packages (#2463) 2020-12-06 13:49:35 +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
Aakansha DoshiandGitHub 084aff2bf3 fix(app.tsx): use cursorx, cursory in onGestureChange as pointers are empty (#2424) 2020-11-30 02:30:13 +02:00
ca60244aa3 hide fill icons when fill color transparent (#2414)
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
2020-11-26 21:43:38 +01:00
Aakansha DoshiandGitHub 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 DoshiandGitHub 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 DoshiandGitHub 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 DoshiandGitHub 6db5647048 move broadcastScene and broadcastMouseLocation to portal (#2262) 2020-10-21 15:41:20 +02:00
Aakansha DoshiandGitHub 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 DoshiandGitHub 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 DoshiandGitHub 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 DoshiandGitHub 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 DoshiandGitHub 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 DoshiandGitHub 9351b2821c feat: add width, height as props to App.tsx (#1871) 2020-07-07 17:10:39 +02:00
Aakansha DoshiandGitHub b21f723eee use absolute positioning instead of fixed (#1860) 2020-07-02 15:27:47 +02:00
Aakansha DoshiandGitHub 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 DoshiandGitHub 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 DoshiandGitHub 5252726307 dynamically import socket.io-client when needed (#1631) 2020-05-26 20:51:03 +02:00
Aakansha DoshiandGitHub 5b80ad045b show reset icon with zoom percentage during zen mode (#1540) 2020-05-09 14:47:22 +02:00
Aakansha DoshiandGitHub 0c2aa951d6 refactor toolbutton.tsx - add default props (#1492) 2020-04-29 17:13:29 +02:00
Aakansha DoshiandGitHub 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 DoshiandGitHub 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 DoshiandGitHub 227ff60909 refactor(app.tsx): move Portal to new file and some refactoring (#1398) 2020-04-12 12:54:52 +02:00
Aakansha DoshiandGitHub 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