-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from bradh11/adaptive_card_support
Adaptive card support
- Loading branch information
Showing
3 changed files
with
149 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
{ | ||
"type": "AdaptiveCard", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"size": "Medium", | ||
"weight": "Bolder", | ||
"text": "Publish Adaptive Card schema" | ||
}, | ||
{ | ||
"type": "ColumnSet", | ||
"columns": [ | ||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "Image", | ||
"style": "Person", | ||
"url": "https://pbs.twimg.com/profile_images/3647943215/d7f12830b3c17a5a9e4afcc370e3a37e_400x400.jpeg", | ||
"size": "Small" | ||
} | ||
], | ||
"width": "auto" | ||
}, | ||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"weight": "Bolder", | ||
"text": "Matt Hidinger", | ||
"wrap": true | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"spacing": "None", | ||
"text": "Created {{DATE(2017-02-14T06:08:39Z,SHORT)}}", | ||
"isSubtle": true, | ||
"wrap": true | ||
} | ||
], | ||
"width": "stretch" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"text": "Now that we have defined the main rules and features of the format, we need to produce a schema and publish it to GitHub. The schema will be the starting point of our reference documentation.", | ||
"wrap": true | ||
}, | ||
{ | ||
"type": "FactSet", | ||
"facts": [ | ||
{ | ||
"title": "Board:", | ||
"value": "Adaptive Card" | ||
}, | ||
{ | ||
"title": "List:", | ||
"value": "Backlog" | ||
}, | ||
{ | ||
"title": "Assigned to:", | ||
"value": "Matt Hidinger" | ||
}, | ||
{ | ||
"title": "Due date:", | ||
"value": "Not set" | ||
} | ||
] | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.ShowCard", | ||
"title": "Set due date", | ||
"card": { | ||
"type": "AdaptiveCard", | ||
"body": [ | ||
{ | ||
"type": "Input.Date", | ||
"id": "dueDate" | ||
}, | ||
{ | ||
"type": "Input.Text", | ||
"id": "comment", | ||
"placeholder": "Add a comment", | ||
"isMultiline": true | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.OpenUrl", | ||
"title": "OK", | ||
"url": "http://adaptivecards.io" | ||
} | ||
], | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json" | ||
} | ||
}, | ||
{ | ||
"type": "Action.OpenUrl", | ||
"title": "View", | ||
"url": "http://adaptivecards.io" | ||
} | ||
], | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"version": "1.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters