David Sheldrick
f5c5b05dc7
[chore] update lazyrepo ( #1211 )
2023-05-02 12:25:26 +00:00
Orange Mug
77175a9dc4
Added pHYs
to import/export of png images ( #1200 )
...
Added the following
- Always export pngs with a pixel-ratio of `2`
- Added the `pHYs` png metadata chunk describing the pixel ratio so it
opens with the correct size
- When importing PNGs read the `pHYs` chunk for the sizing info
All the exporting is done via just modifying the bytes from the browsers
native image handling.
https://user-images.githubusercontent.com/235915/234309015-19f39f3a-66ce-4ec2-b7d0-b34a07ed346b.mov
I've also added `ANALYZE=true` option to get the build metadata from
esbuild on boot of `yarn dev` which allow me to see the bundle size info
in https://esbuild.github.io/analyze/
![esbuild github
io_analyze_](https://user-images.githubusercontent.com/235915/234310302-c6fe8109-c82d-480a-8c65-c7638b09e71e.png )
You can see that `crc` adds about `4.4kb`
<img width="280" alt="Screenshot 2023-04-25 at 15 33 26"
src="https://user-images.githubusercontent.com/235915/234310669-99e3e787-ddca-4ad2-81cf-b4a541631d62.png ">
---------
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2023-04-29 22:10:01 +00:00
David Sheldrick
4c65cb8db4
[lite] upgrade lazyrepo ( #1198 )
...
* upgrade lazyrepo
* update lockfile + lazy.config
2023-04-25 14:32:17 +01:00
alex
29ed921c67
transfer-out: transfer out
2023-04-25 12:01:25 +01:00
alex
ec84f64e63
lite: delete all
2023-04-21 16:53:31 +01:00
Steve Ruiz
b306d7cb41
Revert "Use dark title bar color on prefer dark scheme ( #1180 )" ( #1194 )
...
This reverts commit ec8f6c2735
.
2023-04-20 07:04:42 -04:00
Beto Osorio
ec8f6c2735
Use dark title bar color on prefer dark scheme ( #1180 )
2023-04-20 07:02:45 -04:00
Steve Ruiz
325d494a8a
1.29.2
2023-04-01 07:09:12 +01:00
alex
1051f4c28c
Add notice that tldraw will be down for maintenance ( #1174 )
...
* alex/offline-notice: offline notice
* alex/offline-notice: cleanup
* update copy
---------
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2023-03-21 11:45:47 +00:00
alex
39b784aa60
alex/maintenance-mode: Add maintenance mode ( #1164 )
2023-03-14 16:08:12 +00:00
Steve Ruiz
fd9200c200
1.29
2023-03-10 11:42:43 +00:00
Steve Ruiz
8b8b823012
v1.28.2
2023-03-10 11:37:43 +00:00
Steve Ruiz
3d1d329b6f
1.28.0
2023-02-06 14:26:40 +00:00
Jang Min
e02a5cb62e
Remove literals ( #1114 )
...
https://tldraw.com -> window.location.origin
2023-02-02 16:11:39 +00:00
Steve Ruiz
55a8831a6b
1.27.0
2023-01-15 11:22:09 +00:00
Steve Ruiz
4208445a8c
1.26.4
2022-12-30 18:02:02 -06:00
Daniel Molkentin
065c3ddc4a
serve fonts locally via fontsource ( #1091 )
...
* [fix] serve fonts locally via fontsource (#1077 )
* fix vscode extension build
Co-authored-by: zfgrnzfsberire <noreply@github.com>
2022-12-30 17:56:33 -06:00
Steve Ruiz
24cad6959f
1.7.24
2022-12-03 14:12:31 +00:00
Steve Ruiz
7be4a27d59
add link to new beta ( #1065 )
2022-12-03 12:26:48 +00:00
Steve Ruiz
c5ff2da775
1.25.2
2022-11-14 15:53:12 +00:00
Steve Ruiz
0f2abaf286
1.26.1
2022-11-09 16:35:43 +00:00
Steve Ruiz
6e275f09ef
1.26.0
2022-10-26 14:06:20 +01:00
Steve Ruiz
4698b8a33a
Remove sentry, update liveblocks ( #1007 )
2022-10-04 13:58:55 +01:00
Steve Ruiz
0eebdddb5b
1.24.0
2022-10-04 13:08:31 +01:00
James Vaughan
d721ae6a2f
Add support for custom cursor components ( #994 )
...
* Add support for custom cursor components
* Add tests for the custom cursor props
* Make the main tldraw app take the components prop
* feat: add the ability to hide cursors
* Update cursor props
* Update imports
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-09-24 20:24:11 +01:00
Steve Ruiz
8e55e263bf
1.24.5
2022-09-09 09:54:48 +01:00
Steve Ruiz
13898f871d
Fix postinstall
2022-09-08 14:56:24 +01:00
Steve Ruiz
5e24e5a4cb
1.24.4
2022-09-08 13:36:08 +01:00
Steve Ruiz
0549660244
1.24.3
2022-09-08 11:33:57 +01:00
Steve Ruiz
b56a3a6982
1.24.1
2022-09-08 10:58:42 +01:00
Steve Ruiz
760f6494e3
1.24.0
2022-09-08 09:48:50 +01:00
Steve Ruiz
34ce1ed68c
1.22.0
2022-09-07 15:25:47 +01:00
Steve Ruiz
5c396b3253
Add ids to title on multiplayer rooms
2022-09-02 07:32:35 +01:00
Steve Ruiz
9dab372b81
1.22.1
2022-09-01 17:24:33 +01:00
Steve Ruiz
f98310e5bf
1.22.0
2022-09-01 10:13:32 +01:00
Steve Ruiz
7b3c6ed808
Update vscode extension ( #942 )
2022-09-01 09:49:01 +01:00
Steve Ruiz
a22124b3a7
1.21.1
2022-08-28 08:19:11 +01:00
Gwenaël Gallon
25f39a65fc
Chore: update and optimize turbo ( #885 )
...
* Update turbo to latest
* Update turbo.json
* The --stream flag has been deprecated
* Remove unused start:all
* build:packages -> use new --filter
* build:apps -> use new --filter
* build:www -> use new --filter
* build:core -> use new --filter
* build -> fix tldraw-example dependencies
* Optimize test* and lint
* start & start:core -> use new --filter
* start:electron -> use new --filter
* Remove unused start:apps
* Update turbo.json
* Caching ESLint
See Pro Tip : https://turborepo.org/docs/core-concepts/caching#configuring-cache-outputs
* Optimize test:watch
* start:www -> use new filter
* start:vscode -> use new filter
* Update build:core
* Optimize start and start:core
* Clean build:core
* Remove unused command
* Revert "Merge branch 'main' into chore/update-turbo"
This reverts commit a481c242054504c9b8452822df8c452c24bcdfbd, reversing
changes made to a0f2f337b3d00974741effd4faae699ce493d3a2.
* Update start:electron
* Remove unused deploy in turbo.json
* Add start:extension
* Add package:electron and package:vscode
* Add publish:vscode
* Revet Revert: revert "Merge branch 'main' into chore/update-turbo"
* Update vscode extension build
* Clean tldraw-example tsconfig.json
* Uniform script commands
* Fix start for www
* remove mention of removed packages
* add build:core
* Add force to build step
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-11 07:08:32 +01:00
Steve Ruiz
d5639f696a
update yarn.lock, clean some deps
2022-08-10 01:00:42 +01:00
Steve Ruiz
a0007142e0
[chore] epic purge ( #893 )
...
* remove extension / electron app
* switch examples to vite
* Update licenses
* Add script
* fix titles
2022-08-10 00:18:59 +01:00
Gwenaël Gallon
2567cedcd2
Add clean script to apps and examples ( #869 )
2022-08-02 14:57:00 +01:00
Gwenaël Gallon
e0e1373468
Chore: clean up sort imports with prettier ( #870 )
...
* Update prettier to latest
* Add format command
* Create .prettierignore
* Add prettier plugin sort imports
* Update prettier config
* Update prettier config
* Update .prettierignore
* Fix @babel/parser conflict
https://github.com/trivago/prettier-plugin-sort-imports/issues/156
* Revert "Update .prettierignore"
This reverts commit 282e5b838376f16b3df7f4c1f99f1106baaffea4.
* Revert change for apps/www/pages/v/[id].tsx
* Sort imports
Moves the third party imports to the top, "~" imports in middle, and "./" at last
* Sorting of the specifiers
in an import declarations
* [www] use path vs "../"
* [core] use path "~" vs "../"
* [tldraw] use path "~" vs "../.../"
* [tldraw] use path "~" vs "../"
* [tldraw] Cleanup
* Update prettier config
* Last use path "~" vs "../.../"
* [www] Fix order of the third party imports
* Clean prettier config
2022-08-02 14:56:12 +01:00
Gwenaël Gallon
3c2c26c11e
Fix: workflow failure with missing lint command and added lint for apps/examples ( #866 )
...
* Add turbo run lint
* Add lint to all apps and examples
* Update eslint with monorepo configuration
see: https://typescript-eslint.io/docs/linting/typed-linting/monorepos#one-tsconfigjson-per-package-and-an-optional-one-in-the-root
* Remove unused rules
* Exclude @tldraw/www from global eslint config
* Remove duplicated eslint
* Fix eslint prefer-const errors
* Fix eslint no-unused-vars warning
* Update package.json
* Fix eslint no-unused-vars warning
* bump eslint@^8.20.0
* Correct "Fix eslint no-unused-vars warning"
This reverts commit 0158a2585af84b623f2c5581412252c8471375ae.
2022-07-30 08:27:54 +01:00
with-heart
82f9278976
chore: remove typedoc and docs scripts ( #864 )
2022-07-29 15:22:08 +01:00
Steve Ruiz
428623c91c
remove gtag
2022-07-28 09:49:22 +01:00
with-heart
f92eae0a5c
chore: remove tsconfig.tsbuildinfo from git ( #854 )
2022-07-28 08:26:45 +01:00
with-heart
2e36dadfec
chore: clean up local dev tooling ( #856 )
...
* chore: clean up husky + lint-staged
* chore: format all files with prettier
2022-07-28 08:19:53 +01:00
Steve Ruiz
0985a2ceff
Add events to connections
2022-07-25 15:24:23 +01:00
Judicael
6267cefa1d
update radix ui primitives ( #842 )
2022-07-24 23:57:47 +01:00
Steve Ruiz
3e8f585049
1.20.0
2022-07-23 15:09:37 +01:00
Steve Ruiz
f0f545806a
[improvement] Quality and UI cleanup ( #846 )
...
* remove sponsors, ui cleanup
* fix radius
* improve panel
* remove cursor spline animations
* migrate options
* Switch hrs to divider
* fix text color on menu dark mode
* Remove option for clone handles
* fix wheel
* remove unused translations
2022-07-23 15:05:48 +01:00
Steve Ruiz
54b66246d6
Fix flips ( #829 )
2022-07-18 18:01:15 +01:00
Steve Ruiz
0ac0df036b
[fix] hydration bug in iframe ( #813 )
...
* Fixes hydration bug in iframe
* Update [id].tsx
2022-07-12 11:12:00 +01:00
Steve Ruiz
b0755d8def
Restore fixes
2022-07-10 22:05:43 +01:00
Steve Ruiz
5b30011b9f
erp
2022-07-08 21:31:32 +01:00
Steve Ruiz
2352985e94
[feature] Iframe warning ( #800 )
2022-07-08 21:25:08 +01:00
Steve Ruiz
1e80d1ac21
1.19.1
2022-07-08 20:35:10 +01:00
Steve Ruiz
c95d52d077
Fix link
2022-07-08 14:46:45 +01:00
Steve Ruiz
315112459c
1.20.0 ( #797 )
...
* Edit Farsi translations (#788 )
* Add a Ukrainian translation (#786 )
* Add a Ukrainian translation
* Clarify some strings in the Ukrainian translation
* feat: change dock position (#774 )
* feat: change dock position
* fix grid row and column
* add top position
* fix responsive for the top position
* change content side
* fix overflowing menu
* [improvement] theme on body (#790 )
* Update Tldraw.tsx
* Add theme on body, adjust dark page options dialog
* fix test
* Preparing for global integration (#775 )
* Update translations.ts
* Create en.json
* Make main translation default
* Remove unused locale property of translation
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* Fix language menu
* Update ar.json (#793 )
* feature/add Hebrew translations (#792 )
* hebrew translations
* pr fixes
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* fix toolspanel item position (#791 )
* fix toolspanel item position
* add translation
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* Add remote caching
* Adds link to translation guide (#794 )
* Update ar.json (#795 )
* [feature] readonly link (#796 )
* Copy readonly link
* Update [id].tsx
* Add readonly label
* update psuedohash
* Update utils.ts
Co-authored-by: Baahar Ebrahimi <108254874+Baahaarmast@users.noreply.github.com>
Co-authored-by: walking-octopus <46994949+walking-octopus@users.noreply.github.com>
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
Co-authored-by: Ali Alhaidary <75235623+ali-alhaidary@users.noreply.github.com>
Co-authored-by: gadi246 <gadi246@gmail.com>
2022-07-08 14:09:08 +01:00
Steve Ruiz
5ac091339a
1.19.0
2022-07-07 12:06:30 +01:00
Steve Ruiz
88fbdacaea
1.19.0 ( #789 )
...
* Edit Farsi translations (#788 )
* Add a Ukrainian translation (#786 )
* Add a Ukrainian translation
* Clarify some strings in the Ukrainian translation
* feat: change dock position (#774 )
* feat: change dock position
* fix grid row and column
* add top position
* fix responsive for the top position
* change content side
* fix overflowing menu
* [improvement] theme on body (#790 )
* Update Tldraw.tsx
* Add theme on body, adjust dark page options dialog
* fix test
* Preparing for global integration (#775 )
* Update translations.ts
* Create en.json
* Make main translation default
* Remove unused locale property of translation
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* Fix language menu
* Update ar.json (#793 )
* feature/add Hebrew translations (#792 )
* hebrew translations
* pr fixes
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* fix toolspanel item position (#791 )
* fix toolspanel item position
* add translation
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* Add remote caching
* Adds link to translation guide (#794 )
Co-authored-by: Baahar Ebrahimi <108254874+Baahaarmast@users.noreply.github.com>
Co-authored-by: walking-octopus <46994949+walking-octopus@users.noreply.github.com>
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
Co-authored-by: Ali Alhaidary <75235623+ali-alhaidary@users.noreply.github.com>
Co-authored-by: gadi246 <gadi246@gmail.com>
2022-07-07 11:59:47 +01:00
Enrico
4d900fb7fd
Implemented better page numbering ( #779 )
...
* Implemented better page numbering
* Added spanish and french translation
* Add tests, fix regex
* Improve page naming logic
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-04 15:17:47 +01:00
Steve Ruiz
10b653c13e
1.18.3
2022-07-03 18:58:50 +01:00
Steve Ruiz
7028877699
Delete dist.crx
2022-06-30 15:11:34 +01:00
Steve Ruiz
de3935a28f
new tab extension ( #773 )
...
* Add new tab extension
* Update package.json
* Update package.json
* Update screenshot / manifest
2022-06-30 15:10:49 +01:00
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
dependabot[bot]
616404f452
Bump electron from 17.0.0 to 17.2.0 in /apps/electron ( #748 )
...
Bumps [electron](https://github.com/electron/electron ) from 17.0.0 to 17.2.0.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v17.0.0...v17.2.0 )
---
updated-dependencies:
- dependency-name: electron
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-26 07:33:32 +01:00
dependabot[bot]
6e1f8ff16d
Bump electron from 17.0.0 to 17.2.0 ( #749 )
...
Bumps [electron](https://github.com/electron/electron ) from 17.0.0 to 17.2.0.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v17.0.0...v17.2.0 )
---
updated-dependencies:
- dependency-name: electron
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-26 07:33:21 +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
b5d15dff39
Fix react types
2022-06-16 14:28:12 +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
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
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
1d3b419baf
update version
2022-05-18 14:04:05 +01:00
Steve Ruiz
e33edb9cab
1.12.6
2022-05-15 10:51:24 +01:00
Steve Ruiz
cd465e2fc4
bump versions
2022-05-14 22:24:03 +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