Commit Graph

1497 Commits (e9cb7ee77cea33f44731b605a78d1999a9d5f733)
 

Author SHA1 Message Date
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
dependabot-preview[bot] 58fcb44de0
Bump @sentry/browser from 5.27.4 to 5.27.6 (#2431)
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.27.4 to 5.27.6.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.27.4...5.27.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] 102169581c
Bump @sentry/integrations from 5.27.4 to 5.27.6 (#2430)
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 5.27.4 to 5.27.6.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.27.4...5.27.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] eb75dc55cb
Bump browser-nativefs from 0.11.0 to 0.11.1 (#2433)
Bumps [browser-nativefs](https://github.com/GoogleChromeLabs/browser-nativefs) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/GoogleChromeLabs/browser-nativefs/releases)
- [Commits](https://github.com/GoogleChromeLabs/browser-nativefs/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] df33ab23f8
Bump lint-staged from 10.5.1 to 10.5.2 (#2432)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.1 to 10.5.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.5.1...v10.5.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] e8421bc5ab
Bump prettier from 2.2.0 to 2.2.1 (#2434)
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.0...2.2.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.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
Luo d3c3894108
Fix "Copy | Look Up" popup issue on mobile device (#2406) 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
dependabot-preview[bot] 38aa6da7a3
Bump @types/react from 16.9.56 to 17.0.0 (#2399)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.56 to 17.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] 2c008c8adf
Bump @testing-library/react from 11.1.2 to 11.2.2 (#2397)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.1.2 to 11.2.2.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.1.2...v11.2.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] a6292a789e
Bump @types/react-dom from 16.9.9 to 17.0.0 (#2400)
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 16.9.9 to 17.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] 5f7d48e551
Bump firebase from 8.0.2 to 8.1.1 (#2396)
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 8.0.2 to 8.1.1.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Changelog](https://github.com/firebase/firebase-js-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@8.0.2...firebase@8.1.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] c7831e854d
Bump react-scripts from 4.0.0 to 4.0.1 (#2402)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.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
Adonis Najimi db5acff860
Fix docker-compose (#2388)
* deps target is not used anymore

* use nginx instead of npm run start
4 years ago
dependabot-preview[bot] a267fc85b4
Bump @sentry/integrations from 5.27.3 to 5.27.4 (#2382)
Bumps [@sentry/integrations](https://github.com/getsentry/sentry-javascript) from 5.27.3 to 5.27.4.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.27.3...5.27.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] 7d2ce4e52f
Bump @testing-library/react from 11.1.1 to 11.1.2 (#2384)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.1.1 to 11.1.2.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.1.1...v11.1.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] 5e6ec19ce1
Bump @sentry/browser from 5.27.3 to 5.27.4 (#2385)
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.27.3 to 5.27.4.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.27.3...5.27.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] 9a38f87147
Bump firebase from 8.0.1 to 8.0.2 (#2381)
Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Changelog](https://github.com/firebase/firebase-js-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@8.0.1...firebase@8.0.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] 5e7d09d723
Bump firebase-tools from 8.15.1 to 8.16.2 (#2386)
Bumps [firebase-tools](https://github.com/firebase/firebase-tools) from 8.15.1 to 8.16.2.
- [Release notes](https://github.com/firebase/firebase-tools/releases)
- [Commits](https://github.com/firebase/firebase-tools/compare/v8.15.1...v8.16.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
dependabot-preview[bot] 5db77a4e7d
Bump @testing-library/jest-dom from 5.11.5 to 5.11.6 (#2387)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.5 to 5.11.6.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.5...v5.11.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago