David Luzar
463854e42a
fix pinch zoom ( #885 )
2020-03-09 07:19:38 -07:00
Lipis
9de3716324
Update send/bring shortcuts and show them properly per operating… ( #784 )
...
* Show proper shortcuts
* sort
* Add shortcuts to bring/send
* fix hotkeys matching greedily
* Space
* align zindex shortcuts with figma
* switch to event.code & change Darwin shortcuts
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-03-09 14:06:35 +01:00
Lipis
f9edb1b4ac
Remove www from open graph images ( #884 )
...
* Remove www from open graph images
* Lint
2020-03-09 12:42:48 +02:00
dependabot-preview[bot]
d3771b7e0b
Bump @testing-library/react from 9.4.1 to 9.5.0 ( #883 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 9.4.1 to 9.5.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v9.4.1...v9.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 10:51:38 +01:00
dependabot-preview[bot]
165a2a17d8
Bump @types/jest from 25.1.3 to 25.1.4 ( #882 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 25.1.3 to 25.1.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 10:47:09 +01:00
Pete Hunt
05ebf3434b
Fix a bug introduced by #880 ( #881 )
2020-03-08 23:35:30 -07:00
Pete Hunt
86f9f32a59
Fix perf regression ( #880 )
2020-03-08 23:08:26 -07:00
Joe Previte
30434e3e6c
fix: update og images ( #878 )
...
* fix: change og images to absolute urls
Co-authored-by: Justin E. Samuels <js1599.msu@gmail.com>
* fix: width and height of image
Also added og:image:secure_url for security purposes
Co-authored-by: Justin E. Samuels <js1599.msu@gmail.com>
* fix: enlarge image for og
Co-authored-by: Justin E. Samuels <js1599.msu@gmail.com>
Co-authored-by: Justin E. Samuels <js1599.msu@gmail.com>
2020-03-08 19:48:23 -07:00
Pete Hunt
8d8f9f23bd
Make gesture.pointers a Map instead of an array of pointers ( #877 )
2020-03-08 19:25:16 -07:00
Pete Hunt
92ba401da8
Pull onPointerDown, onDoubleClick, onPointerMove into instance methods ( #876 )
...
* Pull onPointerDown, onDoubleClick, onPointerMove into instance methods
* Use bound instance methods
2020-03-08 18:09:45 -07:00
Pete Hunt
c89584832d
Reset selectedElementIds when deleting selected elements ( #875 )
2020-03-08 14:10:42 -07:00
Pete Hunt
ccbbdb75a6
Refactor ExcalidrawElement ( #874 )
...
* Get rid of isSelected, canvas, canvasZoom, canvasOffsetX and canvasOffsetY on ExcalidrawElement.
* Fix most unit tests. Fix cmd a. Fix alt drag
* Focus on paste
* shift select should include previously selected items
* Fix last test
* Move this.shape out of ExcalidrawElement and into a WeakMap
2020-03-08 10:20:55 -07:00
Jed Fox
8ecb4201db
How could I have gotten this so wrong? ( #873 )
2020-03-07 17:37:35 -08:00
Jed Fox
c6a0cfc2b1
Refactor ( #862 )
...
* Initial factoring out of parts of the LayerUI component
2360 → 2224 LOC
* Create a Section component
* Break up src/index.tsx
* Refactor actions to reduce duplication, fix CSS
Also consolidate icons
* Move scene/data.ts to its own directory
* Fix accidental reverts, banish further single-character variables
* ACTIVE_ELEM_COLOR → ACTIVE_ELEMENT_COLOR
* Further refactoring the icons file
* Log all errors
* Pointer Event polyfill to make the tests work
* add test hooks & fix tests
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-03-07 16:20:38 +01:00
Lipis
1a6431a04a
New Crowdin Translations ( #845 )
...
* New translations en.json (Chinese Simplified)
* New translations en.json (Chinese Simplified)
* Update i18n.ts
* New translations en.json (Spanish)
* New translations en.json (French)
* New translations en.json (German)
* New translations en.json (Norwegian)
* New translations en.json (Polish)
* New translations en.json (Portuguese)
* New translations en.json (Russian)
* New translations en.json (Spanish)
* New translations en.json (Turkish)
* New translations en.json (Chinese Simplified)
* New translations en.json (French)
* New translations en.json (French)
* New translations en.json (Indonesian)
* Update i18n.ts
* Update i18n.ts
* New translations en.json (French)
2020-03-07 01:01:01 +02:00
Jed Fox
8d1c897962
Update README.md ( #870 )
...
* Update README.md
* Update README.md
* Update README.md
2020-03-06 15:20:02 +01:00
dependabot-preview[bot]
65fe3ba592
Bump react-dom from 16.12.0 to 16.13.0 ( #863 )
...
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) from 16.12.0 to 16.13.0.
- [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/v16.13.0/packages/react-dom )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 11:15:51 +01:00
dependabot-preview[bot]
7463de8964
Bump @types/react from 16.9.22 to 16.9.23 ( #864 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.22 to 16.9.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 10:43:28 +01:00
dependabot-preview[bot]
95a80a1217
Bump typescript from 3.8.2 to 3.8.3 ( #865 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.8.2 to 3.8.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.2...v3.8.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 10:43:22 +01:00
dependabot-preview[bot]
dee7f5db92
Bump react from 16.12.0 to 16.13.0 ( #866 )
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 16.12.0 to 16.13.0.
- [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/v16.13.0/packages/react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 10:43:15 +01:00
dependabot-preview[bot]
cd1117150a
Bump lint-staged from 10.0.7 to 10.0.8 ( #867 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 10.0.7 to 10.0.8.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v10.0.7...v10.0.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 10:43:07 +01:00
lissitz
e920c078b9
Improve scrollbar-mouse interaction ( #667 )
...
* fix scrollbar detection on high devicePixelRatio devices
* don't create a new element on pointerdown over a scrollbar
* Return scrollbars from renderScene and use it in isOverScrollBars
* remove unneeded setState
* show default cursor when hovering or dragging a scrollbar
* disable scrollbars when in multielement mode
Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-03-01 21:43:35 +01:00
Jed Fox
8e0206cc1e
Undo/Redo buttons, refactor menu toggles ( #793 )
...
* Make Undo & Redo and the menu buttons into actions; add undo/redo buttons
* Create variables for the ToolIcon colors
* Darken the menu buttons when they’re active
* Put the more intensive test in `perform`
* Fix & restyle hint viewer
* Add pinch zoom for macOS Safari
* Chrome/Firefox trackpad pinch zoom
* openedMenu → openMenu
* needsShapeEditor.ts → showSelectedShapeActions.ts
* Call showSelectedShapeActions
2020-03-01 20:39:03 +01:00
Lipis
0ee33fe341
Change the extension to .excalidraw ( #858 )
...
* Change the extension to .excalidra
* Support opening as well
* support .excalidraw extension on canvas DranAndDrop
Co-authored-by: Faustino Kialungila <Faustino.kialungila@gmail.com>
2020-02-29 18:42:26 +01:00
Lipis
5fff1f2d3e
Rename the packaged asar file ( #857 )
2020-02-29 16:23:09 +01:00
Lipis
b22ceb2dcf
Update README.md
2020-02-29 15:36:36 +01:00
Lipis
562b388326
Use relative path for static files ( #855 )
2020-02-29 14:24:14 +01:00
Lipis
097c5dfad7
Refactor: e -> event or error, err -> error, p -> pointer ( #831 )
...
* Refactor: e -> event or error, err -> error, p -> pointer
* simplify
2020-02-28 23:03:53 +01:00
Lipis
d2827aa40b
Add version to build and the archived asar app ( #854 )
2020-02-28 22:51:36 +01:00
Lipis
759df14143
Revert "Use direct URL for the backend ( #846 )" ( #852 )
...
This reverts commit 602f32b7430b7e3870934954da8549f33a31cd86.
2020-02-28 08:39:26 -08:00
Lipis
470da3be86
Switch Netlify to ZEIT Now ( #849 )
2020-02-28 16:33:54 +01:00
Faustino Kialungila
9953cc03b3
Add Manifest File ( #842 )
...
* manifest
* splashscreen
2020-02-28 16:08:15 +01:00
Lipis
602f32b743
Use direct URL for the backend ( #846 )
2020-02-28 13:12:34 +01:00
David Luzar
7e0e885417
ensure restored elements are normalized before filter ( #844 )
2020-02-27 17:37:43 +01:00
Lipis
a8a5733e50
New translations en.json (French) ( #841 )
2020-02-25 12:41:44 +01:00
Lipis
718713672a
New translations en.json (Portuguese) ( #840 )
2020-02-25 10:09:38 +01:00
Lipis
26ce7fc563
New Crowdin translations ( #838 )
2020-02-24 22:46:49 +01:00
David Luzar
8198d71af8
fix svg export ( #837 )
2020-02-24 21:08:13 +01:00
David Luzar
4977593ec4
fix exporting lines as svg ( #836 )
2020-02-24 18:30:21 +01:00
Lipis
19e746792e
New Crowdin translations ( #829 )
2020-02-24 17:34:54 +01:00
Faustino Kialungila
1355e0201c
use a const for default font value ( #834 )
2020-02-24 16:29:54 +01:00
Faustino Kialungila
2131befd7a
Fix pasting styles on text elements ( #833 )
2020-02-24 15:35:56 +01:00
Faustino Kialungila
2ad0716f3d
fix style pasting ( #832 )
...
* fix style pasting
* Update src/actions/actionStyles.ts
2020-02-24 15:21:13 +01:00
dependabot-preview[bot]
fbab93baff
Bump @testing-library/react from 9.4.0 to 9.4.1 ( #824 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 9.4.0 to 9.4.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v9.4.0...v9.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 11:42:30 +01:00
dependabot-preview[bot]
00c76c612b
Bump i18next-browser-languagedetector from 4.0.1 to 4.0.2 ( #825 )
...
Bumps [i18next-browser-languagedetector](https://github.com/i18next/i18next-browser-languageDetector ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/i18next/i18next-browser-languageDetector/releases )
- [Changelog](https://github.com/i18next/i18next-browser-languageDetector/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next-browser-languageDetector/compare/v4.0.1...v4.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 11:42:21 +01:00
dependabot-preview[bot]
84419b2efc
Bump @types/react from 16.9.19 to 16.9.22 ( #823 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.19 to 16.9.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 10:28:20 +01:00
dependabot-preview[bot]
558e547d93
Bump typescript from 3.7.5 to 3.8.2 ( #826 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.7.5 to 3.8.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.5...v3.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 10:28:12 +01:00
dependabot-preview[bot]
516a0354a1
Bump @types/jest from 25.1.2 to 25.1.3 ( #827 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 25.1.2 to 25.1.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 10:28:04 +01:00
dependabot-preview[bot]
f428c6bf5f
Bump browser-nativefs from 0.2.2 to 0.3.1 ( #828 )
...
Bumps [browser-nativefs](https://github.com/GoogleChromeLabs/browser-nativefs ) from 0.2.2 to 0.3.1.
- [Release notes](https://github.com/GoogleChromeLabs/browser-nativefs/releases )
- [Commits](https://github.com/GoogleChromeLabs/browser-nativefs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 10:27:55 +01:00
David Luzar
4b8b9965c2
fix early return from renderScene ( #815 )
2020-02-23 21:19:27 +01:00