Commit Graph

995 Commits (ebb1341bbd028ce7c65cc6ed15231ba0e687b49f)
 

Author SHA1 Message Date
Saugat Acharya 5413d59925
Bump react-scripts to version 3.4.1 (#1032)
* Bump react-scripts to version 3.4.1

* rebuild package-lock

Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Kent Beck 1e8cd2bd1c
Separated specification and implementation in TopErrorBoundary (#1031)
* Encapsulate SceneHistory. A little.

* Clean up TopErrorBoundary
5 years ago
David Luzar f6b36519f1
don't pass deleted elements to UI (#1029) 5 years ago
Lipis 71c31d9b8d
Remove Gitter from Readme (#1028) 5 years ago
Kent Beck dc618ab122
Encapsulate SceneHistory. A little. (#1016) 5 years ago
Lipis 46e619d800
New Crowdin translations (#1020) 5 years ago
David Luzar edd54d93b3
revert #1017 (#1025)
This reverts commit 1546c00c0c.
5 years ago
Faustino Kialungila 0ad6f4ec6b
Remove deleted elements from svg export (#1021)
* Remove deleted elements from svg export

* skip deleted elements

* remove old comment

Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Chang Yan 1546c00c0c
Fix adding incorrect dragging element when handleCanvasPointerD… (#1017) 5 years ago
Lipis 6b3dee6777
New Crowdin translations (#1011) 5 years ago
David Luzar fda06e4fc3
Fix history - the 2nd installment (#1014)
* don't regenerate versionNonce on pushEntry

* fix history handling around multi-point arrows

* remove filtering from getElementMap helper
5 years ago
Panayiotis Lipiridis 1d393a4ea0 Merge branch 'master' of github.com:excalidraw/excalidraw
* 'master' of github.com:excalidraw/excalidraw:
  Fix SpaceBar pan (#1013)
  fix history (#1009)
5 years ago
Panayiotis Lipiridis 99cd65de4a Locale 5 years ago
Faustino Kialungila f14aaccc38
Fix SpaceBar pan (#1013) 5 years ago
David Luzar 82ce068972
fix history (#1009)
* fix history

* tweak withBatchedUpdates typing
5 years ago
Panayiotis Lipiridis ca5f37850e Lower case locale 5 years ago
Panayiotis Lipiridis 9c65b0a686 Locale 5 years ago
Panayiotis Lipiridis a7a0282b31 Map two letters 5 years ago
Lipis 59fa371367
New translations en.json (Chinese Simplified) (#1006) 5 years ago
David Luzar ff033640e4
expose a few state props for debugging (#1008)
* expose a few state props for debugging

* rename h.appState & add h.setState

* support setting elements
5 years ago
Sanghyeon Lee cb66adc716
Add a Shortcut for Toggling Shape Lock (#1005)
* Update shortcuts.md for Lock

* Add 'Q' as a shortcut for toggling shape lock

* Add shortcut to LockIcon title

* use event.key instead

Co-authored-by: Faustino Kialungila <Faustino.kialungila@gmail.com>
5 years ago
Lipis cb68153a81
New Crowdin translations (#998) 5 years ago
David Luzar b7da524538
confirm arrow on doubleclick (#949)
* confirm arrow on double click

* change hint

* fix cursor not updating on click
5 years ago
David Luzar 254a0753ff
fix negative resize for non-multipoint elements (#1000) 5 years ago
Jed Fox d8bbe536a7
Restyle the mobile UI a bit (#1002)
* Restyle the bottom bar on mobile as an Island

* Shorter label for collaboration button, truncate too-long button labels

* Refactor safe area things to global vars

* Fix scroll bar positioning, don’t block scrollbars with menu island

* Update text
5 years ago
Faustino Kialungila f889f6da91
Update shortcuts.md (#1001)
* Update shortcuts.md

* lint:fix
5 years ago
Lipis 793e0e4aa0
Remove redundant text (#918) 5 years ago
David Luzar 23b785de68
Trim trailing newlines (#999)
* trim newlines for text elements

* fix comment
5 years ago
Chang Yan 6fe40516bf
deselect all elements when inserting text with double click (#996) 5 years ago
Pete Hunt 7d57d124bd
Fix alt drag (#995) 5 years ago
David Luzar 373d16abe6
improve & granularize ExcalidrawElement types (#991)
* improve & granularize ExcalidrawElement types

* fix incorrectly passing type

* fix tests

* fix more tests

* fix unnecessary spreads & refactor

* add comments
5 years ago
Lipis 1c545c1d47
New Crowdin translations (#990) 5 years ago
Pete Hunt b603337c3f
Fix multielements (#987) 5 years ago
Christopher Chedeau 0dc07135b7
Fix three rendering when loading (#986)
The problem is that syncActionResult wasn't using batching.
5 years ago
Pete Hunt e9f5175f51
Fix performance bug (#984) 5 years ago
dependabot-preview[bot] f4cc4253b8
Bump @testing-library/react from 9.5.0 to 10.0.1 (#975)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 9.5.0 to 10.0.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.5.0...v10.0.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
5 years ago
dependabot-preview[bot] a218ddd668
Bump asar from 2.1.0 to 3.0.1 (#974)
Bumps [asar](https://github.com/electron/asar) from 2.1.0 to 3.0.1.
- [Release notes](https://github.com/electron/asar/releases)
- [Changelog](https://github.com/electron/asar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/electron/asar/compare/v2.1.0...v3.0.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
5 years ago
Thomas Steiner 5ae4cd7dfb
Update to browser-nativefs 0.4.0 (#980) 5 years ago
Lipis a985d1b9b8
New Crowdin translations (#983)
* New translations en.json (Chinese Simplified)

* New translations en.json (French)

* New translations en.json (German)

* New translations en.json (Indonesian)

* 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 (Korean)

* New translations en.json (French)

* New translations en.json (Portuguese)
5 years ago
Faustino Kialungila ae9b64a623
CMD + D to Duplicate Selection (#982)
* cmd+d to duplicate selection

* use duplicateElement instead

* use duplicateElement instead

* Update actionDuplicateSelection.ts

* select the new duplicated element

* add locale

* use event.key instead of event.code

Co-authored-by: David Luzar <luzar.david@gmail.com>
5 years ago
dependabot-preview[bot] 6966a7a008
Bump rewire from 4.0.1 to 5.0.0 (#976)
Bumps [rewire](https://github.com/jhnns/rewire) from 4.0.1 to 5.0.0.
- [Release notes](https://github.com/jhnns/rewire/releases)
- [Changelog](https://github.com/jhnns/rewire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhnns/rewire/compare/v4.0.1...v5.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
5 years ago
Lipis 83e49232ee
New Crowdin translations (#978)
* New translations en.json (Korean)

* New translations en.json (Korean)

* New translations en.json (Korean)

* New translations en.json (Korean)

* New translations en.json (Korean)

* New translations en.json (Portuguese)

* New translations en.json (Portuguese)
5 years ago
Christopher Chedeau db1f97f59e
Revert "[RFC] Randomized names next to mouse pointers. (#971)" (#972)
This reverts commit dcb93f75e6.
5 years ago
Pete Hunt dcb93f75e6
[RFC] Randomized names next to mouse pointers. (#971)
* [WIP] Add names next to pointers

This implements the rendering and messaging across. Still need to do the UI to set the name.

Also, not really sure what's the best place to send the name and store it.

* Add randomized names

Co-authored-by: Christopher Chedeau <vjeux@fb.com>
5 years ago
Keyan Zhang d58216f5ec
[RFC] show confirmation dialog before the user closes the page (#957) 5 years ago
Christopher Chedeau fed7054114
Fix hit testing threshold (#969)
* Fix hit testing threshold

- The bounding box was not correctly extended to take into account the threshold. It was only for y axis but not x.
- The bezier threshold was using 20 instead of 10 and not taking into account zoom level.

Both those issues are fixed and now the behavior looks good on all the shapes I can test.

* fix_tests
5 years ago
Christopher Chedeau 2937efacde
Remove last get/setTransform (#964)
My original hack to put the scale when we create the canvas element doesn't make much sense. It should be done when we are rendering the scene. I moved it there in this PR.

The rest was all about forwarding the scale to where it's needed.
5 years ago
Lipis 79ea76b48b
Different color for the stroke of the collaborator's arrow (#963)
* Different color for the stroke of the arrow

* Sort
5 years ago
Jed Fox e44801123a
Restyle the color picker a touch (#920) 5 years ago
Lipis d834ff4d89
New Crowdin translations (#912) 5 years ago