Commit graph

107 commits

Author SHA1 Message Date
Steve Ruiz
9ccec77634 1.18.2 2022-06-30 08:59:09 +01:00
Steve Ruiz
dd873014f2 1.18.1 2022-06-26 21:20:29 +01:00
Steve Ruiz
3cba9712fd 1.18.0 2022-06-25 20:31:27 +01:00
Steve Ruiz
8ef86c1924 update example 2022-06-25 20:22:36 +01:00
Vincent Driessen
0acfd563fe
Upgrade Liveblocks to 0.17 (#738)
* Upgrade Liveblocks packages to 0.17

* Convert app to recommended Liveblocks 0.17 setup

* Convert multiplayer example to recommended Liveblocks 0.17 setup

* Convert multiplayer-with-images example to recommended Liveblocks 0.17 setup

* Fix React rendering issue for multiplayer app

This bug could manifest after _navigating_ internally to the Multiplayer
example app. Liveblocks Storage would seem to remain empty, but Presence
would still seem to work. In other words, you'd see cursors flying, but
no document contents.

This did not happen when doing a full page load.

This bug only occurs in React strict mode.

* update onPatch and onCommand

* "Add event callbacks for `onSessionStart` and `onSessionEnd`"

* Adds edit state

* Pass callbacks to app

* Remove console logs

* interpolate cursor only when not in session

* Update multiplayer icon

* Fix a few things

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-25 15:38:43 +01:00
Steve Ruiz
70e3c8bd45
[fix] bug with images that have the same name (#743)
* add unique id to file names to avoid name clashes

* Add event callbacks for `onSessionStart` and `onSessionEnd`
2022-06-25 12:28:18 +01:00
Steve Ruiz
a104d5a094 1.17.2 2022-06-24 16:06:36 +01:00
Steve Ruiz
a17bd18ae2 1.7.2, add Vec.distanceTo / Vec.nearestPointOnBounds 2022-06-21 08:49:45 +01:00
Steve Ruiz
65ff5075f0 1.17.0 2022-06-19 14:52:06 +01:00
Steve Ruiz
ef9d457a14
[fix] typescript types (#721)
* fix types

* Update .eslintrc.json
2022-06-16 09:09:48 +01:00
Steve Ruiz
8419d7d227 1.16.0 2022-06-09 18:06:17 +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
Steve Ruiz
8c2e22b334 1.15.1 2022-06-02 17:18:48 +01:00
Steve Ruiz
b3ad319518 1.15.0 2022-06-01 15:34:20 +01:00
Judicael
a5e2b55294
fix: delete user presence when leaving or on exit (#698) 2022-05-25 13:33:23 +01:00
Steve Ruiz
eca66b1c54 Fix keyboard events while menu is open. 2022-05-20 15:22:50 +01:00
Steve Ruiz
c37a4a33d6 release 2022-05-20 14:45:10 +01:00
Steve Ruiz
c3fe36c2e7 Update create.ts 2022-05-19 12:03:06 +01:00
Steve Ruiz
be8c85eb5f cleanup 2022-05-19 11:45:59 +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
c3050db968
[fix] copy and paste (again) (#685)
* fix copy

* remove console logs

* update types
2022-05-14 14:15:55 +01:00
Steve Ruiz
61cf4e6290 1.12.4 2022-05-14 12:19:06 +01:00
Steve Ruiz
417926bb14 1.12.3 2022-05-14 11:48:14 +01:00
Steve Ruiz
b8dfc9895a bump versions 2022-05-14 10:51:12 +01:00
Steve Ruiz
98d44b2120 1.12.1 2022-05-11 17:00:15 +01:00
Steve Ruiz
4b2b14eb26 release 1.12.0 2022-05-11 14:34:07 +01:00
Steve Ruiz
aeebfa7368 Remove chrome-aws-lambda from dependencies 2022-05-11 14:26:33 +01:00
Steve Ruiz
c54c800675
[improvement] local copy and export for images (#669)
* local images

use assets for local copy

add menu options

* clean up packages

* cleanup unused content, move file handling into app.paste

* Add tldraw-assets.json to other files.

* add path to editor

* Update build.mjs

* add export to server example with link to gist

* Fix onAssetCreate and onAssetDelete APIs

* Update yarn.lock

* fix bugs on paste, adjust api for getting images, fix readonly on cut, copy, paste

* re-enable swc

* paste svg strings as svg images

* cleanup

* fix string case for tldraw json
2022-05-11 14:25:08 +01:00
Steve Ruiz
e78f9a086a
remove transpile modules (#670)
* remove transpile modules

* remove dependency
2022-05-11 09:55:31 +01:00
Steve Ruiz
dc8332c3dc bump versions 2022-05-06 20:03:38 +01:00
Steve Ruiz
b859b721d0 Bump versions 2022-04-26 09:04:34 +01:00
Steve Ruiz
241adc98d3 1.10.0 2022-04-16 13:02:52 +01:00
Steve Ruiz
b4dd96ed19 update images 2022-03-31 17:30:29 +01:00
chlbri
4d5a929366
Feature style (#627)
* initial

* style: style and remove Svg export

* tiny up

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-03-24 09:05:35 +00:00
Steve Ruiz
8aa54f4d8c update 2022-03-17 14:11:22 +00:00
Steve Ruiz
1d5b3ac307 1.9.1 2022-03-11 08:43:36 +00:00
Steve Ruiz
1dd71f8b5e update images 2022-03-09 16:11:30 +00:00
Steve Ruiz
1950b4fa99 version, update images 2022-03-09 16:02:51 +00:00
Enrico
2781aa4e0d
added CAD like behavior like described in issue #555 (#589)
* added cade like behaviour like described in issue #555

* added color change when selecting depending on behavior

* added option to turn on/off cad like selection

* Revert "added color change when selecting depending on behavior"

This reverts commit 4a4aac02b68bf1bfbc86f9b9f05e23b3e6e0ae9d.

* Remove colors, add perfect dash props, rename setting, move prop to appState

* Reorder menu

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-03-09 10:19:58 +00:00
Steve Ruiz
9f40b1321d 1.6.2 2022-02-25 12:19:11 +00:00
Steve Ruiz
4445c13b3f Create serious-emus-talk.md 2022-02-15 12:41:35 +00:00
Steve Ruiz
e8dd64baf7
[fix] Multiplayer bugs on text (#571)
* Update StickyUtil.tsx

* Fix sticky text in multiplayer?

* fix text and text label

* Update TextUtil.tsx

* Update TextUtil.tsx

* Fix missing empty content button

* Create tidy-ducks-visit.md

* forcing bump

* Update TextUtil.tsx

* fix resizing

* try again

* don't merge editing ids

* fixed!

* Update utils.ts

* downgrade puppeteer

* change deps

* restore deps

* explicit version

* keep at it

* deps
2022-02-11 21:35:24 +00:00
Steve Ruiz
6d164db2cb
[fix] big serverless function (#568)
* downgrade big deps

* Update yarn.lock
2022-02-08 14:12:22 +00:00
Steve Ruiz
9619e3be0b
Add changeset (#567)
* add lask for packages

* Add turbo

* remove custom scripts

* update turbo scripts

* Improve scripts, update changelogs

* update action to use turbo

* Update .gitignore

* Update main.yml

* Update main.yml

* Update main.yml

* Add docs

* add clean

* Add changesets

* Add changeset
2022-02-08 11:45:11 +00:00
Steve Ruiz
e1fb9a8250
[improvement] Improve monorepo (lask + turbo) (#566)
* add lask for packages

* Add turbo

* remove custom scripts

* update turbo scripts

* Improve scripts, update changelogs

* update action to use turbo

* Update .gitignore

* Update main.yml

* Update main.yml

* Update main.yml

* Add docs

* add clean
2022-02-08 11:05:56 +00:00
Sulabh Bista
bb8cfab474
[feature] Transparent or white background on export (#565)
Co-authored-by: sb <sb@example.com>
2022-02-07 21:33:08 +00:00
Steve Ruiz
da4d566bd8 v1.6.1 2022-02-03 11:19:12 +00:00