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

Designer fixes #4094

Merged
merged 7 commits into from
Jun 4, 2020
Merged

Designer fixes #4094

merged 7 commits into from
Jun 4, 2020

Conversation

dclaux
Copy link
Member

@dclaux dclaux commented Jun 3, 2020

Related Issue

Fixes #4092
Fixes #4093
Fixes MicrosoftDocs/AdaptiveCards#285
Fixes #4106
Fixes #4042 (comment)

Description

  • Designer was mistakenly setting the subtle property instead of the isSubtle property
  • Renderer will now not serialize the Container.style property if it is invalid (instead of forcing it to be undefined.) This fixes the issue of not being able to bind Container.style, and also fixes the same issue for ChoiceSetInput.style, Action.style and CardElement.height
  • The HttpAction.method property was mistakenly mapped to body, making it impossible to set the body property, which in turn caused an exception in the designer
  • The template engine erroneously reset $index to 0 even for non-array expansion.

How Verified

Varified manually in adaptivecards-designer-app

Microsoft Reviewers: Open in CodeFlow

@ghost
Copy link

ghost commented Jun 3, 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
Copy link
Member Author

dclaux commented Jun 3, 2020

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@dclaux
Copy link
Member Author

dclaux commented Jun 3, 2020

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

Copy link
Member

@paulcam206 paulcam206 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@paulcam206
Copy link
Member

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@dclaux
Copy link
Member Author

dclaux commented Jun 3, 2020

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@paulcam206
Copy link
Member

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@dclaux dclaux merged commit 543abeb into master Jun 4, 2020
@dclaux dclaux deleted the ts/designer-fixes branch June 4, 2020 22:17
@shalinijoshi19 shalinijoshi19 added AdaptiveCards v20.06 Area-Designer Platform-JavaScript Bugs or features related to the JavaScript renderer labels Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Designer Platform-JavaScript Bugs or features related to the JavaScript renderer
Projects
None yet
3 participants