Commit graph

33 commits

Author SHA1 Message Date
Steve Ruiz
b7570ae6a3 v0.1.23 2021-11-13 11:21:33 +00:00
Steve Ruiz
4d629cb870 Merge branch 'main' of https://github.com/tldraw/tldraw 2021-11-13 11:19:37 +00:00
Steve Ruiz
273bd026c9 v0.1.22 2021-11-13 11:03:48 +00:00
Steve Ruiz
252efee211
[fix] stale vscode (#275)
* modify scripts

* Update build.js

* fix scripts
2021-11-13 11:02:10 +00:00
Steve Ruiz
22f2c2f6c6 Update extension.ts 2021-11-13 09:42:36 +00:00
Steve Ruiz
80acdf2ff0 v0.1.21 2021-11-13 09:41:30 +00:00
Steve Ruiz
6b4c2f0247 v0.1.20 2021-11-13 09:00:00 +00:00
Steve Ruiz
590562b5ba
[fix] vscode bugs (#271)
* Removes references to webpack scripts from .vscode settings

* clean up scripts, remove references to webpack

* works!

* Delete getHtmlForWebview.ts

* Update scripts

* Update package.json

* Remove more config

* Enable debugger into ts files

* Fixes fails on New TLDraw Document

Co-authored-by: Proful <proful.sadangi@gmail.com>
2021-11-13 08:49:34 +00:00
Steve Ruiz
f0a766b653 v0.1.17 2021-11-12 22:30:04 +00:00
Steve Ruiz
738fa2f8d6 v0.1.16 2021-11-12 22:28:30 +00:00
Steve Ruiz
f0e89b591b v0.1.15 2021-11-12 22:27:38 +00:00
Steve Ruiz
569948a7d8 v0.1.14 2021-11-12 22:25:32 +00:00
Steve Ruiz
59d085b5ac v0.1.19 2021-11-11 16:12:32 +00:00
Steve Ruiz
b1e5f57b91 v0.1.15 2021-11-11 16:11:44 +00:00
Steve Ruiz
31ce4ea5cb v0.1.14 2021-11-11 16:08:07 +00:00
Steve Ruiz
7c3d983cc6 v0.1.13 2021-11-11 16:07:02 +00:00
Steve Ruiz
0f05f3488f
[vscode] Update document when file changes (#263)
* Update app.tsx

* correct event
2021-11-11 16:06:02 +00:00
Steve Ruiz
5a4c075894 Update discord channel link 2021-11-11 12:25:25 +00:00
Steve Ruiz
e4076acc5f v0.1.13 2021-11-11 12:16:10 +00:00
Steve Ruiz
58fc99cc08 v0.1.12 2021-11-11 09:57:33 +00:00
Francois Laberge
913b4dc5d2
Fixes issue with saving files and makes empty files and New TLdraw command work (#258)
* Fixes issue with saving files and makes empty files and New TLdraw command work

* v0.1.16

* v0.1.18

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-10 19:42:28 +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
c1288363cd v0.1.11 2021-11-10 12:11:49 +00:00
Steve Ruiz
725f3105d6 v0.1.10 2021-11-10 12:09:29 +00:00
Steve Ruiz
83c6a978ad v0.1.9 2021-11-10 12:09:02 +00:00
Steve Ruiz
14cadbe5b5 v0.1.8 2021-11-10 12:08:32 +00:00
Steve Ruiz
8b3c963a08 v0.1.7 2021-11-09 14:38:09 +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
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
f30eb26003
Change listening port from 5000 to 5420 (#225) 2021-11-07 14:29:24 +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