Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement async commands. PaintCurrentUserAvatarCommandHandler example #4

Merged
merged 8 commits into from Aug 9, 2022

Conversation

JavierCane
Copy link
Member

New menu command:
image

Result:
image

We also added CancelCommandHandler tests in order to illustrate how we could do it despite the Figma SDK limitations

See commit messages for further details

The `paintCurrentUserAvatarCommand` requires to go outside the sandbox again returning back to the UI in order to interact with the DOM API to make a network request
… explicit about where they will be executed
…ore explicit about where they will be executed
@JavierCane JavierCane merged commit 45d8509 into main Aug 9, 2022
@JavierCane JavierCane deleted the async-commands branch August 9, 2022 17:42
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.

None yet

2 participants