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
dependabot[bot]
26f4c59fdc
Bump next-auth from 4.3.3 to 4.5.0 ( #747 )
...
Bumps [next-auth](https://github.com/nextauthjs/next-auth ) from 4.3.3 to 4.5.0.
- [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.3...next-auth@v4.5.0 )
---
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-26 07:33:42 +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
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
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
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
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
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
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
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
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
c3050db968
[fix] copy and paste (again) ( #685 )
...
* fix copy
* remove console logs
* update types
2022-05-14 14:15:55 +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
dependabot[bot]
1a1ce48407
Bump plist from 3.0.4 to 3.0.5 ( #676 )
...
Bumps [plist](https://github.com/TooTallNate/node-plist ) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases )
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md )
- [Commits](https://github.com/TooTallNate/node-plist/commits )
---
updated-dependencies:
- dependency-name: plist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:59:52 +01:00
Steve Ruiz
e78f9a086a
remove transpile modules ( #670 )
...
* remove transpile modules
* remove dependency
2022-05-11 09:55:31 +01:00
dependabot[bot]
2b484cf93a
Bump ejs from 3.1.6 to 3.1.7 ( #675 )
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases )
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:54:15 +01:00
dependabot[bot]
ada4046701
Bump next-auth from 4.2.1 to 4.3.2 ( #672 )
...
Bumps [next-auth](https://github.com/nextauthjs/next-auth ) from 4.2.1 to 4.3.2.
- [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/v4.2.1...next-auth@v4.3.2 )
---
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-05-11 09:50:53 +01:00
Steve Ruiz
5493403663
Revert "Use the npm module of browser-fs-access ( #653 )"
...
This reverts commit b4e97604b3
.
2022-04-29 09:07:25 +01:00
Steve Ruiz
79204d7ba5
fix build for vscode extension
2022-04-26 11:40:26 +01:00
Thomas Steiner
b4e97604b3
Use the npm module of browser-fs-access ( #653 )
...
* Use npm module
* Update yarn.lock
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-04-25 11:43:31 +01:00
Steve Ruiz
2a98e0c6e7
[fix] Protect document from missing parents / children. ( #622 )
...
* Scan document for missing parents / children.
* fix tests
* Apply fixes to vscode extension
2022-03-17 12:42:18 +00:00
dependabot[bot]
77534ca124
Bump next from 12.0.10 to 12.1.0 ( #610 )
...
Bumps [next](https://github.com/vercel/next.js ) from 12.0.10 to 12.1.0.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v12.0.10...v12.1.0 )
---
updated-dependencies:
- dependency-name: next
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-03-09 11:26:27 +00:00
Steve Ruiz
7df566ad0f
[fix] export groups ( #574 )
...
* update export logic to include grouped ids
* Update TLDR.ts
* Update package.json
* Update yarn.lock
* remove remote caching
* Update yarn.lock
2022-02-13 13:13:23 +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
Steve Ruiz
40b9f4c781
update root dependencies
2022-02-03 11:16:40 +00:00
Steve Ruiz
014bfbc841
bump dependencies
2022-02-03 10:57:03 +00:00
Steve Ruiz
03ff422680
[improvement] arrows binding logic ( #542 )
...
* Improve arrows binding logic
* Update ArrowSession.ts
* more arrow improvements
* major arrow cleanup / refactor
* point toward anchor rather than center
2022-01-30 21:13:57 +00:00
Jason Laster
0ff6f0628f
Add sourcemap-loader to build step ( #535 )
...
* Add sourcemap-loader to build step
* .
2022-01-25 09:57:24 +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
Steve Ruiz
8977d296a9
move puppeteer to www
2022-01-18 09:18:22 +00:00
Steve Ruiz
6a282ca9c2
Bump dependencies, fix bug on mobile, preserve settings.
2022-01-10 21:09:26 +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
5b13e7f19e
Update yarn.lock
2022-01-07 09:10:25 +00:00
Steve Ruiz
d5cd7ed480
bump use-gesture, memoize gesture callbacks
2021-12-27 12:50:18 +00:00
Faraz Shaikh
1c65c031b2
Add Image and Video shapes ( #460 )
...
* Added image and video shapes
* Fixed bugs; Added optional onImageUpload callback
* Added id field to onImageUpload
* Added onImageDelete callback for cleanup
* Added firebase storage to multiplayer for media
* Added firebase storage to multiplayer for media
* Silence unnecessary TS errors
* Fixed bugs; Added tests
* Added tests
* Disable images for multiplayer example
* switch to assets in document, rather than on shapes, fix resize, fix sizes
* bump version, add migration for assets table
* Rename onImageUpload
* Add isPlaying state to video (not complete)
* Revert "Add isPlaying state to video (not complete)"
This reverts commit 3dc2ba703f4194eb7c47524d384dc8392daa18be.
* Adds controls when editing video, sync current time when cloning
* Remove unused tools
* avoid duplication in assets
* Remove unused image styles from style menu
* Fix placement of clone buttons
* Fix flag to hide image assets in multiplayer
* move getSizeFromDataUrl to filesystem
* Update VideoUtil.tsx
* Re-center video after it loads
* Add copy and paste support for assets
* Fix bug in state manager, remove unused assets on load, fix indicators
* Add multiplayer with images example
* Update MultiplayerEditor.tsx
* Add images to copy SVG
* tighten up some code around svg export
* Update TldrawApp.spec.ts
* Update useBoundsHandleEvents.tsx
* Reset image size by double clicking bounds
* fix reset size
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-25 17:06:33 +00:00
Steve Ruiz
b243600a3a
Update changelog
2021-12-22 14:11:29 +00:00
Steve Ruiz
7c2777966f
[improvement] Multiplayer + cursors ( #457 )
...
* bump versions, improve cursors
* Spline cursors
2021-12-22 00:14:38 +00:00
Jim Fisher
2bc927f68e
Bugfix: 'Copy as SVG' shapes have black fill by default ( #449 )
...
* Bugfix: 'Copy as SVG' shapes have black fill by default
* Remove binding hit areas from copied SVG
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-17 15:23:03 +00:00
megnakokkalera
c67c0871ff
Fix/undo on menu open ( #436 )
...
* fix for undo button on menu open
* Change toggle to set, add option for keyboard events
* Update .gitignore
* Update .gitignore
* Remove isStyleOpen
* Remove isStyleOpen
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-12-06 18:23:53 +00:00
Steve Ruiz
a816ceaa64
bump deps, add version to root package
2021-11-28 13:59:36 +00:00
Steve Ruiz
5c0e4fad11
Upadte changelogs
2021-11-28 10:30:16 +00:00
Noah Shipley
98cc0d4cac
Feature/mobx - adds mobx support to @tldraw/core ( #383 )
...
* Initial commit with mobx
* Convert more to mobx
* Make useCameraCss reactive (autorun)
* Move more items to mobx
* Fix more invalid components and layout hooks that needed to be reactive
* Add autorun to css layout effect
* Remove centric specific yarn.lock changes
* mild cleanup
* update from main
* add tests, example
* cleanup
* minor tweak to advanced example
* Update app.tsx
* Optimizations around events not being memoized
* Support className property on SVGContainer
* Add data-type to shape container to aid with external styling
* Fix classnames
* Fixes bug on text shapes / shapes with refs
* v1.1.9-beta.1
* v1.1.9-beta.2
* Drop mobx as a dependency for core
* v1.1.9-beta.3
* rename
* Revert "Drop mobx as a dependency for core"
This reverts commit 2d93f84a87f0c709e55fb2766519bfde03f8e854.
* remove unused code from utils, move curve to separate package
* v1.1.9-beta.4
* Add pretty-quick
* Update package.json
* Renamings
Co-authored-by: Noah Shipley <nshipley@centricsoftware.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-28 10:05:40 +00:00
Proful Sadangi
7563575ef5
[Bug] Added visibility of clone tool ( #381 )
...
* [bug] Added display of clone buttons
* Reverted changes from sticky notes
* feat show those style options when the text tool is selected
* Add clone handles to sticky
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-26 17:12:27 +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
Steve Ruiz
5e6a6c9967
[improvement] refactor multiplayer ( #336 )
...
* Move rko into library, improve multiplayer example
* Add presence layer
* extract to a hook
* Migrate old documents to new structures
* Update repo-map.tldr
* More improvements
* Fix bug on deleted shapes
* Update MultiplayerEditor.tsx
2021-11-22 14:00:24 +00:00
Steve Ruiz
62803443ef
fix stuck pointer during text editing / palm hits ( #316 )
2021-11-20 00:05:48 +00:00
Steve Ruiz
55124a52b4
fix routes ( #306 )
2021-11-19 14:33:15 +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
Steve Ruiz
878ca710b7
bumps rko
2021-11-18 12:13:38 +00:00
Steve Ruiz
1fb5c633c5
fix issue with create-react-app
2021-11-17 11:50:30 +00:00
Steve Ruiz
f9a4d81135
bump rko
2021-11-17 11:24:12 +00:00
Steve Ruiz
0c5f8dda48
1.0.0 ( #267 )
...
* remove sponsorwall for main route
* Adds sponsorship link
* Remove all sponsorwall
* Fix sponsorship link appearance on dark mode
* Add heart icon
* Fix text bug
* Fix toolbar, hide resize handles on sticky
* Add eraser
* Update Kbd.tsx
* cleanup
* base zoom delta on event deltaMode
* Fix image in example
* Fix eraser icon
* eraser tool resets to previous tool
* Update EraseTool.spec.ts
* Improves support for locked shapes
* Update _document.tsx
* Update CHANGELOG.md
* Adds multiplayer menu, fix develop route in example
* Tighten up top panel padding
* Update top bar, bump packages
* refactor TLDrawState -> TLDrawApp, mutables, new tests
* Fix scaling bug, delete groups bug
* fix snapping
* add pressure to points
* Remove mutables, rename to tldraw (or Tldraw)
* Clean up types, add darkmode prop
* more renaming
* rename getShapeUtils to getShapeUtil
* Fix file names
* Fix last bugs related to renaming
* Update state to app in tests
* rename types to TD
* remove unused styles / rename styles
* slight update to panel
* Fix rogue radix perf issue
* Update ZoomMenu.tsx
* Consolidate style panel
* Fix text wrapping in text shape, improve action menu
* Fix props
* add indicators for tool lock
* fix calloits
* Add click to erase shapes
* Slightly improve loading screen
* Update PrimaryTools.tsx
* remove force consistent filenames from tsconfig
* Update useTldrawApp.tsx
* fix capitalization
* Update main.yml
2021-11-16 16:01:29 +00:00
Steve Ruiz
63137b04e9
bump
2021-11-11 09:56:21 +00:00
Francois Laberge
a95b581e07
Prepare for Publishing VS Code Extension ( #227 )
...
* Changed Wardlt use back to Tldraw. Added some VS Code marketplace categories
* Missed removing one Wardlt mention
* Initial support for esbuild based vscode extension workflow.
* Hacky start of vs code extension build script
* Fixed categories of extension
* Added script for generating VS Code extension installer
* Temp fix for file format change affecting VS Code extension
* Temp fix for file format change issue
* Cleanup, prevent changes from saving pagestates
* Remove logic around saving pageState
* standardize capitalization
* v0.1.8
* Edit readme, scripts
* Update .eslintignore
* v0.1.9
* v0.1.10
* cleans up build scripts, adds publishing notes
* Added VS Code extension implementation references links. start:vscode now auto opens the extension folder in VS Code
* Removed step from VS Code README to manually open the extensions folder
* Removed file
* v0.1.11
* v0.1.12
* Fix empty file
* v0.1.13
* README cleanup
* v0.1.14
* Update TLDrawEditorProvider.ts
* v0.1.15
* Fix types for file extension (sort of) build script for extension
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-10 15:35:51 +00:00
Steve Ruiz
be2c6d6d1f
[refactor] events ( #230 )
...
* bumps rko, adds events
* rename tlstate to state, fix env for multiplayer test
* Fix multiplayer
* rename data tldrawstate to tldrawsnapshot
* Update multiplayer-editor.tsx
* Fix shhhmp
* Update 2.tldr
* Add API to the README
2021-11-08 14:21:37 +00:00
Steve Ruiz
f30eb26003
Change listening port from 5000 to 5420 ( #225 )
2021-11-07 14:29:24 +00:00
Steve Ruiz
7c980ebb19
Electron App ( #224 )
...
* add electron wrapper
* add to workspaces
* fixes electron setup
* Fix package for dev
* build out electron app communication
* Update README.md
2021-11-07 13:45:48 +00:00
Steve Ruiz
e11f05028f
[mega-chore] renaming ( #223 )
...
* Rename shape utils
* renames files
* Add husky
* Delete .babelrc
* Update TLDR.ts
* renames commands
* Update package.json
* more pre-commit work
2021-11-06 11:16:30 +00:00
Steve Ruiz
ec3dae085c
[improvement] repo, scripts ( #220 )
...
* Fix menu, cleanup package.json
* update changelog
2021-11-05 20:31:20 +00:00
Steve Ruiz
fb77323ef2
[feature] filesystem + readonly ( #218 )
...
* Fix escape key for menu
* Adds filesystem support, readonly mode
* Move file system events to external hook
* Adds onSignIn callback, prevent event by default
2021-11-05 14:13:14 +00:00
Steve Ruiz
fe2e3c81fe
[improvement] Migrations ( #217 )
...
* Add better migrations
* Improves migrations
* rename dev to example
* renames migrate
* Removes workers from git
* Remove rogue dependency
* Fix dropdown navigation by keyboard
2021-11-04 15:48:39 +00:00
Steve Ruiz
92e076fb3f
update tracked, scripts
2021-11-04 13:16:26 +00:00
Steve Ruiz
0e477676c7
Update dependencies, mark external
2021-11-04 13:00:51 +00:00
Steve Ruiz
e2369003c6
[improvement] UI ( #215 )
...
* move folders out of packages
* Remove custom yarn stuff, remove duplicate readme
* Remove stitches config
* Add README script.
* bump deps
* Fix script
* Update package.json
* rehauls UI
* further rehauls UI
* UI polish
* Update ToolButton.tsx
* Update ToolButton.tsx
* Bump license
* move tldraw to root
* Remove SW
2021-11-03 16:46:33 +00:00
Steve Ruiz
b68a4681e1
[improvement] repo shuffle ( #214 )
...
* move folders out of packages
* Remove custom yarn stuff, remove duplicate readme
* Remove stitches config
* Add README script.
* bump deps
* Fix script
* Update package.json
2021-11-02 11:46:25 +00:00
Steve Ruiz
0d564c1501
Remove libraries
2021-11-01 15:26:44 +00:00
Steve Ruiz
12e425ddc4
[fix] rotate center ( #213 )
...
* fixes rotate center after translating / transforming
* Adds test, fixes issue on undo/redo
* Update tsconfig.base.json
2021-10-30 10:04:33 +01:00
Steve Ruiz
5479d67877
Updates to new core. ( #210 )
2021-10-28 17:50:58 +01:00
Steve Ruiz
bc080a6634
bumps core
2021-10-27 18:54:07 +01:00
Steve Ruiz
599e6032a9
Removes core (off to its own repo)
2021-10-27 18:52:02 +01:00
Steve Ruiz
2e6c33342d
[refactor] ShapeUtils ( #206 )
...
* Starts refactor
* tests passing, got it
* Fix next
2021-10-27 16:15:01 +01:00
Steve Ruiz
ad8bf78dd4
Replace ts-jest with swc-node/jest ( #194 )
2021-10-22 12:41:24 +01:00
Steve Ruiz
0cfc68b004
[feature] snapping ( #168 )
...
* defer cloning
* basic snapping
* Improves algorithm for snap points, rendering
* Improves snapping, snaplines
* Enables a clone to snap to its parent
* Adds overlay
* Fix overlay, zoom scaling for distance and speed
2021-10-18 14:30:42 +01:00
Steve Ruiz
1ec0434a3c
[improvement] improve performance ( #151 )
...
* Remove context menu
* Update stitches elements
* Update yarn.lock
* Fix bug on bounds bg
* Adds timer for will-change
* remove zindex
* jesus christ, just an extra div
* Remove will change timer
2021-10-15 13:49:48 +01:00
Steve Ruiz
a633dbcdbc
Fix draw tool
2021-10-13 19:58:12 +01:00
Steve Ruiz
99730b4fe2
[feature] MVP multiplayer support ( #135 )
...
* Adds multiplayer support
* Update liveblocks.tsx
* Update liveblocks.tsx
* Create chaos.tsx
* Fix undo redo, add merge state
* Update multiplayer-editor.tsx
* Adds secret room
* Update chaos.tsx
* Moves shhh to shhhmp
* Fix accidentally deleting the editing shape
* Fix bug where a selected shape is deleted by another user.
* Remove relative path
* Tweak editor
* Remove chaos endpoint
* Adds error state for maximum connections, fixes selectedIds bug on new rooms
2021-10-09 00:05:24 +01:00
Steve Ruiz
d2fb13e18c
bumps perfect-freehand, fixes dot issue
2021-10-08 12:34:11 +01:00
Steve Ruiz
6733e27dbc
bumps use gesture
2021-10-05 20:28:52 +01:00
Steve Ruiz
31638c7c90
[fix] indicator shapes ( #121 )
...
* Fix indicator shape for draw shape, rectangle shape
* Fixes perfect-freehand bug
* Tweaks streamline
2021-09-24 10:47:25 +01:00
Steve Ruiz
b90c57bbc3
improve canvas positioning, fix zaxis reordering
2021-09-22 16:00:20 +01:00
Steve Ruiz
1d988f132a
[feature] Add Sentry tracking, restore installable PWA ( #106 )
...
* This PR restores the sentry and pwa features
* Add gtag to editor in events.
2021-09-22 13:17:52 +01:00
Steve Ruiz
6199b5a0b7
Bumps perfect-freehand
2021-09-21 16:49:52 +01:00
Steve Ruiz
bbee7bc2b2
Feature copy and paste ( #99 )
...
* adds copy and paste, scopes keyboard events to focused elements
* Fix tools panel bug, adds copy across documents
* Makes autofocus default
2021-09-21 16:47:04 +01:00
Pedro Duarte
f8b2fe1c85
Refactor to Stitches Core ( #89 )
...
* Refactor www/styles to Stitches Core
* Update package.json
* Begin refactor of `tldraw`
* More refactoring
* A bit more
* little bit more
* Update yarn.lock
* Drops React dependencies to 16.8
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-09-19 20:45:50 +01:00
Steve Ruiz
bec693a1d9
Tweaks the draw appearance, fix ellipse rotation ( #93 )
2021-09-18 18:39:34 +01:00
Steve Ruiz
cdb7c74f8e
Updates perfect-freehand, draw renderings
2021-09-17 17:37:40 +01:00
Steve Ruiz
dfd079ad9a
Update yarn.lock
2021-09-14 12:33:07 +01:00
Steve Ruiz
56f327d4f9
Adds tsconfig-replace-paths
2021-09-14 08:51:24 +01:00
Steve Ruiz
f7971d5c6f
Cleans up packages, tsconfigs, fixes for docs
2021-09-12 14:00:31 +01:00
Steve Ruiz
d0e33f22e1
Fix bad import, bump esbuild
2021-09-09 17:06:22 +01:00
Steve Ruiz
b00e0d3a95
Improves pan and zoom gestures
2021-09-09 13:32:08 +01:00
Steve Ruiz
8154ed5a2a
Adjusts small example, makes inputs unique to each instance
2021-09-08 17:18:43 +01:00
Steve Ruiz
7489ee8174
Add imperative test, bump rko
2021-09-08 12:53:52 +01:00
Steve Ruiz
c814786789
Remove explicit package from www
2021-09-06 14:12:19 +01:00
Steve Ruiz
04b6353e41
Adds setter for history
2021-09-06 13:43:56 +01:00
Steve Ruiz
d69b8a7229
bump rko
2021-09-06 12:49:27 +01:00
Steve Ruiz
9f2148eab9
Fixes import issue
2021-09-06 12:33:30 +01:00
Steve Ruiz
376d836154
Adds onChange and onMount to constructor
2021-09-04 16:40:23 +01:00
Steve Ruiz
a081840aa9
Adds auth
2021-09-04 13:02:13 +01:00
Steve Ruiz
8218af529d
Restores next-transpile-modules
2021-09-04 12:36:47 +01:00
Steve Ruiz
a7520088b0
fresh start on www
2021-09-04 12:26:46 +01:00
Steve Ruiz
87ffff5097
Updates deps, pointerMove event handlers
2021-09-04 11:32:33 +01:00
Steve Ruiz
71be59ae9f
Revert "Bumps stitches"
...
This reverts commit 303396cf05
.
2021-09-04 11:21:57 +01:00
Steve Ruiz
fd31f60bae
Revert "bumps and removes deps from www"
...
This reverts commit 75e08096d8
.
2021-09-04 11:21:55 +01:00
Steve Ruiz
ca9e1981e6
Revert "More cleanup on www"
...
This reverts commit e4ae017082
.
2021-09-04 11:21:53 +01:00
Steve Ruiz
e4ae017082
More cleanup on www
2021-09-04 11:15:10 +01:00
Steve Ruiz
75e08096d8
bumps and removes deps from www
2021-09-04 11:13:55 +01:00
Steve Ruiz
303396cf05
Bumps stitches
2021-09-04 11:11:09 +01:00
Steve Ruiz
a74e168d97
Revert "Adds auth, etc to next.js site"
...
This reverts commit fbbaf08513
.
2021-09-04 10:17:10 +01:00
Steve Ruiz
706ed57353
Revert "Update yarn.lock"
...
This reverts commit 7e1c63d5ea
.
2021-09-04 10:17:10 +01:00
Steve Ruiz
35253348d2
Revert "Migrate to stitches 1.0.0, fix a few bugs"
...
This reverts commit fea9e727fd
.
2021-09-04 10:17:10 +01:00
Steve Ruiz
fea9e727fd
Migrate to stitches 1.0.0, fix a few bugs
2021-09-03 15:21:28 +01:00
Steve Ruiz
7e1c63d5ea
Update yarn.lock
2021-09-03 15:13:25 +01:00
Steve Ruiz
fbbaf08513
Adds auth, etc to next.js site
2021-09-03 15:11:50 +01:00
Tais Massaro
079d4d05e8
test(tldraw): use jest .todo instead of TODO comments
2021-09-01 21:22:13 +02:00
Steve Ruiz
1c9bbe3e36
bumps perfect freehand, improves draw and text
2021-08-31 21:46:49 +01:00
Steve Ruiz
38114cde37
bumps canvas
2021-08-31 19:13:24 +01:00
Steve Ruiz
2771ae986f
Adds peer deps
2021-08-31 14:28:51 +01:00
Steve Ruiz
2937016ae0
Adds indicator for dots, rename and delete dialogs for pages, dark mode support for ui
2021-08-30 14:04:12 +01:00
Steve Ruiz
7d18be27cf
tweaks packages, bumps a few deps
2021-08-30 08:45:10 +01:00
Steve Ruiz
9e8e99cb6f
Move state to rko
2021-08-29 14:33:43 +01:00
Steve Ruiz
c3e6c55a68
Bumps perfect-freehand
2021-08-27 10:53:01 +01:00
Steve Ruiz
840532142e
bumps perfect-freehand, improves draw dots
2021-08-23 15:38:14 +01:00
Steve Ruiz
3d90322178
Remove merge-deep
2021-08-18 00:12:14 +01:00
Steve Ruiz
f19d3e6366
Fixes database issues, fixes rendering issue
2021-08-18 00:11:00 +01:00
Steve Ruiz
9c45e0a5a5
Starts on menu, page panel
2021-08-16 08:49:31 +01:00
Steve Ruiz
b8f410b752
Adds react tests, build tsconfigs
2021-08-14 16:46:21 +01:00
Steve Ruiz
b74590c128
Fix versions in packages
2021-08-13 14:12:35 +01:00
Steve Ruiz
ea71fd4227
Fix version in www
2021-08-13 14:10:30 +01:00
Steve Ruiz
9ac8aa428b
Adds code to create dist folder if not present
2021-08-13 14:01:22 +01:00
Steve Ruiz
4eb29349be
Fix dev server index.html
2021-08-13 12:13:11 +01:00
Steve Ruiz
ccb8876d8b
All tests passing
2021-08-13 11:49:35 +01:00
Steve Ruiz
8c02e0df84
Improves types and imports!
2021-08-13 10:28:09 +01:00
Steve Ruiz
e71bf1d327
Puts www back in packages
2021-08-11 21:03:59 +01:00
Steve Ruiz
4ac1b93f96
Adds dev server
2021-08-10 18:19:30 +01:00
Steve Ruiz
5998879e24
Replace
2021-08-10 17:12:55 +01:00
Steve Ruiz
87b46b7d31
bumps perfect freehand
2021-07-14 22:14:32 +01:00