Commit Graph
23 Commits
Author SHA1 Message Date
TrueDoctorandKeavon Chambers 437251f90e Plumb layer panel (#107)
* WIP ExpandFolder handling

* Implement response parsing in typescript

* Update layer panel with list sent by wasm

* Add events for layer interaction

* Add proper default naming

* Fix displaying of the eye icon

* Attach path to LayerPanelEntry

* Fix lint issues

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2021-05-07 10:41:38 -07:00
TrueDoctor 721a442b75 Use serde to serialize responses (#96) 2021-05-07 02:47:38 -07:00
TrueDoctor 9ad5f4ce78 Add npm run lint-no-fix option (#93) 2021-05-07 02:47:38 -07:00
TrueDoctor cb9d34c84d Improve rendering efficiency and add caching (#95)
Fixes #84

*Reduce heap allocations
* Add caching for rendering svgs
* Deduplicate UpdateCanvas Responses
2021-05-07 02:47:38 -07:00
TrueDoctor 5f1620b008 Add caching to svg rendering (#94)
* Add documentation for functions in the document library
* Restructure backchannel
2021-05-07 02:47:38 -07:00
TrueDoctor c540d781e1 Fix active tool selection (#92) 2021-05-07 02:47:38 -07:00
TrueDoctor 3ab5f6b7ef Add responses in document for layer system (#91) 2021-05-07 02:47:38 -07:00
TrueDoctor 0b3a53c223 Split mouse events according to the button pressed (#90) 2021-05-07 02:47:38 -07:00
TrueDoctor 9ffbb4ce39 Add transactions for temporary modifications to the document (#77)
* Add transactions for temporary modifications to the document

* Add DiscardTempFolder Operation

* Add clearFolder operation

* Rename Temp to Work
2021-04-21 00:32:36 +02:00
TrueDoctor 8c957e572b Implement svg layer structure (#59)
* Add folder struct

* Add file system like structure to interface with svgs

* Add primitive undo functionality

* Restructure layer system
2021-04-12 00:57:39 +02:00
TrueDoctor b7f18dfaa8 Implement key handling (#65) 2021-04-07 11:02:56 +02:00
TrueDoctor 89ed123356 Add ToolData and rectangle tool (#64) 2021-04-07 09:25:23 +02:00
TrueDoctor 593572a4e8 Add loging implementation for wasm (#56) 2021-03-30 18:48:32 +02:00
TrueDoctor 0e553adb32 Implement event/response roundtrip (#49) 2021-03-28 00:23:41 +01:00
TrueDoctor 04dc05e575 Rework the ToolState and integrate it into the Editor struct (#48)
* Rework the ToolState and integrate it into the Editor struct

* Add asset manager sources to docs outline
2021-03-27 22:02:01 +01:00
TrueDoctor 1b1e641aa8 Add event struct (#47) 2021-03-27 20:06:10 +01:00
TrueDoctor f9308a6d5a Add tool_state functionality to wasm-wrapper (#42) 2021-03-27 02:26:55 -07:00
TrueDoctor 1dfbe9192e Create basic CI workflow (#41) 2021-03-27 02:26:55 -07:00
TrueDoctor 8741e31c92 Add wasm-bindgen to Vue config (#38) 2021-03-27 02:26:55 -07:00
TrueDoctor 169a281fbf Rename layout to workspace and fix typo (#36) 2021-03-27 02:26:55 -07:00
TrueDoctor 6b93e2c008 Fix errors introduced in 29f5672 (#35) 2021-03-27 02:26:55 -07:00
TrueDoctor eb2255149a Define the js wasm-editor interface (#31) 2021-03-27 02:26:55 -07:00
TrueDoctor b3933f30bc Add graphite-editor library skeleton (#34) 2021-03-27 02:26:55 -07:00