Skip to content

Comments

Update --asseteditor page to support all asset types#9255

Merged
riknoll merged 7 commits intomasterfrom
update-asseteditor
Dec 1, 2022
Merged

Update --asseteditor page to support all asset types#9255
riknoll merged 7 commits intomasterfrom
update-asseteditor

Conversation

@riknoll
Copy link
Member

@riknoll riknoll commented Dec 1, 2022

This PR rewrites the --asseteditor page to support all asset types.

The messaging protocol for editing/creating/duplicating assets now takes the entire project filesystem as an argument. This way, all the logic for managing assets and emitting TS files can stay inside the iframe and the outside window doesn't need to take a direct dependency on pxtlib. As a bonus, this also means we can send all of the pxt_modules for a project so the galleries are actually populated now instead of empty.

@riknoll
Copy link
Member Author

riknoll commented Dec 1, 2022

Also, I should mention, the only thing currently using the --asseteditor page is https://shakao.github.io/arcade-sprite-pack/ so this won't break anyone.

riknoll and others added 2 commits December 1, 2022 10:40
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
@riknoll riknoll merged commit 3d2f6ca into master Dec 1, 2022
@riknoll riknoll deleted the update-asseteditor branch December 1, 2022 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants