Commit Graph

731 Commits (31f76d59a25ae0daded9c57d5088f382e92ef7ca)
 

Author SHA1 Message Date
Kent Beck 95eaadeb85
Refactor paste code ()
Christopher Chedeau 6056170d4b
Fix wysiwyg center ()
This wasn't taking into account zoom properly.

The logic should probably get refactored a bit, it's not ideal that we're passing canvas, state and scale as different arguments. Also it's weird that the function that returns the center is computing the viewport translation. But I'm not motivated enough to fix it right now...

Fixes 
Kent Beck aa54364bd6
Use existing helper to copy all state ()
Lipis 2a373571f8
Change order of the fill options ()
Lipis 90c83927ad
New Crowdin translations ()
David Luzar cac2dda5ac
Add loading state ()
* add loading state

* update snapshots

* add border radius

* fix comment breaking build jsx
Sanghyeon Lee d8708cb14f
Apply scroll-back-to-content's z-index only for mobile ()
ref: https://github.com/excalidraw/excalidraw/pull/1002/files#diff-6a2256f44598ec970b4bd034962e011eR376
David Luzar 6fd2a3b2e5
fix z-index action to account for deleted elems and add tests ()
Lipis fb82715ef7
New Crowdin translations ()
* New translations en.json (Chinese Traditional)

* New translations en.json (Chinese Traditional)
Jed Fox 2f1b706318
Clean up package.json ()
* Remove unnecessary metadata from package.json

* Remove homepage field, sort keys
Sanghyeon Lee 051a946438
Add Enter key handler that can start text editing ()
* Add handler that can start text editing with Enter key

* Refine `startTextEditing` parameters

* Apply prettier fixes
Jed Fox 5b9c18a8b7
Remove support for some older browsers that probably didn’t wor… ()
Marcel Kloubert 12d7550958
fixed generateCollaborationLink() ()
Faustino Kialungila 4442addc02
Type action names ()
* Type action names

* improve typing

Co-authored-by: dwelle <luzar.david@gmail.com>
Lipis 9cc1037e7b
New Crowdin translations ()
David Luzar 42df058223
load from localStorage only if not in multiplayer ()
Sanghyeon Lee 104e48b6cb
Add the shape lock button for mobile ()
Lipis e38045ccad
New Crowdin translations ()
* New translations en.json (Norwegian)

* New translations en.json (Norwegian)

* New translations en.json (Chinese Simplified)

* New translations en.json (Chinese Simplified)

* 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 (Chinese Traditional)

* New translations en.json (Hungarian)

* New translations en.json (Norwegian)

* New translations en.json (French)
Pete Hunt bd7856adf3
Much more thorough tests! ()
Lipis d4ff5cb926
npm-audit-fix ()
David Luzar c416de3499
fix lint not failing on warnings on CI ()
David Luzar cf4fa30a57
tweak png copy button label ()
* tweak png copy button label

* fix lint
dependabot-preview[bot] 722c498abe
Bump prettier from 1.19.1 to 2.0.1 ()
* Bump prettier from 1.19.1 to 2.0.1

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.1)

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

* Update formatting

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
dependabot-preview[bot] 251fa27c65
Bump @types/react from 16.9.23 to 16.9.25 ()
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.23 to 16.9.25.
- [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>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
dependabot-preview[bot] 4fede2387d
Bump eslint-config-prettier from 6.10.0 to 6.10.1 ()
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.10.0 to 6.10.1.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.10.0...v6.10.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
dependabot-preview[bot] 876eb5a76e
Bump react from 16.13.0 to 16.13.1 ()
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.13.0 to 16.13.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/v16.13.1/packages/react)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Lipis c7f10c5de2
New Crowdin translations ()
* New translations en.json (German)

* New translations en.json (German)

* New translations en.json (German)
Jed Fox 8a6e2bf9cf
Use system fonts where possible. ()
Also put Arial after Helvetica. I hate Arial.
Lipis e9058dc5a7
Checks on push and fix formatting ()
Edwin Lin f1160a1534
load scene from localStorage in collaboration if user is first… ()
* load scene from localStorage in collaboration if user is first in room

* load scene from localStorage in collaboration prior to syncing with server

* fix merge

Co-authored-by: dwelle <luzar.david@gmail.com>
Kent Beck ba3cec8d0d
App mitosis begins ()
Lipis cdf11809dc
Refactor README ()
Lipis 125d1294a0
New Crowdin translations ()
Jed Fox daa121e909
Add a warning to encourage people to update translations direct… ()
Lipis 5b6723b514
New Crowdin translations ()
Kent Beck d3d25a128c
Extract helper for App context menu handling ()
* Encapsulate SceneHistory. A little.

* Clean up TopErrorBoundary

* Extract helper for App context menu handling
Saugat Acharya 5413d59925
Bump react-scripts to version 3.4.1 ()
* Bump react-scripts to version 3.4.1

* rebuild package-lock

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

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

* skip deleted elements

* remove old comment

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

* fix history handling around multi-point arrows

* remove filtering from getElementMap helper
Panayiotis Lipiridis 1d393a4ea0 Merge branch 'master' of github.com:excalidraw/excalidraw
* 'master' of github.com:excalidraw/excalidraw:
  Fix SpaceBar pan ()
  fix history ()
Panayiotis Lipiridis 99cd65de4a Locale
Faustino Kialungila f14aaccc38
Fix SpaceBar pan ()