1144 Commits

Author SHA1 Message Date
Lipis
d2a730837e
New Crowdin updates (#2332) 2020-11-08 14:00:17 +02:00
Lipis
a20f3240fd
Prefer arrow functions (#2344) 2020-11-06 21:06:39 +01:00
Lipis
e05acd6fd9
Update ESLint rules (#2342) 2020-11-06 21:06:30 +01:00
David Luzar
56938cf874
fix modal island ref init (#2341)
* fix modal island ref init

* remove unnecessary sIP

* naming
2020-11-05 22:05:58 +02:00
Lipis
5d295415db
Keep errors, elements and comments consistent (#2340)
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-11-05 18:06:18 +01:00
Noel Schnierer
2a20c44338
fix: fonts not cached by service worker (#2338) 2020-11-04 22:09:28 +02:00
Aakansha Doshi
dcedd17f57
Add bundle analyzer to webpack behind env variable (#2330) 2020-11-04 20:38:16 +01:00
David Luzar
455badb23e
fix export preview flicker (#2335) 2020-11-04 18:50:53 +01:00
João Forja
566e6a5ede
Zoom on cursor | Issue #940 (#2319) 2020-11-04 19:49:15 +02:00
Lipis
facde7ace0
Fix padding in the library loading buttons (#2331)
* Fix padding in the library loading buttons

* Update src/components/Stack.tsx

Co-authored-by: Dominic Lee <34794189+dominictwlee@users.noreply.github.com>

* extend CSSProperties TS definition

Co-authored-by: Dominic Lee <34794189+dominictwlee@users.noreply.github.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-11-04 11:05:12 +01:00
Lipis
eca2bdabcc
New Crowdin updates (#2311) 2020-11-03 18:45:13 +02:00
Guillaume Grossetie
a7da8901d8
Excalidraw export (#2246) 2020-11-02 20:14:20 +01:00
Noel Schnierer
7491fcc3f3
use icons for toggle labels (#2315) 2020-11-01 20:08:48 +01:00
Sven Kube
856ab50090
Feature: Align elements (#2267)
Co-authored-by: Maximilian Massing <maximilian.massing@googlemail.com>
Co-authored-by: Sven Kube <github@sven-kube.de>
Co-authored-by: Maximilian Massing <massing@sipgate.de>
2020-10-31 11:40:06 +01:00
David Luzar
411bc2aa0a
SW fix (#2320) 2020-10-31 11:31:02 +01:00
David Luzar
ba3f548b91
Fix library dnd (#2314) 2020-10-30 21:01:41 +01:00
dependabot-preview[bot]
8a50916ef2
Bump firebase from 7.24.0 to 8.0.0 (#2294)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-10-29 16:10:46 +01:00
David Luzar
56215c6c2b
remove eslint two disabled rules & fix (#2309) 2020-10-28 20:53:27 +01:00
Giacomo Debidda
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
5c26bd19d7
SVG export: add image size (#2292) 2020-10-28 19:10:22 +02:00
Lipis
9de6c947ef
Update react-scripts, TS and remove ESlint as it exist in CRA (#2302)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-10-28 17:28:07 +01:00
dependabot-preview[bot]
44af6b4a78
Bump react and react-dom (#2300)
* Bump react and react-dom

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.

Updates `react` from 16.14.0 to 17.0.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.1/packages/react)

Updates `react-dom` from 16.14.0 to 17.0.1
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.1/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
2020-10-28 04:01:53 +02:00
Lipis
9e40dcdcdc
New Crowdin updates (#2286)
* New translations en.json (Chinese Simplified)

* Auto commit: Calculate translation coverage

Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
2020-10-27 18:21:08 +02:00
Andrew Aquino
5e55e77f54
enable ColorPicker keyboard shortcuts if using custom color (#2288) 2020-10-27 11:01:57 +01:00
David Luzar
f404ab6f50
clear deleted elements on room create (#2270) 2020-10-26 15:53:55 +01:00
David Luzar
915bda9fd8
restore elements on load from firebase (#2269) 2020-10-26 15:45:51 +01:00
Lipis
36700b9376
New Crowdin updates (#2248)
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-10-25 15:50:35 +01:00
David Luzar
900e0f27ad
expose resetHistory & factor out from updateScene (#2277) 2020-10-25 15:48:16 +01:00
Aakansha Doshi
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
1845b5e32c
build(webpack): apply optimization to async chunks so module is exported correctly (#2273) 2020-10-25 14:26:09 +01:00
David Luzar
72a3450c99
allow to supply canvas offsets from upstream (#2271) 2020-10-23 19:06:16 +02:00
Aakansha Doshi
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
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
6db5647048
move broadcastScene and broadcastMouseLocation to portal (#2262) 2020-10-21 15:41:20 +02:00
Aakansha Doshi
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
Danila
b50c54f855
Add and use clsx (classnames alternative) (#2249)
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-10-19 16:14:28 +02:00
David Luzar
1484c5a63b
fileHandle refactor & fixes (#2252) 2020-10-19 10:53:37 +02:00
Aakansha Doshi
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
41ccd47791
feat: add a proper error message when file is too big (#2247) 2020-10-18 10:39:55 +02:00
Lipis
8f5c5f80d3
New Crowdin updates (#2242) 2020-10-16 15:05:27 +03:00
David Luzar
538f2be097
add export error handling (#2243) 2020-10-16 11:53:40 +02:00
David Luzar
25d460be96
don't touch DOM outside useEffect (#2215) 2020-10-15 21:39:24 +02:00
David Luzar
b3263c2a69
fix encoding of embed data & compress (#2240) 2020-10-15 21:31:21 +02:00
Lipis
e8a39b5f84
New Crowdin updates (#2233)
Bunch of updates
2020-10-15 19:27:44 +03:00
David Luzar
f40a2230ec
Fix embedding scene to PNG on Safari (#2235) 2020-10-13 16:55:08 +02:00
David Luzar
5950fa9a40
support embedding scene data to PNG/SVG (#2219)
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-10-13 14:47:07 +02:00
David Luzar
7618ca48d7
retain local appState props on restore (#2224)
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-10-13 13:46:52 +02:00
Lipis
d012fda59d
New Crowdin updates (#2214)
* New translations en.json (Indonesian)

* New translations en.json (Polish)

* New translations en.json (Norwegian Bokmal)

* New translations en.json (Hindi)

* New translations en.json (Norwegian Nynorsk)

* New translations en.json (Tamil)

* New translations en.json (Galician)

* New translations en.json (Vietnamese)

* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Simplified)

* New translations en.json (Ukrainian)

* New translations en.json (Turkish)

* New translations en.json (Swedish)

* New translations en.json (Albanian)

* New translations en.json (Russian)

* New translations en.json (Portuguese)

* New translations en.json (Dutch)

* New translations en.json (Persian)

* New translations en.json (Korean)

* New translations en.json (Japanese)

* New translations en.json (Italian)

* New translations en.json (Hungarian)

* New translations en.json (Hebrew)

* New translations en.json (Finnish)

* New translations en.json (Greek)

* New translations en.json (German)

* New translations en.json (Catalan)

* New translations en.json (Bulgarian)

* New translations en.json (Arabic)

* New translations en.json (Spanish)

* New translations en.json (French)

* New translations en.json (Romanian)

* New translations en.json (Nepali)

* Auto commit: Calculate translation coverage

* New translations en.json (French)

* New translations en.json (Portuguese)

* New translations en.json (Chinese Traditional)

* New translations en.json (Norwegian Bokmal)

* Auto commit: Calculate translation coverage

* New translations en.json (Swedish)

* Auto commit: Calculate translation coverage

* New translations en.json (Dutch)

* Auto commit: Calculate translation coverage

* New translations en.json (Romanian)

* Auto commit: Calculate translation coverage

* New translations en.json (Catalan)

* Auto commit: Calculate translation coverage

* New translations en.json (Spanish)

* New translations en.json (Catalan)

* New translations en.json (Italian)

* Auto commit: Calculate translation coverage

* New translations en.json (Italian)

* New translations en.json (Portuguese)

* Auto commit: Calculate translation coverage

* New translations en.json (Finnish)

* Auto commit: Calculate translation coverage

* New translations en.json (Indonesian)

* Auto commit: Calculate translation coverage

* New translations en.json (German)

* Auto commit: Calculate translation coverage

Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
2020-10-12 15:34:47 +03:00
Aakansha Doshi
63566ecb92
Expose update scene via refs (#2217)
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-10-11 18:11:26 +02:00
Michal Srb
8a10f2a0b8
Fix collision check for rectangles and rendering of binding area (#2221) 2020-10-11 09:46:13 +03:00