Skip to content

Designer fixes#4094

Merged
dclaux merged 7 commits into
masterfrom
ts/designer-fixes
Jun 4, 2020
Merged

Designer fixes#4094
dclaux merged 7 commits into
masterfrom
ts/designer-fixes

Conversation

@dclaux

@dclaux dclaux commented Jun 3, 2020

Copy link
Copy Markdown
Member

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

ghost commented Jun 3, 2020

Copy link
Copy Markdown

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 commented Jun 3, 2020

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@dclaux

dclaux commented Jun 3, 2020

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@paulcam206 paulcam206 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

:shipit:

@paulcam206

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@dclaux

dclaux commented Jun 3, 2020

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@paulcam206

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
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
@ghost

ghost commented Jul 7, 2020

Copy link
Copy Markdown

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