Commit Graph
23 Commits
Author SHA1 Message Date
TrueDoctorandKeavon Chambers 6adb984f2d 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:17:46 +02:00
TrueDoctor f8ebff033d Use serde to serialize responses (#96) 2021-05-02 22:46:47 +02:00
TrueDoctor f10a3c63d1 Add npm run lint-no-fix option (#93) 2021-05-02 21:27:44 +02:00
TrueDoctor fc10575dfa Improve rendering efficiency and add caching (#95)
Fixes #84

*Reduce heap allocations
* Add caching for rendering svgs
* Deduplicate UpdateCanvas Responses
2021-05-02 21:21:39 +02:00
TrueDoctor 457c465342 Add caching to svg rendering (#94)
* Add documentation for functions in the document library
* Restructure backchannel
2021-05-02 20:34:23 +02:00
TrueDoctor 8d683a4162 Fix active tool selection (#92) 2021-05-02 08:30:51 +02:00
TrueDoctor f05cb30acb Add responses in document for layer system (#91) 2021-05-02 00:57:47 +02:00
TrueDoctor c5506c71b3 Split mouse events according to the button pressed (#90) 2021-05-01 21:09:13 +02:00
TrueDoctor 2849b99b59 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 6511f5a628 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 0a112be97b Implement key handling (#65) 2021-04-07 11:02:56 +02:00
TrueDoctor 599d478a5c Add ToolData and rectangle tool (#64) 2021-04-07 09:25:23 +02:00
TrueDoctor 6050038047 Add loging implementation for wasm (#56) 2021-03-30 18:48:32 +02:00
TrueDoctor b6d4baa513 Implement event/response roundtrip (#49) 2021-03-28 00:23:41 +01:00
TrueDoctor a5d85812ce 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 a62126f926 Add event struct (#47) 2021-03-27 20:06:10 +01:00
TrueDoctor 543fc4fec1 Add tool_state functionality to wasm-wrapper (#42) 2021-03-25 18:58:21 +01:00
TrueDoctor b1ecc4d950 Create basic CI workflow (#41) 2021-03-24 21:40:35 +01:00
TrueDoctor 76043cebcb Add wasm-bindgen to Vue config (#38) 2021-03-23 08:54:03 +01:00
TrueDoctor 36de2bfb02 Rename layout to workspace and fix typo (#36) 2021-03-22 09:24:09 +01:00
TrueDoctor d66add5310 Fix errors introduced in 29f5672 (#35) 2021-03-21 21:03:29 +01:00
TrueDoctor d254916430 Define the js wasm-editor interface (#31) 2021-03-21 19:32:56 +01:00
TrueDoctor 1b8c71d2b3 Add graphite-editor library skeleton (#34) 2021-03-21 18:02:14 +01:00