Commit graph

964 commits

Author SHA1 Message Date
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
f037118928 Update ArrowUtil.tsx 2021-11-07 20:07:57 +00:00
Steve Ruiz
be1f6c3c3c Update CHANGELOG.md 2021-11-07 14:45:57 +00:00
Steve Ruiz
4f3fae41b5 v0.1.6 2021-11-07 14:45:42 +00:00
Steve Ruiz
b726796d88 v0.1.5 2021-11-07 14:44:20 +00:00
Steve Ruiz
c479987dd8 Update CHANGELOG.md 2021-11-07 14:43:57 +00:00
Steve Ruiz
5627c34763 Update CHANGELOG.md 2021-11-07 14:43:29 +00:00
Steve Ruiz
6951fb370c
fix events on top panel (#226) 2021-11-07 14:42:27 +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
0d20994de9 Update package.json 2021-11-06 19:49:09 +00:00
Francois Laberge
0b15992464
Create VS Code Extension (#4)
* Start of vscode extension. Current code is copy/paste from custom editor samples from Microsoft. We need to evaluate if using their text based customer editor or full on new custom editor is the way to go

* Not sure how I missed these files. Adding them

* Have a custom editor triggering off of .tldr files. Added gitignores for generated folder. Have iframed tldraw loading and security policies set to do so

* Can now load a .tldr file. No saving support yet. Load times are slow, mostly from editor loading up I think

* Have temporary solution for saving working now too.

* Missed af ile

* Backing up progress in syncing tldraw editor history changes

* Removed console

* ...

* ...

* Cleanup

* Have save working well now.

* Moved extension into 'integrations' folder

* Trying out WebviewPanelOptions.retainContextWhenHidden=true and it's looking promising

* Some cleanup

* Trying out new  @tldraw/editor module

* Have prototype loading using new embedded editor

* ...

* Shaved off 1 second from editor loadtime

* Got save working again. Had to manually fixuppreviously created .tldr files as the format changed a bit

* More tuning

* Starting work to get new tldraw/tldraw working.

* Added example tldr files to vscode package

* Removed old editor package

* Have onChange working with latest fix. Back to iframed for a few mom

* Fixed up .tldr files

* Have iframe free extension working, but requiring hand crafted building

* ...

* Better handling of empty .tldr files. Still an issue with freshly created files trying to save as .js or .json

* Thoroughly added comments for the extension code. Need to add diagrams though and now will document/comment/diagram the editor src code

* Added comments to all of the editor side of the VS Code Extension. Also cleaned up the code

* More cleanup of VS Code Extension code and have script automating generating the initial webview's html content from the cra editor static build

* Tweaks to watch logic

* Improved scripts for publishing to VS Code Marketplace

* Improved name

* Made the smiley angry

* Reverted

* Turned smiley mad

* Turned smiley mad

* Made smiley sad

* Have a lot of plumbing working for Github codespaces and github.dev support

* Imported new tldraw vs code extension code. Added instructions for workflows

* Quick fix

* Fix for corrupted arrows files

* Updated editor build step to new location

* Merge branch 'main' into vscode-extension-v1, add local file updating

* Update App.tsx

* Cleanup, bumped to 0.0.124 @tldraw/tdlraw and published a 0.10.0 version of hte extension

* Added Trello/Kanban style file

* Finished video

* brings up to date

* Fix scripts

* Update README.md

* Update .babelrc

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-06 16:49:53 +00:00
Steve Ruiz
84bd8345e3 Create .babelrc 2021-11-06 16:11:30 +00:00
Steve Ruiz
a70cb145be don't minify 2021-11-06 16:09:38 +00:00
Steve Ruiz
3c1de1f169 name memoized components 2021-11-06 11:19:15 +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
b3ea398ba1 v0.1.4 2021-11-06 08:09:15 +00:00
Steve Ruiz
7f3f347d39 Update CHANGELOG.md 2021-11-06 08:08:59 +00:00
Steve Ruiz
492281ac18 Fix shortcut in menu 2021-11-06 08:07:43 +00:00
Proful Sadangi
bbb2bfbeb0
Fix for extra divider in the context menu (#222)
* Fix for extra divider in the context menu

* Moves divider to above group section, if present

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-06 08:04:44 +00:00
Steve Ruiz
0508857535 Update TrashIcon.tsx 2021-11-05 23:58:12 +00:00
Steve Ruiz
0aaa722f5a v0.1.3 2021-11-05 21:14:35 +00:00
Steve Ruiz
8a436aa9c3 pwa updates 2021-11-05 21:14:12 +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
61ac6427fb Migrations done! 2021-11-05 07:08:25 +00:00
Steve Ruiz
39f56d564a More debugging 2021-11-05 07:03:44 +00:00
Steve Ruiz
e3775c4c12 force migrate 2021-11-05 06:57:41 +00:00
Steve Ruiz
25cd388ff3 fixes migration bug? 2021-11-05 06:52:28 +00:00
Steve Ruiz
795936f8f1 v0.1.2 2021-11-04 15:52:57 +00:00
Steve Ruiz
0beacba47d Update CHANGELOG.md 2021-11-04 15:52:39 +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
cb777c85d1 v0.1.1 2021-11-04 13:17:11 +00:00
Steve Ruiz
92e076fb3f update tracked, scripts 2021-11-04 13:16:26 +00:00
Steve Ruiz
d69d24eb8f moves react back to peer dependencies 2021-11-04 13:09:51 +00:00
Steve Ruiz
6ea220d6b4 v0.1.0 2021-11-04 13:01:33 +00:00
Steve Ruiz
0e477676c7 Update dependencies, mark external 2021-11-04 13:00:51 +00:00
Steve Ruiz
161d69939f
[fix] Safari icons (#216)
* Fix icons on Safari, improve padding for UI

* fix types

* Update SizeMenu.tsx

* bumps size of primary buttons

* Minor UI tweaks
2021-11-04 12:26:41 +00:00
Steve Ruiz
72b6fafcc1 Fix ActionButton bug 2021-11-03 16:51:29 +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
3ff8f25dbc v0.0.133 2021-11-01 15:30:10 +00:00
Steve Ruiz
6579889813 Update CHANGELOG.md 2021-11-01 15:29:37 +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
cb96740dbc Update app.tsx 2021-10-29 15:01:32 +01:00
Steve Ruiz
742f9421d6 Remove core example 2021-10-29 15:01:09 +01:00
Steve Ruiz
b6f2e2940f Remove references to core, fix core example 2021-10-29 15:00:55 +01:00
Steve Ruiz
a8377139ab v0.0.132 2021-10-28 22:56:13 +01:00
Steve Ruiz
559ed0d074 Update CHANGELOG.md 2021-10-28 22:50:22 +01:00