dependabot[bot]
cdcc91faa5
chore(deps-dev): bump mini-css-extract-plugin from 1.3.4 to 1.3.5 in /src/packages/excalidraw ( #2885 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.3.4...v1.3.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
9093341dc1
chore(deps-dev): bump webpack from 5.17.0 to 5.19.0 in /src/packages/excalidraw ( #2886 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.17.0 to 5.19.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.17.0...v5.19.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
David Luzar
1973ae9444
fix: stop flooring scroll positions ( #2883 )
4 years ago
David Luzar
10cd6a24b0
feat: increase max zoom ( #2881 )
4 years ago
David Luzar
6abf4f52ff
refactor: remove duplicate key handling ( #2878 )
4 years ago
Aakansha Doshi
4624ec2bd6
fix: apply initialData appState for zenmode and grid stats and refactor check param for actions ( #2871 )
...
* fix: pass default value for grid mode / zen mode so it sets the value from initialData appState
fixes #2870
* change checked from boolean to be a function which recieves appState and returns boolean
* fix
* use clsx
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Arun
e8685c5236
feat: Remove copy & paste from context menu on desktop ( #2872 )
...
* Remove copy & paste from context menu on desktop
* fix build
* Make requested changes
* More changes
* make into function
* update changelog
* fix tests
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Aakansha Doshi
6e9df2bae7
fix(app.tsx): show correct state of Nerd stats in context menu when nerd stats dialog closed ( #2874 )
...
fixes #2873
4 years ago
David Luzar
d4e12a2962
reuse scss variables in js for SSOT ( #2867 )
4 years ago
Kartik Prajapati
978e85a33b
feat: Add separators on context menu ( #2659 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
Thomas Steiner
b5e26ba81f
refactor: Rename browser-nativefs to browser-fs-access ( #2862 )
4 years ago
Excalidraw Bot
4392a4644a
chore: Update translations from Crowdin ( #2861 )
4 years ago
Lipis
b1c8c538ee
fix: Change the timeout for reporting the version to 30s ( #2858 )
4 years ago
Excalidraw Bot
f6492895df
chore: Update translations from Crowdin ( #2839 )
...
Co-authored-by: Excalidraw Bot <77840495+excalidrawbot@users.noreply.github.com>
4 years ago
David Luzar
e75f5f20e7
fix: remote pointers not accounting for offset ( #2855 )
4 years ago
David Luzar
0a0be839b9
refactor: rewrite collabWrapper to remove TDZs and simplify ( #2834 )
4 years ago
dependabot[bot]
03f6d9c783
chore(deps-dev): bump webpack-cli from 4.3.1 to 4.4.0 in /src/packages/excalidraw ( #2847 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
df745c1098
chore(deps-dev): bump webpack from 5.15.0 to 5.17.0 in /src/packages/excalidraw ( #2844 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
b888f7e7ba
chore(deps-dev): bump webpack-bundle-analyzer from 4.3.0 to 4.4.0 in /src/packages/utils ( #2848 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
0815f3282e
chore(deps-dev): bump webpack-cli from 4.3.1 to 4.4.0 in /src/packages/utils ( #2849 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
9dd58288de
chore(deps-dev): bump webpack-bundle-analyzer from 4.3.0 to 4.4.0 in /src/packages/excalidraw ( #2845 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
c2e2bb495c
chore(deps-dev): bump webpack from 5.15.0 to 5.17.0 in /src/packages/utils ( #2846 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.15.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.15.0...v5.17.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Lipis
26acebcdb6
chore: Update translations from Crowdin ( #2817 )
4 years ago
David Luzar
9dc930b447
feat: add ctrl-y to redo ( #2831 )
4 years ago
Aakansha Doshi
6e767fc949
fix(actionmenu): toggle help dialog when "shift+?" is pressed ( #2828 )
4 years ago
Aakansha Doshi
49bd683401
fix(analytics.ts): add safe check for process so Excalidraw can be loaded via script ( #2824 )
...
* fix(analytics.ts): add safe check for process so Excalidraw can be loaded via script
* fix
4 years ago
Aakansha Doshi
3922ee8c11
docs: update changelog and readme and release 0.2.1 ( #2821 )
4 years ago
Aakansha Doshi
8c2bc94336
build(webpack): bundle css files with js ( #2819 )
4 years ago
Lipis
a8e28afbad
chore: Update translations from Crowdin ( #2790 )
...
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
4 years ago
Aakansha Doshi
68347ba476
docs(changelog): add about extra api's in changelog and separate package and library updates ( #2813 )
4 years ago
Victor Massé
ce2c341910
feat: Change shortcuts menu to help menu ( #2812 )
...
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
4 years ago
dependabot[bot]
e72ff6be66
chore(deps-dev): bump webpack from 5.12.3 to 5.15.0 in /src/packages/utils ( #2803 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.12.3 to 5.15.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.12.3...v5.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
0ea29675df
chore(deps-dev): bump webpack from 5.12.3 to 5.15.0 in /src/packages/excalidraw ( #2800 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.12.3 to 5.15.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.12.3...v5.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
da2ad4f37c
chore(deps-dev): bump sass-loader from 10.1.0 to 10.1.1 in /src/packages/excalidraw ( #2801 )
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 10.1.0 to 10.1.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases )
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.1.0...v10.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
f8e890df7b
chore(deps-dev): bump mini-css-extract-plugin from 1.3.3 to 1.3.4 in /src/packages/excalidraw ( #2802 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.3.3...v1.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
João Forja
e26f374ca6
improvement: Enhance resize for non generic elements ( #2720 )
4 years ago
Lipis
c799b28a0e
fix: Count all versions ( #2798 )
4 years ago
Aakansha Doshi
ee703206b0
docs: update changelog and release 0.2.0 ( #2725 )
...
* docs(changelog): update changelog and release 0.2.0
* fix
* Add missing API's
* update
* fix
* fix
* Apply suggestions from code review
* remove
* fix
* fix
4 years ago
Arun
543c624405
feat: Add toast ( #2772 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Lipis
0bf6830373
docs: Update readme with documentation ( #2788 )
4 years ago
Rafi
af79461f41
fix: allow text-selecting in dialogs & reset cursor ( #2783 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Lipis
fd699c0447
chore: Update translations from Crowdin ( #2742 )
...
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
4 years ago
Rafi
511eb62228
refactor: Converting span to kbd tag ( #2774 )
4 years ago
David Luzar
04c46fc01a
fix: don't render due to zoom after unmount ( #2779 )
...
* fix: don't render due to zoom after unmount
* update changelog
* remove unnecessary flush
4 years ago
Lipis
49e792649d
fix: Track the chart type correctly ( #2773 )
4 years ago
dependabot[bot]
4e1caf2417
chore(deps-dev): bump terser-webpack-plugin in /src/packages/excalidraw ( #2750 )
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 5.0.3 to 5.1.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.0.3...v5.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
034f2e470b
chore(deps-dev): bump webpack in /src/packages/utils ( #2768 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.11.1 to 5.12.3.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.11.1...v5.12.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
David Luzar
adcd28f348
fix: delay version logging & prevent duplicates ( #2770 )
4 years ago
dependabot[bot]
62f1ed74f1
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #2769 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.11.1 to 5.12.3.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.11.1...v5.12.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
8fa4273969
chore(deps-dev): bump ts-loader in /src/packages/excalidraw ( #2749 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 8.0.13 to 8.0.14.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.13...v8.0.14 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
672068ce7e
chore(deps-dev): bump ts-loader in /src/packages/utils ( #2753 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 8.0.13 to 8.0.14.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.13...v8.0.14 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
f1fc308a5d
chore(deps): bump nanoid from 2.1.11 to 3.1.20 ( #2581 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
4 years ago
Lipis
001880ba88
feat: Track current version ( #2731 )
4 years ago
Lipis
bafbe9bbc8
feat: Add language separator and list English twice ( #2739 )
4 years ago
Arun
eb71e571e0
improvement: Perform lossless compression on all PNG images ( #2740 )
4 years ago
Lipis
b608ab74cc
chore: New Crowdin updates ( #2681 )
...
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Carl Sverre
a13c4f72f5
docs: adding PR guidelines for contributors ( #2736 )
4 years ago
Carl Sverre
629341da4d
improvement: adding zen mode to context menu ( #2734 )
4 years ago
David Luzar
778e4b08af
feat: Add cmd+o shortcut to load scene ( #2732 )
4 years ago
Arun
b6708fb73f
improvement: Make arrowheads keybinds color accessible on dark mode ( #2724 )
4 years ago
Aakansha Doshi
cdffed285d
fix(readme): fix typo for initialData and point all links to master ( #2707 )
...
* fix(readme): fix typo for initialData
* Update src/packages/excalidraw/README.md
* fix lint
* Update src/packages/excalidraw/README.md
* point all links to master
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
Lipis
3aa01ad272
chore: Remove tracking ( #2722 )
...
* chore: Remove tracking
* process
* rename
* remove
* prod
* Update public/index.html
Co-authored-by: David Luzar <luzar.david@gmail.com>
* Update public/index.html
* eol
* more
* stats
Co-authored-by: David Luzar <luzar.david@gmail.com>
4 years ago
Jaiwanth
4acdc47ef0
improvement: do not reset to selection for draw tool ( #2721 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Aakansha Doshi
ade2565f49
feat: add langCode and renderFooter props ( #2644 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Lipis
69878167c2
improvement: Make dialogs look more like dialogs ( #2686 )
...
Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
dependabot[bot]
eb1f717d35
chore(deps-dev): bump ts-loader in /src/packages/utils ( #2700 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 8.0.12 to 8.0.13.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.12...v8.0.13 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
8e9af5c51b
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #2698 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.11.0...v5.11.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
afe0c760f6
chore(deps-dev): bump webpack-cli in /src/packages/utils ( #2701 )
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.2.0 to 4.3.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.2.0...webpack-cli@4.3.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
a231cefac0
chore(deps-dev): bump webpack-cli in /src/packages/excalidraw ( #2697 )
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.2.0 to 4.3.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.2.0...webpack-cli@4.3.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
cb4c9d16fc
chore(deps-dev): bump webpack in /src/packages/utils ( #2699 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.11.0...v5.11.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
7366f089ba
chore(packages/excalidraw): bump ts-loader from 8.0.12 to 8.0.13. ( #2696 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 8.0.12 to 8.0.13.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.12...v8.0.13 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Benja Kugler
7c3513b9df
feat: browse libraries styles fixed ( #2694 )
...
* feat: browse libraries styles fixed
* simplify jsx & css
* remove justify-content
* fix padding/margin
* Update src/components/LayerUI.scss
Co-authored-by: benjamin.kugler <benjamin.kugler@elliemae.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
David Luzar
aef3644c93
fix: scene not initialized properly when tab not focused ( #2677 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
David Luzar
3aab81bc35
docs: add tsdoc for certain element props ( #2673 )
...
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
4 years ago
Jed Fox
3b0fb1562d
feat: Require use of a preset dialog size; adjust dialog sizing ( #2684 )
4 years ago
Jed Fox
0488b7b5c6
fix(css): Fix compile error ( #2685 )
4 years ago
Jed Fox
b8d13c98b5
refactor: Media queries ( #2680 )
4 years ago
Lipis
6f82a88b79
chore: Cleanup unused labels ( #2682 )
4 years ago
Lipis
022f349dc6
feat: Add line chart and paste dialog selection ( #2670 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
Co-authored-by: Jed Fox <git@jedfox.com>
4 years ago
Harshil Parmar
8091ac6c08
style: media query for hiding shortcuts for mobile view ( #2667 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
Luo
bc414ccaaf
feat: tweak editing behavior ( #2668 )
...
* feat: tweak editing behavior
* fix tests
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Lipis
e9cb7ee77c
chore: New Crowdin updates ( #2620 )
...
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
4 years ago
Lipis
86c036505b
chore: Remove unused cursorX, cursorY from AppState ( #2665 )
4 years ago
David Luzar
8dfea49ec1
improvement: change hint for 2-point lines on resize ( #2655 )
4 years ago
Lipis
d7f314cda8
refactor: Remove duplicate entry from en.json ( #2654 )
4 years ago
Lipis
6adb45ef5a
feat: Change title to Excalidraw after a timeout ( #2656 )
...
* feat: Change title to Excalidraw after a timeout
* clear timeout
4 years ago
Lipis
b0eeb8e6e6
refactor: Remove the word toggle from labels ( #2648 )
4 years ago
Rene
0faec7efb6
feat: Checkmark to toggle context-menu-items ( #2645 )
4 years ago
Rene
aff817c667
align items in context menu ( #2640 )
4 years ago
Christopher Chedeau
9a3a3ecb44
fix: Center zoom on iPhone and iPad ( #2642 )
...
My last attempt removed the gesture handler altogether but broke macbooks. This one keeps it working on macbook but makes sure it zooms properly on iPhone and iPad.
4 years ago
Christopher Chedeau
81f8039ec7
fix: Don't break zoom when zooming in on UI ( #2638 )
...
If you start the gesture on the chrome, gesture is not defined and the zoom will be set to NaN and you will have to refresh.
Typescript was actually right and we shouldn't have overridden the bang ;)
Repro:
- On iPhone touch down on a shape, touch down on the chrome, start moving around
- See that the selection is off, but the zoom is not being modified like crazy.
https://user-images.githubusercontent.com/197597/102722206-6c182400-42b4-11eb-9865-6ae1cd0af9be.MP4
4 years ago
David Luzar
b997e69ebc
improvement: Tweak error message on image import ( #2619 )
...
* improvement: tweak error message on image import
* tweak copy
4 years ago
dependabot[bot]
4a89aba682
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #2625 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.10.1 to 5.11.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.10.1...v5.11.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
David Luzar
34dcf998bd
docs: excalidraw package usage example tweaks ( #2608 )
...
Co-authored-by: Aakansha Doshi <monstershome@gmail.com>
4 years ago
Aakansha Doshi
325d1bec91
feat: Add onExportToBackend prop so host can handle it ( #2612 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Lipis
b917e42694
fix: Consistent case for export locale strings ( #2622 )
4 years ago
Christopher Chedeau
eb9e67e36a
improvement: Support numbers with commas in them ( #2636 )
4 years ago
dependabot[bot]
f14ae52e94
chore(deps-dev): bump @babel/preset-env in /src/packages/excalidraw ( #2624 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.12.10 to 7.12.11.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.11/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
f93eb658d6
chore(deps-dev): bump webpack-bundle-analyzer ( #2623 )
...
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases )
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v4.2.0...v4.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Aakansha Doshi
9bac44ee75
fix(appstate.ts): Remove unnecessary console.error as it was polluting Sentry ( #2637 )
4 years ago
dependabot[bot]
91b4109f67
chore(deps-dev): bump webpack-bundle-analyzer in /src/packages/utils ( #2626 )
...
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases )
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v4.2.0...v4.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
6e45cb95db
chore(deps-dev): bump webpack in /src/packages/utils ( #2627 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.10.1 to 5.11.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.10.1...v5.11.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
5edf82898b
chore(deps-dev): bump @babel/preset-env in /src/packages/utils ( #2628 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.12.10 to 7.12.11.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.11/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Lipis
5d6590c200
ci: Update the coverage report for i18n PRs ( #2592 )
...
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
4 years ago
Andrés Rivera
fb582b45db
fix: Fix centering element on init ( #2445 )
...
Co-authored-by: Andrés Rivera <andres@MBP.local>
Co-authored-by: Lipis <lipiridis@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Jaiwanth
7e9fdf85a0
fix: Dropdown for Arrowheads overflow ( #2596 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
David Luzar
98c26642d0
fix: hide collab button when onCollabButtonClick not supplied ( #2598 )
4 years ago
Kartik Prajapati
f919907855
Enhance delete button in context menu ( #2591 )
4 years ago
Aakansha Doshi
8729ab3c54
chore(package/utils): update deps ( #2593 )
4 years ago
Aakansha Doshi
c783763307
chore(package/excalidraw): update deps ( #2589 )
4 years ago
dependabot[bot]
f151f45df8
Bump webpack from 4.42.0 to 4.44.2 in /src/packages/utils ( #2554 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.42.0 to 4.44.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.42.0...v4.44.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
f33880e005
Bump @babel/plugin-transform-arrow-functions in /src/packages/utils ( #2558 )
...
Bumps [@babel/plugin-transform-arrow-functions](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-arrow-functions ) from 7.8.3 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-plugin-transform-arrow-functions )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
29ed50f6ea
Bump webpack-cli from 3.3.11 to 4.2.0 in /src/packages/excalidraw ( #2571 )
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 3.3.11 to 4.2.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.11...webpack-cli@4.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
4 years ago
Lipis
ce52c18382
fix: Add width/height for the lines in charts ( #2586 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
4 years ago
Lipis
3b86944365
chore: New Crowdin updates ( #2480 )
4 years ago
João Forja
4c7b1a2269
fix: Visibility and zooming when canvas offset is not zero ( #2534 )
4 years ago
Kartik Prajapati
60864ace54
feat: Add tooltip with icon for embedding scenes ( #2532 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Daishi Kato
4b32c03994
feat: export exportToCanvas in utils ( #2583 )
4 years ago
Zen Tang
5abe9b93e8
feat: Add zoom to fit for selected elements ( #2522 )
4 years ago
Aakansha Doshi
59cff0f219
ci: Add github action to make sure changelog for @excalidraw/excalidraw is updated ( #2518 )
...
Add guidelines for changelog and group the commits
update the changelog with the latest commits since the last release
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
Lipis
81c17a56fb
RTL support for the stats dialog ( #2530 )
4 years ago
Zen Tang
802b8c50d5
Insert Library items in the middle of the screen ( #2527 )
...
Co-authored-by: Zen Tang <zen@wayve.ai>
4 years ago
Rene
94fe1ff6e6
Show shortcut context menu ( #2501 )
...
Co-authored-by: rene_mbp <harryloveslearning@googlemail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Steve Ruiz
9cfe7b45e5
Aligns arrowhead schemas ( #2517 )
4 years ago
Steve Ruiz
9cf54041dc
Expand canvas padding based on zoom. ( #2515 )
4 years ago
Kartik Prajapati
8f269eb840
Fix Library Menu Layout ( #2502 )
4 years ago
Zen Tang
1a134a88bd
Add Cut to menus ( #2511 )
...
Co-authored-by: Zen Tang <zen@wayve.ai>
4 years ago
David Luzar
ae15380a9f
hide stats and scrollToContent-button when mobile menus open ( #2509 )
4 years ago
Lipis
0efa62cf7c
Hide shortcuts on pickers for mobile ( #2508 )
4 years ago
Steve Ruiz
c742225f43
More Arrowheads: dot, bar ( #2486 )
...
Co-authored-by: Jed Fox <git@jedfox.com>
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
Lipis
7c7fb4903b
Don't throw error when localStorage is null ( #2505 )
4 years ago
dependabot[bot]
a4e1f2c5c1
Bump ini from 1.3.5 to 1.3.7 in /src/packages/utils ( #2499 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
068c9b4876
Bump ini from 1.3.5 to 1.3.7 in /src/packages/excalidraw ( #2500 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Lipis
b2d442abce
Support CSV graphs and improve the look and feel ( #2495 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Aakansha Doshi
7bfe7a1924
docs(readme.md): Update the homepage URL so it redirects to correct readme ( #2498 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
Aakansha Doshi
48e27f327f
Final steps before the release of @excalidraw/excalidraw ( #2464 )
...
* docs(packages/excalidraw): add read me
* Add changelog and update version
4 years ago
Thomas Steiner
182a3e39e1
Add "Safari" to PWACompat loading condition
...
They froze the UA string on iPad.
4 years ago
David Luzar
4672a2a135
fix misaligning on grid paste ( #2494 )
...
* fix misaligning on grid paste
* tweak naming
4 years ago
Lipis
c7b5cdb71e
Reduce the maximum size of the binding gap ( #2450 )
4 years ago
Aakansha Doshi
8f8fd023f8
fix(app.tsx): add safe check for readyPromise ( #2489 )
...
* fix(app.tsx): add safe check for readyPromise
* make type-safe
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Aakansha Doshi
88fc961559
add separate entry point for fonts as its messing up the js bundle ( #2485 )
4 years ago
Steve Ruiz
c291edfc44
Add Arrowheads to Arrows ( #2452 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
Aakansha Doshi
bd8e860d7f
move all chunks inside excalidraw-assets folder when bundling ( #2484 )
4 years ago
David Luzar
3be5038c14
Revert "Remove native gesture "support" from iOS ( #2457 )" ( #2483 )
...
This reverts commit 2b6d1470f9
.
4 years ago
Lipis
5e57f408c5
Add link to the public libraries ( #2469 )
4 years ago
Lipis
dd993adc5c
Add stats for nerds ( #2453 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
João Forja
aa221837fc
Enhance aspect ratio tools | Rectangle, Diamond, Ellipses ( #2439 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Aakansha Doshi
4c90ea5667
chore(package.json): set public access for npm packages ( #2463 )
4 years ago
Christopher Chedeau
5071cffb02
Fix scrollbars when no elements ( #2460 )
...
I already fixed this but a special case for no elements was added in getCommonBounds to return 0 and reintroduce this bug. I'm not exactly sure where to put this check tbh. Fixing it here so that I'm not annoyed anymore at least.
I checked some of the callsites, some of them related to selection will never pass an empty array, some to export will break if we remove the 0, 0, 0, 0 fix.
4 years ago
Faustino Kialungila
fb02329c11
show lockicon on a second row on mobile ( #2462 )
...
* show lockicon on a second row
* fix darkMode toggle acting as a lock icon
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Christopher Chedeau
6081bb5941
Do not override cmd/ctrl-f for search ( #2461 )
...
F is full screen but we shouldn't override cmd/ctrl-f for search. It's useful for searching in the list of keywords
4 years ago
Christopher Chedeau
533815c081
Fix middle handles on mobile ( #2459 )
...
For rendering we always use mouse in order to check which handles to display but when doing the hit test, we used pointer which has a different size. So we couldn't use the middle handles for small shapes. This is now fixed.
cc @j-f1 as you added it in #790
4 years ago
Christopher Chedeau
2b6d1470f9
Remove native gesture "support" from iOS ( #2457 )
...
We were processing both the touch move and gesture on iOS which was first firing twice as many set state, but also caused issues:
- The gesture implementation didn't support zooming on the center
- Touching down on a circle and then on the bottom chrome would freak out because initialScale was null
Touching down on the menu still isn't perfect as it shifts the shape around but doesn't completly break the zoom
4 years ago
Christopher Chedeau
545b214558
Don't open context menu when multi-touch ( #2455 )
...
This was very annoying when you would zoom on mobile and the context menu would appear.
The problem was the following:
- You put a finger in, it creates a timeout
- You put a second finger in, it creates another timeout
- 300ms elapsed, which is not that much
- The context menu opens
- Now you move your fingers, which works, but the context menu is still open
The fix is to invalidate the context menu if a second finger is added even if the first one hasn't moved.
4 years ago
Aakansha Doshi
e617ccc252
Factor out collaboration code ( #2313 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Lipis
d8a0dc3b4d
Add events on load ( #2451 )
4 years ago
Lipis
e392bebc40
Add library events ( #2448 )
4 years ago
Lipis
a2132c9bb7
New Crowdin weekly updates ( #2420 )
...
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
4 years ago
Lipis
66e5b18e4e
Add more events for sharing and refactor I/O, dialogs ( #2443 )
4 years ago
Panayiotis Lipiridis
c43109a230
Don't count first load
4 years ago
Lipis
668150a667
More events for layers, align, colors and swap name <=> category ( #2442 )
4 years ago
Lipis
0ef60dce2d
More export events ( #2441 )
4 years ago
Lipis
abde1daba4
Add basic event actions to analytics ( #2375 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Lipis
014097a97e
refactor: Stop using the deprecated keyCode ( #2426 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
Co-authored-by: David Luzar <luzar.david@gmail.com>
4 years ago
David Luzar
36980160ae
Revert "Remove unused project name from export dialog ( #2427 )" ( #2436 )
4 years ago
Aakansha Doshi
084aff2bf3
fix(app.tsx): use cursorx, cursory in onGestureChange as pointers are empty ( #2424 )
4 years ago
Lipis
bdb1fb2dae
Add border to the Avatars ( #2428 )
4 years ago
Lipis
b21fd49412
chore: Minor refactoring for consistency ( #2425 )
4 years ago
Lipis
204c8370a0
Remove unused project name from export dialog ( #2427 )
...
* Remove unused project name from export dialog
* snaps
4 years ago
Aakansha Doshi
ca60244aa3
hide fill icons when fill color transparent ( #2414 )
...
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
4 years ago
Luo
6c0296c434
click on library icon should toggle the LibraryMenu ( #2421 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
Lipis
1269b9ab17
New Crowdin updates (Persian) ( #2418 )
4 years ago
Lipis
2f9a849170
New Crowdin updates (Removed languages that were less than 30% in Crowdin) ( #2417 )
4 years ago
Jed Fox
8d479ab238
RTL updates ( #2416 )
...
* Update a bunch of icons to be mirrored in RTL
* Fix RTL layout issues in in zen mode and collaboration
* Small change to the shortcuts dialog to make isRTL unnecessary
* Tweaks to alignment in RTL
4 years ago
Steve Ruiz
fec48060f7
Improves distribute algorithm ( #2415 )
...
* Update disitrubte.ts
* Update disitrubte.ts
* Simplifies operations
* Combines algorithms
4 years ago
Lipis
2de7f73a71
New Crowdin updates ( #2407 )
...
* New translations en.json (Arabic)
* New translations en.json (Slovak)
* New translations en.json (Norwegian Bokmal)
* New translations en.json (Burmese)
* New translations en.json (Hindi)
* New translations en.json (Norwegian Nynorsk)
* New translations en.json (Tamil)
* New translations en.json (Persian)
* New translations en.json (Indonesian)
* New translations en.json (Galician)
* 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 (Portuguese)
* New translations en.json (Korean)
* New translations en.json (German)
* New translations en.json (Russian)
* New translations en.json (Romanian)
* New translations en.json (French)
* New translations en.json (Spanish)
* New translations en.json (Bulgarian)
* New translations en.json (Catalan)
* New translations en.json (Greek)
* New translations en.json (Polish)
* New translations en.json (Finnish)
* New translations en.json (Hebrew)
* New translations en.json (Hungarian)
* New translations en.json (Italian)
* New translations en.json (Japanese)
* New translations en.json (Dutch)
* New translations en.json (Hausa)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (German)
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Finnish)
* New translations en.json (Norwegian Bokmal)
* Auto commit: Calculate translation coverage
* New translations en.json (Indonesian)
* Auto commit: Calculate translation coverage
* New translations en.json (Chinese Traditional)
* Auto commit: Calculate translation coverage
* New translations en.json (Ukrainian)
* Auto commit: Calculate translation coverage
* New translations en.json (Italian)
* Auto commit: Calculate translation coverage
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
4 years ago
Steve Ruiz
198106e297
Add distribute actions. ( #2395 )
4 years ago
dependabot-preview[bot]
6718902645
Bump prettier from 2.1.2 to 2.2.0 ( #2401 )
...
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Lipis
7aa58561c8
New Crowdin updates ( #2394 )
...
* New translations en.json (French)
* New translations en.json (Japanese)
* Auto commit: Calculate translation coverage
* New translations en.json (Japanese)
* Auto commit: Calculate translation coverage
* New translations en.json (Japanese)
* Auto commit: Calculate translation coverage
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
4 years ago
Lipis
ca3cf6971d
New Crowdin updates ( #2364 )
...
* New translations en.json (Arabic)
* Auto commit: Calculate translation coverage
* New translations en.json (Korean)
* Auto commit: Calculate translation coverage
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
4 years ago
Rene
a1fbec1030
Remove last committed point json ( #2371 )
...
Co-authored-by: rene_mbp <harryloveslearning@googlemail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
David Luzar
bf143ed0b8
ignore CapsLock when handling keyDown event ( #2373 )
...
* ignore CapsLock when handling keyDown event
* fix `this`
4 years ago
David Luzar
68aafe31f9
fix portal teardown ( #2370 )
4 years ago
David Luzar
5b829772d9
Fix library import ( #2360 )
4 years ago
Lipis
dad9ad9bf4
don't reset specific appState props on canvas clear ( #2359 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
4 years ago
Lipis
d2a730837e
New Crowdin updates ( #2332 )
4 years ago
Lipis
a20f3240fd
Prefer arrow functions ( #2344 )
4 years ago
Lipis
e05acd6fd9
Update ESLint rules ( #2342 )
4 years ago
David Luzar
56938cf874
fix modal island ref init ( #2341 )
...
* fix modal island ref init
* remove unnecessary sIP
* naming
4 years ago
Lipis
5d295415db
Keep errors, elements and comments consistent ( #2340 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
4 years ago
Noel Schnierer
2a20c44338
fix: fonts not cached by service worker ( #2338 )
4 years ago
Aakansha Doshi
dcedd17f57
Add bundle analyzer to webpack behind env variable ( #2330 )
4 years ago
David Luzar
455badb23e
fix export preview flicker ( #2335 )
4 years ago
João Forja
566e6a5ede
Zoom on cursor | Issue #940 ( #2319 )
4 years ago
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>
4 years ago
Lipis
eca2bdabcc
New Crowdin updates ( #2311 )
4 years ago
Guillaume Grossetie
a7da8901d8
Excalidraw export ( #2246 )
4 years ago
Noel Schnierer
7491fcc3f3
use icons for toggle labels ( #2315 )
4 years ago
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>
4 years ago
David Luzar
411bc2aa0a
SW fix ( #2320 )
4 years ago
David Luzar
ba3f548b91
Fix library dnd ( #2314 )
4 years ago
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>
4 years ago
David Luzar
56215c6c2b
remove eslint two disabled rules & fix ( #2309 )
4 years ago
Giacomo Debidda
fc58e51ab3
Show error message when canvas to export is too big ( #1256 ) ( #2210 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Geraint
5c26bd19d7
SVG export: add image size ( #2292 )
4 years ago
Lipis
9de6c947ef
Update react-scripts, TS and remove ESlint as it exist in CRA ( #2302 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
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>
4 years ago
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>
4 years ago
Andrew Aquino
5e55e77f54
enable ColorPicker keyboard shortcuts if using custom color ( #2288 )
4 years ago
David Luzar
f404ab6f50
clear deleted elements on room create ( #2270 )
4 years ago
David Luzar
915bda9fd8
restore elements on load from firebase ( #2269 )
4 years ago
Lipis
36700b9376
New Crowdin updates ( #2248 )
...
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
David Luzar
900e0f27ad
expose resetHistory & factor out from updateScene ( #2277 )
4 years ago
Aakansha Doshi
e916d7f6f6
expose resetScene and getSceneElementsIncludingDeleted && move excalidrawApp to excalidraw-app folder ( #2272 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Aakansha Doshi
1845b5e32c
build(webpack): apply optimization to async chunks so module is exported correctly ( #2273 )
4 years ago
David Luzar
72a3450c99
allow to supply canvas offsets from upstream ( #2271 )
4 years ago
Aakansha Doshi
499a60309f
factor reconcilation out of `updateScene` & remove `replaceAll` ( #2266 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Aakansha Doshi
1034ec91b8
fix(fonts): move fonts to public folder so that its served as static assets via cra & works in export ( #2264 )
4 years ago
Aakansha Doshi
6db5647048
move broadcastScene and broadcastMouseLocation to portal ( #2262 )
4 years ago
Aakansha Doshi
12b73aaac6
fix(app.scss): Move fonts from public to fonts directory so that it can be included in bundle as well ( #2251 )
4 years ago
Danila
b50c54f855
Add and use clsx (classnames alternative) ( #2249 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
4 years ago
David Luzar
1484c5a63b
fileHandle refactor & fixes ( #2252 )
4 years ago
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
4 years ago
Pierre-Monier
41ccd47791
feat: add a proper error message when file is too big ( #2247 )
4 years ago
Lipis
8f5c5f80d3
New Crowdin updates ( #2242 )
4 years ago
David Luzar
538f2be097
add export error handling ( #2243 )
4 years ago
David Luzar
25d460be96
don't touch DOM outside useEffect ( #2215 )
4 years ago
David Luzar
b3263c2a69
fix encoding of embed data & compress ( #2240 )
4 years ago
Lipis
e8a39b5f84
New Crowdin updates ( #2233 )
...
Bunch of updates
4 years ago
David Luzar
f40a2230ec
Fix embedding scene to PNG on Safari ( #2235 )
4 years ago
David Luzar
5950fa9a40
support embedding scene data to PNG/SVG ( #2219 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
David Luzar
7618ca48d7
retain local appState props on restore ( #2224 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
4 years ago
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>
4 years ago
Aakansha Doshi
63566ecb92
Expose update scene via refs ( #2217 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Michal Srb
8a10f2a0b8
Fix collision check for rectangles and rendering of binding area ( #2221 )
4 years ago
Aakansha Doshi
3835fa60e4
pass named function to react.memo so in dev tools it doesn't show as anonymous ( #2216 )
...
This makes debugging easier as well
4 years ago
Andrew Aquino
215128ffdf
add titles with width/height to scale buttons in ExportDialog ( #2193 )
4 years ago
David Luzar
d18a72c879
save room to firebase on unload or portal close ( #2207 )
...
* save on unload or portal close
* align naming
4 years ago
David Luzar
ae1ab1ab37
clear scene when joining a room ( #2208 )
...
* clear scene when joining a room
* code shuffle
* remove noop code path
4 years ago
Chrisando Pramudhita
e424ca53c6
fix inconsistent text element color on dark mode while editing. ( #2196 )
...
On dark mode, while text element is being edited, it was changing color to the light mode variant (white turns back to black, etc...).
This is caused by the --appearance-filter not being applied to the floating textarea. The css var --appearance-filter is only applied to the .excalidraw class while the floating textarea is being appended to the body which put it outside of .excalidraw.
This change adds excalidraw class to the floating textarea and also adds Appearance_dark to it while dark mode is on.
4 years ago
Lipis
16d3d2fb54
New Crowdin updates ( #2195 )
4 years ago
Christopher Chedeau
6ca7420252
Remove warning about rooms not being persisted ( #2199 )
4 years ago
Pete Hunt
d0985fe67a
Persistent rooms via Firebase ( #2188 )
...
* Periodically back up collaborative rooms in firebase
* Responses to code review
* comments from code review, new firebase credentials
4 years ago
Lipis
f2135ab739
New Crowdin updates ( #2187 )
4 years ago
Pete Hunt
8ab9ffbe28
One-click installable libraries ( #2179 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
4 years ago
Aakansha Doshi
a61b212220
scope css under name space excalidraw ( #1983 )
5 years ago
David Luzar
adb1ac5788
fix restoring appState ( #2182 )
5 years ago
Thomas Steiner
b2822f3538
Make File Handling actually work ( #2181 )
...
Follow-up from #1736
5 years ago
Pete Hunt
68bdfaefbe
Fix pinch-to-zoom performance ( #2171 )
5 years ago
Lipis
2a2630082f
New Crowdin updates ( #2166 )
5 years ago
Pete Hunt
e3f3427b31
Fix middle mouse panning on windows ( #2172 )
5 years ago
Lipis
7d7ce04e9b
Add Swedish to the picker
5 years ago
Lipis
fbc4c70ed8
New Crowdin updates ( #2130 )
...
* New translations en.json (Japanese)
* Auto commit: Calculate translation coverage
* New translations en.json (Japanese)
* Auto commit: Calculate translation coverage
* New translations en.json (Japanese)
* Auto commit: Calculate translation coverage
* New translations en.json (Japanese)
* Auto commit: Calculate translation coverage
* New translations en.json (Turkish)
* New translations en.json (Japanese)
* Auto commit: Calculate translation coverage
* New translations en.json (Japanese)
* New translations en.json (French)
* Auto commit: Calculate translation coverage
* New translations en.json (Polish)
* Auto commit: Calculate translation coverage
* New translations en.json (Italian)
* Auto commit: Calculate translation coverage
* New translations en.json (French)
* New translations en.json (Arabic)
* New translations en.json (Arabic)
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Indonesian)
* Auto commit: Calculate translation coverage
* New translations en.json (Chinese Simplified)
* New translations en.json (French)
* New translations en.json (French)
* New translations en.json (Nepali)
* Auto commit: Calculate translation coverage
* New translations en.json (Norwegian Nynorsk)
* Auto commit: Calculate translation coverage
* New translations en.json (Norwegian Nynorsk)
* Auto commit: Calculate translation coverage
* New translations en.json (Polish)
* Auto commit: Calculate translation coverage
* New translations en.json (Polish)
* Auto commit: Calculate translation coverage
* New translations en.json (Hindi)
* Auto commit: Calculate translation coverage
* New translations en.json (Hindi)
* Auto commit: Calculate translation coverage
* add nepali to language picker
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Japanese)
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Japanese)
* Auto commit: Calculate translation coverage
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
João Forja
242ccac290
Arrows binds/unbinds to bindable elements when moved with arrow keys (Issue #2103 ) ( #2150 )
5 years ago
Robert van Hoesel
c6736fa14e
Lock drag direction using `Shift` ( #1858 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
David Luzar
d07099aadd
fix zindex to account for group boundaries ( #2065 )
5 years ago
Thomas Steiner
48c2a13c7a
Pass file extensions with leading dot after API change ( #2149 )
5 years ago
David Luzar
aaddde5dd9
Fix history initialization ( #2115 )
5 years ago
Mohamed Saleh
9cac7816cc
Fix textbox element bindings on size changes ( #2145 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
David Luzar
47dba05c91
System clipboard ( #2117 )
5 years ago
Panayiotis Lipiridis
640dcc90c2
A silly one :)
5 years ago
Michal Srb
15e4b51bb1
Fix binding disabling when taking screenshots on macOS ( #2129 )
...
* Fix binding disabling when taking screenshots on macOS
* Update snapshot for cmd+click test
5 years ago
Lipis
924292dc9a
New Crowdin updates ( #2128 )
...
* New translations en.json (Romanian)
* New translations en.json (Romanian)
* New translations en.json (Romanian)
* New translations en.json (Romanian)
* New translations en.json (Chinese Simplified)
* Auto commit: Calculate translation coverage
* New translations en.json (Chinese Simplified)
* New translations en.json (Chinese Simplified)
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
5 years ago
Lipis
a693b36d37
New Crowdin updates ( #2127 )
...
* New translations en.json (Russian)
* Auto commit: Calculate translation coverage
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
5 years ago
Lipis
98a4d0a595
New Crowdin updates ( #2116 )
5 years ago
Danila
b215e165d2
Fix HintViewer positioning ( #2124 )
5 years ago
Thomas Steiner
730a11e0a5
Assign file handle to dropped files ( #2125 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
5 years ago
João Forja
0ab58b38e0
Fix bug of issue #2062 ( #2108 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Lipis
46bff3dace
New Crowdin updates ( #2078 )
...
* New translations en.json (Korean)
* New translations en.json (Korean)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* add ro-Ro to language picker
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
* New translations en.json (Romanian)
* Auto commit: Calculate translation coverage
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Maurice Le Cordier
d15444e232
allowed for sticking to grid when pasting an element ( #2107 )
5 years ago
Michal Srb
7ebeae2d38
Fix arrow rebinding on rotation (take 2) ( #2104 )
...
* Clear up test, fix simple rotation
* Fix eligibility rules
5 years ago
David Luzar
26ef235019
rebind arrow on rotation ( #2096 )
5 years ago
David Luzar
0e28177ccc
fix collab MOUSE_LOCATION payload naming for legacy versions ( #2098 )
5 years ago
Anton
1828a93ba7
Fix keypress rebinding ( #2102 )
...
Co-authored-by: Anton <anton.matrenin@introduct.tech>
5 years ago
Daishi Kato
84c49ebaa1
Support rotating two-point lines (angle can be non-zero) ( #2090 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
5 years ago
David Luzar
8b9e2a540d
factor out test helpers ( #2093 )
5 years ago
David Luzar
4c2d34ffd7
select single element on cmd-click ( #2087 )
5 years ago
David Luzar
b8f8bc2e32
fix group selection ( #2092 )
5 years ago
João Forja
e7d186b439
Fix drag multiple elements bug ( #2023 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Aakansha Doshi
4718c31da5
Pass Additional props remove localstorage related code for storing data and username from App.tsx to index.tsx ( #2057 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Danila
0e0a695e81
Fix multiline hint text cropping ( #2079 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
5 years ago
Lipis
37b4883629
New Crowdin updates ( #2054 )
5 years ago
Pedro Baracho
e34cf3aee3
Fix #2075 - Pinch zooming while typing text breaks the UI on Chrome Mac OS X ( #2076 )
5 years ago
Lipis
c3de4cd4c5
Reduce the padding of the left 'Islands' ( #2050 )
5 years ago
Lipis
643e6bd08d
feat: Add hint for double click to insert text ( #2056 )
5 years ago
David Luzar
ab7073abdb
add excalidraw_embed into base repo ( #2040 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
5 years ago
Thomas Steiner
80cbe13167
Make iOS "safe area" respect dark mode ( #2053 )
5 years ago
Lipis
c6e2877418
New Crowdin updates ( #2042 )
...
* New translations en.json (Vietnamese)
* Auto commit: Calculate translation coverage
* add vi-VN to i18n
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Lipis
415bf7bb5b
New Crowdin updates ( #2022 )
5 years ago
Warren Seine
4644ca1778
🎨 Use consistent naming ( #2029 )
5 years ago
Johann Hubert Sonntagbauer
009eba6315
feat: Zoom controls are pushed to the right edge for Right-To-Left languages ( #2021 ) ( #2037 )
5 years ago
Warren Seine
14317c2232
🐛 Remove unnecessary class name props ( #2027 )
...
It's unused and serialized to `undefined`.
5 years ago
Daishi Kato
41cb1fbeba
feat: sharpness ( #1931 )
...
* feat: sharpness
* feat: fill sharp lines, et al.
* fix: rotated positioning
* chore: simplify path with Q
* fix: hit test inside sharp elements
* make sharp / round buttons work properly
* fix tsc tests
* update snapshots
* update snapshots
* fix: sharp arrow creation error
* fix merge and test
* avoid type assertion
* remove duplicate helper
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
David Luzar
930813387b
make loading message account for dark mode & add i18n ( #2033 )
...
* make loading message account for dark mode & add i18n
* use app color scheme
5 years ago
David Luzar
3f2b0fdd0a
don't reset dark mode on canvas clear ( #2032 )
5 years ago
Warren Seine
2cb8ba6521
add explanation for why we mutate collaborators state ( #2028 )
...
* 🔒 Avoid mutating state
* revert to mutation and add explaining comment
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Warren Seine
5670c47789
🐛 Fix emoji rendering ( #2030 )
...
Thanks.
5 years ago
Michal Srb
c0dd870c6e
Dark mode ( #2006 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Lipis
6e5b1a1c2a
New Crowdin updates ( #1987 )
5 years ago
João Forja
296e3677cf
Fix single element bounding box bug ( #2008 )
...
Co-authored-by: Michal Srb <xixixao@seznam.cz>
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
David Luzar
964746e569
fix transform handles regression ( #2018 )
5 years ago
David Luzar
950bcd0b72
Refactor resize handle naming ( #2013 )
5 years ago
Michal Srb
85d000ccda
Add prevent binding keyboard shortcut to shortcuts dialog ( #2010 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
5 years ago
Michal Srb
8bbeb32e87
Fix text selection broken by PR1899 ( #2011 )
5 years ago
Michal Srb
26f67d27ec
Allow binding linear elements to other elements ( #1899 )
...
* Refactor: simplify linear element type
* Refactor: dedupe scrollbar handling
* First step towards binding - establish relationship and basic test for dragged lines
* Refactor: use zoom from appstate
* Refactor: generalize getElementAtPosition
* Only consider bindable elements in hit test
* Refactor: pull out pieces of hit test for reuse later
* Refactor: pull out diamond from hit test for reuse later
* Refactor: pull out text from hit test for reuse later
* Suggest binding when hovering
* Give shapes in regression test real size
* Give shapes in undo/redo test real size
* Keep bound element highlighted
* Show binding suggestion for multi-point elements
* Move binding to its on module with functions so that I can use it from actions, add support for binding end of multi-point elements
* Use Id instead of ID
* Improve boundary offset for non-squarish elements
* Fix localStorage for binding on linear elements
* Simplify dragging code and fix elements bound twice to the same shape
* Fix binding for rectangles
* Bind both ends at the end of the linear element creation, needed for focus points
* wip
* Refactor: Renames and reshapes for next commit
* Calculate and store focus points and gaps, but dont use them yet
* Focus points for rectangles
* Dont blow up when canceling linear element
* Stop suggesting binding when a non-compatible tool is selected
* Clean up collision code
* Using Geometric Algebra for hit tests
* Correct binding for all shapes
* Constant gap around polygon corners
* Fix rotation handling
* Generalize update and fix hit test for rotated elements
* Handle rotation realtime
* Handle scaling
* Remove vibration when moving bound and binding element together
* Handle simultenous scaling
* Allow binding and unbinding when editing linear elements
* Dont delete binding when the end point wasnt touched
* Bind on enter/escape when editing
* Support multiple suggested bindable elements in preparation for supporting linear elements dragging
* Update binding when moving linear elements
* Update binding when resizing linear elements
* Dont re-render UI on binding hints
* Update both ends when one is moved
* Use distance instead of focus point for binding
* Complicated approach for posterity, ignore this commit
* Revert the complicated approach
* Better focus point strategy, working for all shapes
* Update snapshots
* Dont break binding gap when mirroring shape
* Dont break binding gap when grid mode pushes it inside
* Dont bind draw elements
* Support alt duplication
* Fix alt duplication to
* Support cmd+D duplication
* All copy mechanisms are supported
* Allow binding shapes to arrows, having arrows created first
* Prevent arrows from disappearing for ellipses
* Better binding suggestion highlight for shapes
* Dont suggest second binding for simple elements when editing or moving them
* Dont steal already bound linear elements when moving shapes
* Fix highlighting diamonds and more precisely highlight other shapes
* Highlight linear element edges for binding
* Highlight text binding too
* Handle deletion
* Dont suggest second binding for simple linear elements when creating them
* Dont highlight bound element during creation
* Fix binding for rotated linear elements
* Fix collision check for ellipses
* Dont show suggested bindings for selected pairs
* Bind multi-point linear elements when the tool is switched - important for mobile
* Handle unbinding one of two bound edges correctly
* Rename boundElement in state to startBoundElement
* Dont double account for zoom when rendering binding highlight
* Fix rendering of edited linear element point handles
* Suggest binding when adding new point to a linear element
* Bind when adding a new point to a linear element and dont unbind when moving middle elements
* Handle deleting points
* Add cmd modifier key to disable binding
* Use state for enabling binding, fix not binding for linear elements during creation
* Drop support for binding lines, only arrows are bindable
* Reset binding mode on blur
* Fix not binding lines
5 years ago
wasp77
5f195694ee
update simplifier distance to reflect zoom ( #2004 )
...
* update simplifier distance to reflect zoom
The distance used in the iterative end-point fit algorithm to
determine if points can be removed no longer ignores the
zoom. As the zoom gets larger this distance will get smaller
and fewer points will be removed, thus making for finer grain
control over the drawing. As the zoom gets smaller the drawing
will get more coarse as more points are removed.
* remove the comment
Co-authored-by: John Dupuis <wasp7@Johns-MacBook-Pro.local>
Co-authored-by: Michal Srb <xixixao@seznam.cz>
5 years ago
Rene
403e8bd307
clear selection from copied/duplicatated group ( #1973 )
...
Co-authored-by: rene_mbp <harryloveslearning@googlemail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
David Luzar
c06988a202
do not prevent UI scrolling on mobile ( #2007 )
5 years ago
David Luzar
fea257765d
regenerate seed on change of sloppiness ( #1986 )
5 years ago
Daishi Kato
818821c293
feat: grid mode for line editing ( #1984 )
5 years ago
David Luzar
c171fb4c7f
simplify by replacing draggingElementPointIndex with isDragging ( #1982 )
...
* simplify by replacing draggingElementPointIndex with isDragging
* add tsdoc
5 years ago
Aakansha Doshi
20500b7822
remove shared global scene and attach it to every instance ( #1706 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Lipis
54f8d8f820
New Crowdin updates ( #1949 )
5 years ago
David Luzar
ab980b252c
make restore migration types required ( #1977 )
5 years ago
Christopher Chedeau
925db9dcca
Only insert text on double click when selection is enabled ( #1937 )
...
This was an oversight to enable it for all the shapes. I don't believe that we want to be able to insert text on double click when drawing a rectangle for example. And it's definitely a broken experience when doing so for free draw.
Fixes part of #1935
5 years ago
Mohammed Salman
ee8fa6aaad
Import and export library from/to a file ( #1940 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Aakansha Doshi
7eff6893c5
calculate coords based on container viewport position ( #1955 )
...
* feat: calculate coords based on parent left and top so it renders correctly in host App
* fix text
* move offsets to state & fix bugs
* fix text jumping
* account for zoom in textWysiwyg & undo incorrect offsetting
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
David Luzar
f295550940
ensure editingLinearElement handles are rendered on top ( #1967 )
5 years ago
Farooq AR
df4e903bd6
Add regression tests for context-menu actions ( #1959 )
5 years ago
Daishi Kato
a2e7d8d560
feat: rotating multiple elements ( #1960 )
5 years ago
Rene
ebf2923c5e
Issues/1827 group-ungroup icons ( #1956 )
...
* show group and ungroup action-icon
* change group-icon visiblilty
don't show group if selected is only a single element or a single group of elements
Co-authored-by: rene_mbp <harryloveslearning@googlemail.com>
5 years ago
Thomas Steiner
880cac2359
Update browser-nativefs ( #1963 )
...
Incorporates the latest changes in the Native File System API
5 years ago
Thomas Steiner
d3a38202e3
Make sure extension gets set correctly for exports ( #1962 )
5 years ago
David Luzar
dc1f6c4d4c
change selection/line/draw shortcut defaults ( #1953 )
5 years ago
David Luzar
c5d37a07c8
fix resize hints not showing due to LayerUI bailing on updates ( #1952 )
5 years ago
Lipis
f15d62aa44
New Crowdin updates ( #1926 )
...
* New translations en.json (French)
* New translations en.json (French)
* New translations en.json (Turkish)
* Auto commit: Calculate translation coverage
* New translations en.json (Arabic)
* New translations en.json (Turkish)
* Auto commit: Calculate translation coverage
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
5 years ago
David Luzar
b07aa6e205
delay scene init until document active ( #1920 )
...
* delay scene init until document active
* use opts.once for the listener
5 years ago
Mohammed Salman
cf36cb394b
Library improvements ( #1925 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
5 years ago
Herb Caudill
29f803e25d
Fix display of some emoji on Windows ( #1933 )
5 years ago
David Luzar
c1488fa353
try/catch localStorage access ( #1932 )
5 years ago
David Luzar
494b7d08c5
mute FS abort errors ( #1929 )
5 years ago
David Luzar
4cfc8bd4b3
fix accessing nonexisting config property during appState clearing ( #1928 )
5 years ago
Mohammed Salman
bac20fa641
Choosing color before entering text does not update the swatch ( Fixes #1897 ) ( #1915 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Lipis
8ab7921796
New Crowdin updates ( #1883 )
...
* New translations en.json (Norwegian Bokmal)
* Auto commit: Calculate translation coverage
* New translations en.json (Hindi)
* Auto commit: Calculate translation coverage
* New translations en.json (Hindi)
* Auto commit: Calculate translation coverage
* New translations en.json (French)
* New translations en.json (Russian)
* New translations en.json (Norwegian Bokmal)
* 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 Nynorsk)
* Auto commit: Calculate translation coverage
* New translations en.json (Norwegian Bokmal)
* Auto commit: Calculate translation coverage
* New translations en.json (Portuguese)
* Auto commit: Calculate translation coverage
* New translations en.json (Persian)
* Auto commit: Calculate translation coverage
* New translations en.json (Chinese Traditional)
* Auto commit: Calculate translation coverage
* New translations en.json (Finnish)
* Auto commit: Calculate translation coverage
* New translations en.json (Hindi)
* Auto commit: Calculate translation coverage
* New translations en.json (German)
* New translations en.json (German)
* Auto commit: Calculate translation coverage
* New translations en.json (French)
* New translations en.json (Russian)
* New translations en.json (Norwegian Bokmal)
* 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 Nynorsk)
* Auto commit: Calculate translation coverage
* New translations en.json (Chinese Traditional)
* Auto commit: Calculate translation coverage
* New translations en.json (Norwegian Bokmal)
* Auto commit: Calculate translation coverage
* New translations en.json (Ukrainian)
* Auto commit: Calculate translation coverage
* New translations en.json (Finnish)
* Auto commit: Calculate translation coverage
* New translations en.json (German)
* Auto commit: Calculate translation coverage
* New translations en.json (Catalan)
* 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)
* Auto commit: Calculate translation coverage
* New translations en.json (French)
* New translations en.json (Spanish)
* New translations en.json (Italian)
* New translations en.json (Portuguese)
* Auto commit: Calculate translation coverage
* New translations en.json (Italian)
* Auto commit: Calculate translation coverage
* New translations en.json (Russian)
* New translations en.json (Russian)
* Auto commit: Calculate translation coverage
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
5 years ago
Aakansha Doshi
953cd5563c
move the excalidraw props to correct file and typo fix ( #1907 )
5 years ago
David Luzar
0ee2c15929
make clearing state for storage more type-safe ( #1884 )
5 years ago
Pete Hunt
6428b59ccb
Library MVP ( #1787 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
David Luzar
7ab0c1aba8
reload scene on hashchange ( #1893 )
...
* reload scene on hashchange
* tweak isLoading
5 years ago
Michal Srb
4ab4fce998
Refactoring in pointer down event handler, step 3 ( #1888 )
...
* Refactor: use pointer down state for alt duplication flag
* Refactor: use pointer down state for drag state
* Refactor: simplify over scrollbars check
* Refactor: move pointer move handler out of pointer down handler
* Refactor: move pointer up handler out of pointer down handler
* Refactor: further simplify scrollbar check state in pointer down event
* Refactor: pull out initial pointer down state creation
5 years ago
David Luzar
6e357c0291
fix deleting multi-point elem during edit ( #1892 )
5 years ago
Rene
51a8ab65f3
Group / ungroup should not always be present in the context menu ( #1890 )
...
Co-authored-by: rene_mbp <harryloveslearning@googlemail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Michal Srb
5664de0459
Refactoring in pointer down event handler, step 2 ( #1887 )
...
* Refactor: introduce pointer down state to replace implicit closure state with an explicit object
* Refactor: use pointer down state for resize handle
* Refactor: use pointer down state for isResizing
* Refactor: use pointer down state for resizing offset
* Refactor: use pointer down state for hit element
* Refactor: move selection handling out of pointer down event handler
* Refactor: move text handling out of pointer down event handler
* Refactor: move linear tools handling out of pointer down event handler
* Refactor: move element creation out of pointer down handler
5 years ago
Daishi Kato
6cc6e13892
adjust font baseline on resize ( #1820 )
...
* adjust font baseline on resize
* simplify font scaling on resize
* fix: resizing text to avoid glitchy behavior
* make text resizing deterministic
* no TEXT_WIDTH_PADDING hack
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Michal Srb
5d7020cce6
Refactoring in pointer down event handler ( #1880 )
...
* 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
5 years ago
David Luzar
d5e7d08586
prompt when loading external scene before overriding local one ( #1862 )
5 years ago
fujimoto kyosuke
6f13b5ac75
Fix status when do `selectAll` while editing lines ( #1828 )
5 years ago
David Luzar
df5eb3f0d9
change copy/paste styles shortcuts ( #1881 )
...
* change copy/paste styles shortcuts
* use keyCode
5 years ago
Aakansha Doshi
01e546c230
use width,height from current appstate when initializing scene ( #1882 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Lipis
ead58bf2d9
New Crowdin updates ( #1856 )
5 years ago
Aakansha Doshi
9351b2821c
feat: add width, height as props to App.tsx ( #1871 )
5 years ago
David Luzar
b1261eea70
duplicate point on cmd+d ( #1831 )
5 years ago
Oren Me
84abda82d5
docs: add multiple selection docs ( #1875 )
5 years ago
Mehedi Hassan
cc52ea4ac2
Add support for long press to context menu on iOS ( #1769 )
...
* 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
5 years ago
Minh Nguyen
8621ddb6a2
Extract backend URLs into environment variables ( #1772 ) ( #1848 )
5 years ago
Aakansha Doshi
b21f723eee
use absolute positioning instead of fixed ( #1860 )
5 years ago
David Luzar
d9e84b90ce
strip fragment ( #1859 )
5 years ago
Prashant Agarwal
79c3b846d7
Added Language support for Hindi in language selection dropdown ( #1753 )
...
* 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>
5 years ago
Lipis
d39d8e3cb1
New Crowdin updates ( #1846 )
5 years ago
Lipis
89cf826555
Change target branch of coverage and pretty print ( #1850 )
5 years ago
Kostas Bariotis
2a25480272
Expose Git SHA to window ( #1847 )
...
* expose git sha
* move to global.d.ts
* fix vercel domain
5 years ago
Kostas Bariotis
9a5ae05bbf
Auto commit: Calculate translation coverage
5 years ago
Lipis
54a72b821a
New translations en.json (Greek) ( #1845 )
5 years ago
Kostas Bariotis
8c3549f336
Add script to calculate percentage of translation ( #1826 )
...
* 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>
5 years ago
Simon Riisnæs Dagfinrud
e23f7d37b6
Update Norwegian languages in list ( #1843 )
5 years ago
Lipis
483796f6ff
New Crowdin updates ( #1813 )
5 years ago
Minh Nguyen
a679ef7876
Refactor CJS require to ESM ( #1841 )
...
Resolves https://github.com/excalidraw/excalidraw/pull/1793#discussion_r447067827
5 years ago
Kostas Bariotis
0a3fb70ec7
Dynamicaly import locales ( #1793 )
...
* dynamicly import locales
* fix tests
* reformat languages
5 years ago
Lipis
5970bb7ee9
Remove duplicate string for toggle grid mode ( #1821 )
5 years ago
Saransh Barua
1991511ef7
Fix flickering outline on the dialogs while clicking ( #1747 )
5 years ago
David Luzar
cd87bd6901
do not center text when not applicable ( #1783 )
5 years ago
Daishi Kato
9c89504b6f
fix: start dragging grouped elements ( #1818 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Daishi Kato
caa9b54893
do not render grid on export ( #1814 )
5 years ago
Lipis
e7ef02cc0f
New Crowdin updates and change code for Norwegian Bokmal ( #1776 )
...
* 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)
5 years ago
Daishi Kato
baa8fb6c14
grid support (1st iteration) ( #1788 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Jed Fox
b6bf011d0d
Inline the dropdown icon ( #1782 )
5 years ago
Daishi Kato
482fa2d90f
fix visibility check on rotated elements ( #1799 )
5 years ago
Kostas Bariotis
a357d00bbe
Hint for shortcut for moving the visible area ( #1784 )
5 years ago
Kostas Bariotis
bda8415714
Include stroke style when copy/paste styles ( #1785 )
5 years ago
Oliver Benns
ca87ca6fe9
Add user list component + snap to user functionality ( #1749 )
5 years ago
Kostas Bariotis
8f65e37dac
Disable Sentry inside Docker ( #1781 )
5 years ago
Lipis
2eb58da4c3
New Crowdin translations ( #1748 )
...
* 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)
5 years ago
Thomas Steiner
3cee0768cc
Null file handle doesn’t need to be passed ( #1752 )
...
* 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
5 years ago
Thomas Steiner
5d3867d8ac
Implement Save without re-prompt and Save as ( #1709 )
...
* Implement Save without re-prompt and Save as
Fixes #1668
* Add save-as icon
* Make .excalidraw the default extension
* Only show save as button on supporting browsers
5 years ago
Lipis
0ed6a96b6a
New Crowdin translations ( #1724 )
5 years ago
David Luzar
dadf054ea2
fix not always generating shape on render ( #1741 )
5 years ago
Thomas Steiner
6b87278a0f
Add file handling ( #1736 )
...
* Add file handling
https://github.com/WICG/file-handling/blob/master/explainer.md#example
* Only trigger on `.excalidraw` for now
5 years ago
Saransh Barua
998f0ae458
remove z-index for color-picker-hash div ( #1711 )
5 years ago
Aakansha Doshi
60973f6dc5
rename container class to excalidraw and move css from index.html to app.css ( #1729 )
...
Moved the css from index.html to app.css so it can be included in upstream app as well
5 years ago
Daishi Kato
53ab46126d
support resizing multiple elements including texts ( #1726 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
5 years ago
Youness Fkhach
d171e9705d
Fix RTL text direction rendering (reopened) ( #1722 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Pete Hunt
f7c4efbd35
Excalicharts MVP ( #1723 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
5 years ago
David Luzar
d1be2a5481
fix text constructor groupIds & improve type safety ( #1715 )
5 years ago
fujimoto kyosuke
476c0e9f8a
Fix undo with line editing ( #1717 )
5 years ago
Lipis
c6e73c56fd
New Crowdin translations ( #1703 )
5 years ago
Farooq AR
669e84b5d7
Add regression tests for context-menu ( #1683 ) ( #1697 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
David Luzar
ff93d95998
Revert "Fix RTL text direction rendering ( #1687 )" ( #1705 )
...
This reverts commit a118bed82f
.
5 years ago
Youness Fkhach
a118bed82f
Fix RTL text direction rendering ( #1687 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
5 years ago
Steven Nguyen
fd75b88bd3
Double finger zoom should not select things ( #1333 )
5 years ago
Lipis
1e9adf0a80
New Crowdin translations ( #1700 )
5 years ago
Lipis
3f31a6ce89
New Crowdin translations ( #1696 )
5 years ago
Lipis
d3d9994c74
New Crowdin translations ( #1690 )
...
* New translations en.json (Persian)
* New translations en.json (Persian)
* New translations en.json (Persian)
* 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 (French)
5 years ago
David Luzar
14a66956d7
Implement line editing ( #1616 )
...
* implement line editing
* line editing with rotation
* ensure adding new points is disabled on point dragging
* fix hotkey replacement
* don't paint bounding box when creating new multipoint
* tweak points style, account for zoom and z-index
* don't persist editingLinearElement to localStorage
* don't mutate on noop points updates
* account for rotation when adding new point
* ensure clicking on points doesn't deselect element
* tweak history handling around editingline element
* update snapshots
* refactor pointerMove handling
* factor out point dragging
* factor out pointerDown
* improve positioning with rotation
* revert to use roughjs for calculating points bounds
* migrate from storing editingLinearElement.element to id
* make GlobalScene.getElement into O(1)
* use Alt for adding new points
* fix adding and deleting a point with rotation
* disable resize handlers & bounding box on line edit
Co-authored-by: daishi <daishi@axlight.com>
5 years ago
Lipis
db316f32e0
New Crowdin translations ( #1659 )
5 years ago
Youness Fkhach
9151da772c
feat: hide the UI elements when printing the page ( #1680 )
5 years ago
David Luzar
f413bab3de
Fix group element removing ( #1676 )
5 years ago
Aakansha Doshi
17e9cc4506
Some cleanup in App.tsx ( #1681 )
5 years ago
Aakansha Doshi
fa359034c5
scroll the closest element to center ( #1670 )
...
Co-authored-by: Sanghyeon Lee <yongdamsh@gmail.com>
5 years ago
David Luzar
0db7ac78c4
fix fontFamily state updating ( #1679 )
5 years ago
David Luzar
44a88d2d58
Rewrite restore to guard against missing migrations ( #1664 )
5 years ago
Pete Hunt
56f8bc092d
Tests for groups, more test utils ( #1669 )
5 years ago
David Luzar
4f3bf79708
skip element mutation on noop updates ( #1667 )
5 years ago
Daishi Kato
7edcea9a93
feat: resize text element ( #1650 )
...
* feat: resize text element
* ignore small font size change that leads jankiness
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
David Luzar
5327e8a3dc
fix language change not rerendering ui ( #1638 )
5 years ago
David Luzar
63c10743fb
split font into fontSize and fontFamily ( #1635 )
5 years ago
Pete Hunt
46b574283f
Fix zindex in groups ( #1660 )
5 years ago
Pete Hunt
61e5b66dac
Group/ungroup ( #1648 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Aakansha Doshi
5252726307
dynamically import socket.io-client when needed ( #1631 )
5 years ago
Lipis
1a1cbb345b
New Crowdin translations ( #1617 )
5 years ago
David Luzar
35049e3de7
History tweaks ( #1641 )
...
Co-authored-by: Pete Hunt <phunt@twitter.com>
5 years ago
Timur Khazamov
d315e3dc4d
Update TypeScript to 3.9.3 ( #1640 )
...
Co-authored-by: tk338g <tkhazamov@wayfair.com>
5 years ago
Pete Hunt
6512ede9ca
Optimize undo history ( #1632 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
5 years ago
Daishi Kato
51608c07b0
15-degree rotation locking ( #1627 )
5 years ago
David Luzar
d2ae18995c
add history.shouldCreateEntry resolver ( #1622 )
5 years ago
David Luzar
ce6f2ff88c
cache nonDeleted elements ( #1626 )
5 years ago
Preet
584e4182a7
Ensure arrows are not draggable from inside ( #1620 )
5 years ago
Lipis
c427aa3cce
Prefer arrow functions and callbacks ( #1210 )
5 years ago
Richard Keenan
33fe223b5d
Typo fix in desc_exitSession en.json ( #1619 )
5 years ago
Daishi Kato
4d2e8f9ad1
feat: resize multiple elements including two-point lines ( #1607 )
5 years ago
Daishi Kato
6b628bb1a6
fix: resize non solid lines/arrows/draws ( #1608 )
5 years ago
Kostas Bariotis
7f35b805d1
Add Catalan translation ( #1566 )
5 years ago
Lipis
755cd9c320
New Crowdin translations ( #1567 )
...
* New translations en.json (Greek)
* New translations en.json (Norwegian)
* New translations en.json (Russian)
* New translations en.json (Russian)
* New translations en.json (Russian)
* New translations en.json (Catalan)
* New translations en.json (French)
* New translations en.json (French)
* New translations en.json (French)
* New translations en.json (Norwegian)
* 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 (Portuguese)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Spanish)
* 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 (Catalan)
* New translations en.json (Spanish)
* New translations en.json (Portuguese)
* New translations en.json (Norwegian)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (German)
* New translations en.json (German)
* New translations en.json (French)
* New translations en.json (French)
* New translations en.json (French)
* New translations en.json (Norwegian)
* 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 (Portuguese)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Spanish)
* 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 (Catalan)
* New translations en.json (French)
* New translations en.json (Spanish)
* New translations en.json (Greek)
* New translations en.json (French)
* New translations en.json (Norwegian)
* New translations en.json (Hebrew)
* 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 (Portuguese)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Spanish)
* 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 (Spanish)
* New translations en.json (Finnish)
* New translations en.json (German)
* New translations en.json (German)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Spanish)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (Catalan)
* New translations en.json (French)
* New translations en.json (Italian)
* New translations en.json (Portuguese)
* New translations en.json (Italian)
5 years ago
fujimoto kyosuke
afbfe2b8b1
Alt should be labeled as Option on Mac ( #1602 )
5 years ago
Yuval Ashkenazi
9bd72f91fc
fixed typo: loose ==> lose ( #1601 )
5 years ago
David Luzar
876170ee27
fix snapshots ( #1598 )
5 years ago
David Luzar
39c56a4c01
implement stroke style ( #1571 )
5 years ago
Daishi Kato
f6be200388
feat: resize multiple curved lines ( #1596 )
5 years ago
David Luzar
828c9c4d65
use commitToHistory prop for handling draw history ( #1595 )
5 years ago
fujimoto kyosuke
c32640d174
Fix free draw to allow undo ( #1594 )
5 years ago
Thomas Steiner
ad81033a78
Prompt for reload when new service worker is available ( #1588 )
5 years ago
Simonboeuf1
ece631b430
preserve spaces in text blocks in svg export ( #1587 )
5 years ago
Kostas Bariotis
9ec43d2626
Add free draw mode ( #1570 )
5 years ago
David Luzar
a90ca5eb84
don't use unicode characters for shortcut help ( #1565 )
...
* don't use unicode characters for shortcut help
* use option instead of alt
* make shortcut replacement case-insensitive
* improve shortcut dialog layout
5 years ago
Daishi Kato
394237728f
Refactor: resize two-point lines/arrows ( #1568 )
5 years ago
Lipis
cdb483b895
New Crowdin translations ( #1551 )
...
* New translations en.json (Spanish)
* New translations en.json (Japanese)
* New translations en.json (Spanish)
* New translations en.json (French)
* New translations en.json (Norwegian)
* 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 (Portuguese)
* New translations en.json (Polish)
* New translations en.json (Dutch)
* New translations en.json (Spanish)
* 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 (Hebrew)
* New translations en.json (Finnish)
* New translations en.json (Spanish)
* New translations en.json (Portuguese)
* New translations en.json (German)
* New translations en.json (Dutch)
5 years ago
Herb Caudill
48264d1be0
Room dialog: Change 'Name' to 'Your name' ( #1562 )
...
* Change label 'Name' to 'Your name'
* add yourName as duplicate of Name in all locales
5 years ago
Aakansha Doshi
5b80ad045b
show reset icon with zoom percentage during zen mode ( #1540 )
5 years ago
Daishi Kato
3b1d6910aa
fix resizing: dynamic pointer offset for better UX ( #1560 )
5 years ago
David Luzar
8c8458ceb0
fix incorrect font rendered on late load ( #1555 )
5 years ago
Pete Hunt
4696c9ee0e
Syncing optimizations ( #1554 )
...
* Syncing optimizations
* Add comment
5 years ago
Justin Greenberg
e27f3f9ad2
fix(data): removes unnecessary await ( #1549 )
5 years ago