-
Notifications
You must be signed in to change notification settings - Fork 324
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
Add Hyper-V settings card styled adaptive cards #2489
Add Hyper-V settings card styled adaptive cards #2489
Conversation
{ | ||
"type": "AdaptiveCard", | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"version": "1.6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure this will refuse to render, you have to make it version 1.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interestingly it renders perfectly with 1.6 still.
…aby/add-hyper-v-code-for-creation-adaptive-cards
…om holding onto items view control internally
…aby/add-hyper-v-code-for-creation-adaptive-cards
{ | ||
{ "ImageDescription", GetMergedDescription(image) }, | ||
{ "SubDescription", image.Publisher }, | ||
{ "Header", image.Name }, | ||
{ "HeaderIcon", image.Symbol.Base64Image }, | ||
{ "ActionButtonText", "More info" }, | ||
{ "ContentDialogInfo", SetupContentDialogInfo(image) }, | ||
{ "ButtonToLaunchContentDialogLabel", buttonToLaunchContentDialogLabel }, | ||
{ "SecondaryButtonForContentDialogText", secondaryButtonForContentDialogText }, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: indendation
Summary of the pull request
This PR builds off of #2488
It uses the new settings styled adaptive cards introduced in that PR. Please review that one for context. This PR creates the adaptive cards that the Hyper-V extension will send back to dev home once Dev Home requests its creation adaptive cards.
For the UI of how this is rendered see video in #2488
Note: once the above PR goes into the Feature branch I'll retarget this PR to that branch
References and relevant issues
Detailed description of the pull request / Additional comments
Validation steps performed
PR checklist