Commit graph

1626 commits

Author SHA1 Message Date
Steve Ruiz
dc1f21bdc0 Update MultiplayerMenu.tsx 2022-06-24 15:47:53 +01:00
Steve Ruiz
f48ce9962d Update MultiplayerMenu.tsx 2022-06-24 15:45:50 +01:00
Steve Ruiz
7555c22632 Update Vec 2022-06-21 08:56:49 +01:00
Steve Ruiz
a17bd18ae2 1.7.2, add Vec.distanceTo / Vec.nearestPointOnBounds 2022-06-21 08:49:45 +01:00
Jack Bauer
7c0e098b12
fix clipboard.read error on Firefox (#729)
See more @ https://stackoverflow.com/questions/67440036/navigator-clipboard-readtext-is-not-working-in-js/67442777#67442777
2022-06-20 20:37:01 +01:00
Steve Ruiz
0a52b5c317
Add overwrite option to insertContent (#730) 2022-06-20 20:36:23 +01:00
Steve Ruiz
65ff5075f0 1.17.0 2022-06-19 14:52:06 +01:00
Steve Ruiz
6d91916804
[improvement] Add getContent and insertContent methods (#726)
* Add insertContent method, update copyJson

* Add more tests

* Update TldrawApp.spec.ts

* Adds option object for select, point, and uses in paste
2022-06-19 14:47:43 +01:00
Jack Bauer
0cfa44f4d2
fix mandatory unique key in LanguageMenu list (#722) 2022-06-16 14:36:31 +01:00
Steve Ruiz
b5d15dff39 Fix react types 2022-06-16 14:28:12 +01:00
Steve Ruiz
702016a3ef Replace lask with lfg 2022-06-16 14:23:27 +01:00
Steve Ruiz
6608b07ab0 Update README, lask 2022-06-16 14:15:35 +01:00
Steve Ruiz
ef9d457a14
[fix] typescript types (#721)
* fix types

* Update .eslintrc.json
2022-06-16 09:09:48 +01:00
Judicael
e8459adc6b
feat: translate page name when creating new page (#720)
* feat: translate page name when creating new page

* Update createPage.ts

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-15 18:54:03 +01:00
Akshay Birajdar
27e0b8d96e
fix: broken screenshot image (#717) 2022-06-15 13:39:15 +01:00
yyyanghj
d298c550cd
[Translation] add Simplified Chinese translation (#715)
* feat: add Simplified Chinese translations

* feat: improve translation

* feat: improve translation

* feat: improve translation
2022-06-15 13:38:00 +01:00
Steve Ruiz
f8e2ba5b3b
Update MultiplayerMenu.tsx (#719) 2022-06-15 13:34:53 +01:00
Steve Ruiz
8419d7d227 1.16.0 2022-06-09 18:06:17 +01:00
Steve Ruiz
d52d91b367
Enforce readonly mode (#714)
* Enforce readonly mode

* Fix test for React 18

* Move to dev
2022-06-09 16:00:47 +01:00
Judicael
d919bd273e
feat: add translation (#704)
* feat: add translation

* modal, left menu translation

* primary tools translation

* render with intl provider for testing

restore file

* french translation done

* context menu translation and test

* added italian

* Add menu to select language

* translation for the word language

* bump dev deps

Bump react on www

* Fix types

* update dependencies

* pre-release

* Delete lask.config.json

Co-authored-by: Enrico <franciscono.enry@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-09 15:33:35 +01:00
dependabot[bot]
7c08f2f5b6
Bump protobufjs from 6.11.2 to 6.11.3 (#713)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.2 to 6.11.3.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/v6.11.3/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.2...v6.11.3)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 12:54:13 +01:00
Steve Ruiz
8c2e22b334 1.15.1 2022-06-02 17:18:48 +01:00
Steve Ruiz
c959006144
Make eraser line scale to zoom (#710) 2022-06-02 17:14:27 +01:00
dependabot[bot]
bba81eb71f
Bump next-auth from 4.3.2 to 4.3.3 (#709)
Bumps [next-auth](https://github.com/nextauthjs/next-auth) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/nextauthjs/next-auth/releases)
- [Changelog](https://github.com/nextauthjs/next-auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextauthjs/next-auth/compare/next-auth@v4.3.2...next-auth@v4.3.3)

---
updated-dependencies:
- dependency-name: next-auth
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 19:10:26 +01:00
Peng Xiao
87692eb7fe
fix: vec min function (#702) 2022-06-01 18:49:16 +01:00
Peng Xiao
b47fb729ee
fix: Pointer position is incorrect if Tldraw is drawing in a scrolling g container (#706)
* fix: Pointer position is incorrect if Tldraw is drawing in a scrolling container

fix https://github.com/tldraw/tldraw/issues/661

* Add example for scrolling

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-01 18:48:48 +01:00
Steve Ruiz
b3ad319518 1.15.0 2022-06-01 15:34:20 +01:00
Steve Ruiz
c126be5c50
[feature] add erase line (#708)
* Add erase line

* Fix erasing small dots

* bump perfect-freehand
2022-06-01 15:21:36 +01:00
Judicael
a5e2b55294
fix: delete user presence when leaving or on exit (#698) 2022-05-25 13:33:23 +01:00
Cameron Yick
6cb5b4a75a
feat(extension): activate on tldraw.json filetype, fix #700 (#701)
See https://github.com/excalidraw/excalidraw-vscode/blob/master/extension/package.json#L186-L197 for reference
2022-05-25 13:29:04 +01:00
Pengsha Ying
b077fa4246
fix: keep the outfile filename the same as where it was used (#695)
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-05-21 10:23:07 +01:00
Steve Ruiz
eca66b1c54 Fix keyboard events while menu is open. 2022-05-20 15:22:50 +01:00
Steve Ruiz
9d8c4888f3 move style panel to right-hand size 2022-05-20 15:10:54 +01:00
Steve Ruiz
c37a4a33d6 release 2022-05-20 14:45:10 +01:00
Steve Ruiz
ba0795c595
[improvement] adds option to keep style menu open (#697)
* Adds open to keep style menu open

* fix keyboard shortcuts, add button to menu
2022-05-20 13:56:16 +01:00
Steve Ruiz
c3fe36c2e7 Update create.ts 2022-05-19 12:03:06 +01:00
Steve Ruiz
a9750d9dc6 rename room to project 2022-05-19 12:01:31 +01:00
Steve Ruiz
be8c85eb5f cleanup 2022-05-19 11:45:59 +01:00
Steve Ruiz
0a23ad61b6 add filename to asset 2022-05-18 22:12:01 +01:00
Steve Ruiz
7e85d00c66 Merge branch 'main' of https://github.com/tldraw/tldraw 2022-05-18 22:06:05 +01:00
Steve Ruiz
bb58902d5b ok 2022-05-18 22:04:04 +01:00
Steve Ruiz
cacb4b7827
[improvement] copy assets when copying to multiplayer room (#694) 2022-05-18 21:46:24 +01:00
Steve Ruiz
13f5787c31
[improvement] Add ability to copy to new multiplayer room (#693)
* Add ability to copy to new multiplayer room

* cleanup
2022-05-18 16:59:30 +01:00
Steve Ruiz
1d3b419baf update version 2022-05-18 14:04:05 +01:00
Steve Ruiz
74b047549b
[fix] zoom on safari (#692)
* Fix pinch zooming on safari

* Reduce speed of zoom
2022-05-18 13:50:06 +01:00
Steve Ruiz
f281e123f8 fix buttons 2022-05-18 13:11:25 +01:00
Steve Ruiz
fbb29c87b2
[improvement] remove sponsorship color (#691)
* remove sponsorship variations

* Update menu
2022-05-18 13:09:11 +01:00
Steve Ruiz
e2a6badaef
[improvement] Adds error boundary (#690)
* Add error boundary

* Update useStyle.tsx

* Update ErrorFallback.tsx
2022-05-18 12:45:04 +01:00
Steve Ruiz
e33edb9cab 1.12.6 2022-05-15 10:51:24 +01:00
Steve Ruiz
e32815eaec
Fix scaled text (#687) 2022-05-15 10:40:22 +01:00