Commit Graph

9 Commits

Author SHA1 Message Date
Keavon Chambers
5dc838079b Refactor type handling for response handler to fix dangerous casting (#126) 2021-05-15 01:02:33 -07:00
TrueDoctor
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
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
f05cb30acb Add responses in document for layer system (#91) 2021-05-02 00:57:47 +02:00
Keavon Chambers
0ca4b9fe7c Fix web code linting to be portable across environments 2021-04-14 11:44:09 -07:00
Keavon Chambers
39286f8d78 Fix web lint errors and enable web linting in CI (#72) 2021-04-14 00:41:20 -07:00
Keavon Chambers
a56f50c60c Implement active tool visual syncing with tool shelf state 2021-04-10 03:49:27 -07:00
Keavon Chambers
958d351505 Plumb Responses from WASM to JS in the page 2021-04-10 02:48:33 -07:00