1886 Commits

Author SHA1 Message Date
Michal Srb
5d7020cce6
Refactoring in pointer down event handler ()
* Refactor: Move context menu touch device handling

* Refactor: Move more stuff out of pointer down

* Refactor: Move last coords into an object

* Refactor: Move scrollbar handling out of pointer down

* Refactor: simplify resizing in pointer down

* Refactor: further simplify resizing in pointer down

* Refactor: clarify clearing selection code

* Refactor: move out clearing selection from pointer down

* Refactor: further simplify deselection in pointer down
2020-07-08 22:07:51 -07:00
David Luzar
d5e7d08586
prompt when loading external scene before overriding local one () 2020-07-08 22:55:26 +02:00
fujimoto kyosuke
6f13b5ac75
Fix status when do selectAll while editing lines () 2020-07-08 10:29:47 +02:00
David Luzar
df5eb3f0d9
change copy/paste styles shortcuts ()
* change copy/paste styles shortcuts

* use keyCode
2020-07-07 20:22:23 +02:00
Aakansha Doshi
01e546c230
use width,height from current appstate when initializing scene ()
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-07-07 18:37:53 +02:00
Lipis
ead58bf2d9
New Crowdin updates () 2020-07-07 18:30:58 +03:00
Aakansha Doshi
9351b2821c
feat: add width, height as props to App.tsx () 2020-07-07 17:10:39 +02:00
David Luzar
b1261eea70
duplicate point on cmd+d () 2020-07-07 13:53:44 +02:00
Oren Me
84abda82d5
docs: add multiple selection docs () 2020-07-07 11:24:07 +02:00
Mehedi Hassan
cc52ea4ac2
Add support for long press to context menu on iOS ()
* Initial support for touch context menu

* Only deal with touch if it's available

* Fix touch checking

* Remove touch checking

* Added comments

* Combine onTouch with onPointer for mobile context menu support
2020-07-03 00:12:56 +03:00
Minh Nguyen
8621ddb6a2
Extract backend URLs into environment variables () () 2020-07-02 17:52:58 +02:00
Aakansha Doshi
b21f723eee
use absolute positioning instead of fixed () 2020-07-02 15:27:47 +02:00
David Luzar
d9e84b90ce
strip fragment () 2020-07-02 12:02:16 +02:00
Prashant Agarwal
79c3b846d7
Added Language support for Hindi in language selection dropdown ()
* Added Language support for Hindi in language selection dropdown

* Update src/locales/hi-IN.json

* Update src/i18n.ts

Co-authored-by: Lipis <lipiridis@gmail.com>
2020-07-01 20:20:27 +03:00
Lipis
d39d8e3cb1
New Crowdin updates () 2020-07-01 19:49:53 +03:00
Lipis
89cf826555
Change target branch of coverage and pretty print () 2020-07-01 12:05:21 +03:00
Kostas Bariotis
2a25480272
Expose Git SHA to window ()
* expose git sha

* move to global.d.ts

* fix vercel domain
2020-06-30 22:03:13 +01:00
Kostas Bariotis
9a5ae05bbf Auto commit: Calculate translation coverage 2020-06-30 18:34:33 +00:00
Lipis
54a72b821a
New translations en.json (Greek) () 2020-06-30 19:34:15 +01:00
Kostas Bariotis
8c3549f336
Add script to calculate percentage of translation ()
* add script to calculate percentage of translation

* test translation change

* change translation

* test

* change translation

* Calculate percentages of each translation file

* test

* Calculate percentages of each translation file

* change translation

* test

* test

* Calculate percentages of each translation file

* test

* Calculate percentages of each translation file

* fix workflow

* test

* test again

* Calculate percentages of each translation file

* Calculate percentages of each translation file

* test

* refactor

* change build logic

* fix types, move English first

* docs added

* test translation file

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* Calculate percentages of each translation file

* let this be the final test please

* Calculate percentages of each translation file

* test

* test

* Test

* Calculate percentages of each translation file

* test

* Calculate percentages of each translation file

* test

* Calculate percentages of each translation file

* test

* Auto commit: Calculate translation coverage

* test

* test

* test

* test

* Auto commit: Calculate translation coverage

* test

* only on master

* test

* test

* Auto commit: Calculate translation coverage

* switch to master branch

Co-authored-by: i18n automation <runner@fv-az76.2iswp1o5zimezclxzdlwqia2gf.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az129.idlktykl4ure3gqe2lnji05orb.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az76.pjgcdo5npjpenpqz2nk0ztqvxd.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az33.senarqq4ucbulg04aytwntvgah.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az51.icvemaqob4xunfekbtdiz2tu2c.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az78.gikxu4m3dpiulftj3bftpuu3ee.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az121.cqdewbghluceforu5pkvpnveec.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az139.jsbds1i2htye3fh1bzwbe4ugmf.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az50.0bg2cysi0dkefjvuua0a0kbd1h.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az51.nhi3in4tbx4ehjtltcwuwbwsua.cx.internal.cloudapp.net>
2020-06-30 19:28:19 +01:00
Simon Riisnæs Dagfinrud
e23f7d37b6
Update Norwegian languages in list () 2020-06-30 15:51:25 +03:00
Lipis
483796f6ff
New Crowdin updates () 2020-06-30 15:50:48 +03:00
Minh Nguyen
a679ef7876
Refactor CJS require to ESM ()
Resolves https://github.com/excalidraw/excalidraw/pull/1793#discussion_r447067827
2020-06-29 20:22:27 +02:00
Kostas Bariotis
0a3fb70ec7
Dynamicaly import locales ()
* dynamicly import locales

* fix tests

* reformat languages
2020-06-27 12:02:54 +01:00
Lipis
5970bb7ee9
Remove duplicate string for toggle grid mode () 2020-06-26 22:28:01 +02:00
Saransh Barua
1991511ef7
Fix flickering outline on the dialogs while clicking () 2020-06-26 22:27:16 +02:00
David Luzar
cd87bd6901
do not center text when not applicable () 2020-06-25 21:21:27 +02:00
Daishi Kato
9c89504b6f
fix: start dragging grouped elements ()
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-06-24 13:38:42 +02:00
Daishi Kato
caa9b54893
do not render grid on export () 2020-06-24 10:16:03 +02:00
Lipis
e7ef02cc0f
New Crowdin updates and change code for Norwegian Bokmal ()
* New translations en.json (Turkish)

* New translations en.json (French)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Norwegian Bokmal)

* Update i18n.ts

* Remove no-NO

* Update i18n.ts

* Update i18n.ts

* New translations en.json (Hindi)

* New translations en.json (Hindi)

* New translations en.json (Hindi)

* New translations en.json (Hindi)

* New translations en.json (French)

* New translations en.json (Russian)

* New translations en.json (Ukrainian)

* New translations en.json (Persian)

* New translations en.json (Albanian)

* New translations en.json (Catalan)

* New translations en.json (Hebrew)

* New translations en.json (Hindi)

* New translations en.json (Indonesian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Portuguese)

* New translations en.json (Spanish)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Bulgarian)

* New translations en.json (Arabic)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Chinese Traditional)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Finnish)

* New translations en.json (Persian)

* New translations en.json (Portuguese)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (Turkish)

* New translations en.json (German)

* New translations en.json (French)

* New translations en.json (Russian)

* New translations en.json (Ukrainian)

* New translations en.json (Persian)

* New translations en.json (Albanian)

* New translations en.json (Catalan)

* New translations en.json (Hebrew)

* New translations en.json (Hindi)

* New translations en.json (Indonesian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Portuguese)

* New translations en.json (Spanish)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Bulgarian)

* New translations en.json (Arabic)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Polish)

* New translations en.json (Polish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Portuguese)

* New translations en.json (Persian)

* New translations en.json (Finnish)

* New translations en.json (Hindi)

* New translations en.json (Ukrainian)

* New translations en.json (German)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (French)

* New translations en.json (Russian)

* New translations en.json (Ukrainian)

* New translations en.json (Persian)

* New translations en.json (Albanian)

* New translations en.json (Catalan)

* New translations en.json (Hebrew)

* New translations en.json (Hindi)

* New translations en.json (Indonesian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Portuguese)

* New translations en.json (Spanish)

* New translations en.json (Polish)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Bulgarian)

* New translations en.json (Arabic)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Finnish)

* New translations en.json (Portuguese)

* New translations en.json (Chinese Traditional)
2020-06-23 20:12:13 +03:00
Daishi Kato
baa8fb6c14
grid support (1st iteration) ()
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-06-23 17:24:52 +02:00
Jed Fox
b6bf011d0d
Inline the dropdown icon () 2020-06-22 10:10:18 -07:00
Daishi Kato
482fa2d90f
fix visibility check on rotated elements () 2020-06-22 10:00:09 +02:00
Kostas Bariotis
a357d00bbe
Hint for shortcut for moving the visible area () 2020-06-19 22:28:13 +02:00
Kostas Bariotis
bda8415714
Include stroke style when copy/paste styles () 2020-06-19 21:33:37 +02:00
Oliver Benns
ca87ca6fe9
Add user list component + snap to user functionality () 2020-06-19 12:36:49 +02:00
Kostas Bariotis
8f65e37dac
Disable Sentry inside Docker () 2020-06-18 13:18:57 +02:00
Lipis
2eb58da4c3
New Crowdin translations ()
* New translations en.json (Finnish)

* New translations en.json (French)

* New translations en.json (Portuguese)

* New translations en.json (Persian)

* New translations en.json (Albanian)

* New translations en.json (Catalan)

* New translations en.json (Hebrew)

* New translations en.json (Hindi)

* New translations en.json (Indonesian)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Turkish)

* New translations en.json (Russian)

* New translations en.json (Polish)

* New translations en.json (Spanish)

* New translations en.json (Norwegian)

* New translations en.json (Dutch)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Bulgarian)

* New translations en.json (Arabic)

* New translations en.json (Ukrainian)

* New translations en.json (Italian)

* New translations en.json (Italian)

* New translations en.json (Persian)

* New translations en.json (Persian)

* New translations en.json (Persian)

* New translations en.json (German)

* New translations en.json (Portuguese)

* New translations en.json (Persian)

* New translations en.json (Persian)

* New translations en.json (Persian)

* New translations en.json (Persian)

* New translations en.json (Finnish)

* New translations en.json (Hindi)

* New translations en.json (Hindi)

* New translations en.json (Hindi)

* New translations en.json (French)

* New translations en.json (Greek)

* New translations en.json (Greek)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Traditional)
2020-06-16 17:27:30 +03:00
Thomas Steiner
3cee0768cc
Null file handle doesn’t need to be passed ()
* Bump browser-nativefs version to v0.2.0

In reply to https://github.com/tomayac/browser-nativefs/issues/2.

* Update package-lock.json

* Null file handle doesn’t need to be passed
2020-06-15 12:23:23 +02:00
Thomas Steiner
5d3867d8ac
Implement Save without re-prompt and Save as ()
* Implement Save without re-prompt and Save as
Fixes 

* Add save-as icon

* Make .excalidraw the default extension

* Only show save as button on supporting browsers
2020-06-12 18:35:04 +02:00
Lipis
0ed6a96b6a
New Crowdin translations () 2020-06-10 18:24:36 +03:00
David Luzar
dadf054ea2
fix not always generating shape on render () 2020-06-09 17:36:25 +02:00
Thomas Steiner
6b87278a0f
Add file handling ()
* Add file handling
https://github.com/WICG/file-handling/blob/master/explainer.md#example

* Only trigger on `.excalidraw` for now
2020-06-08 13:02:06 +02:00
Saransh Barua
998f0ae458
remove z-index for color-picker-hash div () 2020-06-08 06:52:54 -04:00
Aakansha Doshi
60973f6dc5
rename container class to excalidraw and move css from index.html to app.css ()
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
Daishi Kato
53ab46126d
support resizing multiple elements including texts ()
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-06-08 11:25:20 +02:00
Youness Fkhach
d171e9705d
Fix RTL text direction rendering (reopened) ()
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-06-07 11:55:08 +02:00
Pete Hunt
f7c4efbd35
Excalicharts MVP ()
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-06-06 22:09:04 +02:00
David Luzar
d1be2a5481
fix text constructor groupIds & improve type safety () 2020-06-06 13:32:43 +02:00
fujimoto kyosuke
476c0e9f8a
Fix undo with line editing () 2020-06-05 17:11:24 +02:00