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
Steve Ruiz
428623c91c
remove gtag
2022-07-28 09:49:22 +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
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
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
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
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
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
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
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
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
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
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
014bfbc841
bump dependencies
2022-02-03 10:57:03 +00:00
Steve Ruiz
16e8fe1426
[fix] export from other pages, export sizes ( #525 )
...
* support larger files, reparent shapes correctly
* serialize GIFs
2022-01-19 12:33:57 +00:00
Steve Ruiz
30d1d7721c
Fix exports in prod ( #521 )
...
* Fix exports in prod
* downgrade libs to fit under next.js serverless function size limit
2022-01-18 10:00:58 +00:00
Milo Hill
f61c09fb55
Fix SVG's not loading in multiplayer ( #498 )
...
* Session undefined
* Fix S3 svg uploads
2022-01-12 13:36:19 +00:00
Faraz Shaikh
6103febaaf
Added exporting of shapes and pages as images ( #468 )
...
* Added exporting of shapeses
* added video serialization
* Fix viewport sizes, add chrome-aws-lambda for puppeteer
* Update menu styling
* extract to callback
* Update Loading.tsx
* force update menu
* fix missing fonts
* Added SVG and JSON export
* Fix json exports
* Merge branch 'main' into pr/468, update menus
* Update TldrawApp.ts
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-01-10 16:36:28 +00:00
Milo Hill
e62755ef10
Add support for persisting images/video in multiplayer ( #475 )
...
* Kee track of changed assets
* Add support for multiplayer image assets
* fix tests
* Add images
* Improve asset deletion
* Remove assets from document
* Test with v small image only
* Add test for deleteShapes
* Cleanup document assets
* Add multiplayer assets to www
* remove default storage root, which was preventing migration
* Update onAssetDelete flow, rename some files
* bump upload size to 5mb
* Fix freeze bug where image fails to load
* fix logic for removing assets
* Update useMultiplayerState.ts
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-01-10 15:13:52 +00:00
Steve Ruiz
4da632d5d8
[improvement] Multiplayer cursors ( #458 )
...
* bump versions, improve cursors
* Spline cursors
* Update useCursorAnimation.ts
* Update useCursorAnimation.ts
* Add improved cursors
* Update MultiplayerEditor.tsx
* Update [id].tsx
2021-12-22 00:34:44 +00:00
Steve Ruiz
7c2777966f
[improvement] Multiplayer + cursors ( #457 )
...
* bump versions, improve cursors
* Spline cursors
2021-12-22 00:14:38 +00:00
Christian Petersen
e2814943e9
[feature] Add grids ( #344 )
...
* [feature] grids
* Shows relative grids at different zoom levels
* Update colors
* Restores vec and intersect to monorepo, changes vec.round to vec.toFixed, adds vec.snap
* Snapping in translate and transforms, fix shortcut
* fix bugs in build
* use grid size for nudge too
* update scripts
* Update grid.tsx
* Update grid.tsx
* Fixed!
* Update grid.tsx
* Fix package imports
* Update Editor.tsx
* Improve tsconfigs, imports
* Fix tiny arrow bugs, snap starting points to grid
* Update tsconfig.base.json
* Update shape-styles.ts
* Fix example tsconfig
* Fix translate type error
* Fix types, paths
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-26 15:14:10 +00:00
/c²
a0891ca3ff
Change Github to GitHub ( #315 )
2021-11-20 08:21:17 +00:00
Steve Ruiz
55124a52b4
fix routes ( #306 )
2021-11-19 14:33:15 +00:00
Steve Ruiz
67a7935cfc
[fix] page options dialog ( #302 )
...
* fix rename pages
* Update sponsors.ts
2021-11-19 13:20:23 +00:00
Steve Ruiz
cd48b67a74
[chore] Sponsors in README ( #301 )
...
* Add images, read me links
* Add API route for sponsor image
* Update cache max age
2021-11-19 12:59:08 +00:00
Steve Ruiz
e6a3e5c3ea
[big chore] restore core to monorepo ( #287 )
...
* move core into repo, apps into apps folder, update tests
* Update scripts for build:core
* improve scripts
* remove noise from www
* Update .gitignore
* Fix focus bug
* add ci test script
* Update main.yml
2021-11-18 13:09:18 +00:00