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

[TS] Handle ShowCard strictly via execute() #4836

Merged
merged 2 commits into from
Sep 28, 2020
Merged

[TS] Handle ShowCard strictly via execute() #4836

merged 2 commits into from
Sep 28, 2020

Conversation

dclaux
Copy link
Member

@dclaux dclaux commented Sep 28, 2020

Related Issue

Fixes #4818

Description

Action.ShowCard has special handling code to allow for the correct expand/collapse user experience. So far, this special handling would be triggered internally only and not as a result of the execute() method being called. This lead to execute() having no effect on Action.ShowCard. This change enforces that all the logic is triggered as a result of execute() being called.

How Verified

Verified manually in adaptivecards-designer-app

Microsoft Reviewers: Open in CodeFlow

@ghost
Copy link

ghost commented Sep 28, 2020

Hi @dclaux. Thanks for helping make the AdaptiveCards JS renderer + tooling better. As additional verification, once the JS build succeeds, please go to the test site to test out your website/designer changes.

@dclaux dclaux merged commit e0f2755 into main Sep 28, 2020
@dclaux dclaux deleted the ts/misc-fixes branch September 28, 2020 19:52
@ghost ghost removed the AdaptiveCards v20.09 label Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Javascript][Actions] [Execute ShowCardActions programmatically]
2 participants