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

Update website with templating enabled by default #3505

Merged
merged 49 commits into from
Nov 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
ae81ed4
fixing homepage videos in Safari
matthidinger Oct 1, 2019
7e5ce98
change video source markup
matthidinger Oct 1, 2019
08850a3
Merge branch 'master' into mahiding/sitev2
matthidinger Oct 1, 2019
1589dc9
update designer with feedback button and ability to toggle preview fe…
matthidinger Oct 1, 2019
f30eb2c
changing designer preview env variable to string
matthidinger Oct 1, 2019
a233c41
Merge branch 'master' into mahiding/sitev2
matthidinger Oct 1, 2019
59a452d
code cleanup
matthidinger Oct 1, 2019
a1cac65
Merge branch 'mahiding/sitev2' of https://github.com/Microsoft/Adapti…
matthidinger Oct 1, 2019
174a42b
Merge branch 'master' into mahiding/sitev2
matthidinger Oct 4, 2019
fe2e745
fix docs and templating packing
matthidinger Oct 4, 2019
cbb21ab
Merge branch 'mahiding/sitev2' of https://github.com/Microsoft/Adapti…
matthidinger Oct 4, 2019
cd176d9
Fix issue where we were throwing errors in dev console when editing JSON
matthidinger Oct 4, 2019
cae45fe
update monaco to latest
matthidinger Oct 4, 2019
b7aa8be
fix typo in our docs and samples
matthidinger Oct 5, 2019
f0ed99d
templating support enabled by default in designer; big updates to Sam…
matthidinger Oct 5, 2019
35149cb
fix json copy button
matthidinger Oct 5, 2019
1390482
small cleanup
matthidinger Oct 11, 2019
f36ed65
Merge branch 'master' into mahiding/sitev2
matthidinger Oct 11, 2019
aec3001
add html content to blog RSS feed
matthidinger Oct 11, 2019
ae08867
update app insights
matthidinger Oct 11, 2019
4244c15
Merge branch 'master' into mahiding/sitev2
matthidinger Oct 29, 2019
1557219
tweaking home page verbiage
matthidinger Oct 31, 2019
d96f4de
updating catch phrase
matthidinger Oct 31, 2019
8eefa13
testing
jwoo-msft Oct 31, 2019
8aa20d3
Merge branch 'mahiding/sitev2' of github.com:Microsoft/AdaptiveCards …
jwoo-msft Oct 31, 2019
b97b75c
updated the file name
jwoo-msft Nov 1, 2019
24be8f5
change default designer payload to use/explain templating
matthidinger Nov 4, 2019
34cc0fd
Merge branch 'mahiding/sitev2' of https://github.com/microsoft/Adapti…
matthidinger Nov 4, 2019
9da318e
remove sample data from catalog for now
matthidinger Nov 5, 2019
61a6822
adding missing file
jwoo-msft Nov 5, 2019
90805aa
Merge branch 'mahiding/sitev2' of github.com:Microsoft/AdaptiveCards …
jwoo-msft Nov 5, 2019
0b40a4a
adding templates for CalendarReminder
jwoo-msft Nov 5, 2019
febb6e5
Weather Compact Added
jwoo-msft Nov 5, 2019
774eeb7
fixed stock to show latest stock price
jwoo-msft Nov 5, 2019
66786fc
updated stock to display number properly and add WeatherLarge Card
jwoo-msft Nov 6, 2019
75c70e8
added SportingEvent sampe template data
jwoo-msft Nov 6, 2019
2fef189
adding Image Gallery template / data
jwoo-msft Nov 6, 2019
d45781a
updated Input Form templates
jwoo-msft Nov 6, 2019
324cb75
updated spacing and added product Vide templates
jwoo-msft Nov 6, 2019
7f8f076
added templates for Flight Detail
jwoo-msft Nov 6, 2019
aa4a5c2
add templates for FlightUpdate
jwoo-msft Nov 6, 2019
0900b64
added FlightItinerary templates
jwoo-msft Nov 6, 2019
8f53373
added FoodOrder templates
jwoo-msft Nov 6, 2019
a74c908
added Inputs
jwoo-msft Nov 6, 2019
ac1bfce
added Solitaire
jwoo-msft Nov 6, 2019
c8ea98d
added templates for SimpleFallback
jwoo-msft Nov 6, 2019
c6edbea
added templates for agenda/expenserepot
jwoo-msft Nov 6, 2019
1fe5c7b
updated Inputs template
jwoo-msft Nov 6, 2019
4aa4036
Merge branch 'master' into mahiding/sitev2
matthidinger Nov 7, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions samples/Templates/ActivityUpdate.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"title": "Publish Adaptive Card Schema",
"description": "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.",
"creator": {
"name": "Matt Hidinger",
"profileImage": "https://pbs.twimg.com/profile_images/3647943215/d7f12830b3c17a5a9e4afcc370e3a37e_400x400.jpeg"
},
"createdUtc": "2017-02-14T06:08:39Z",
"viewUrl": "https://adaptivecards.io",
"properties": [
{ "key": "Board", "value": "Adaptive Cards" },
{ "key": "List", "value": "Backlog" },
{ "key": "Assigned to", "value": "Matt Hidinger" },
{ "key": "Due date", "value": "Not set" }
]
}
97 changes: 97 additions & 0 deletions samples/Templates/ActivityUpdate.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "{title}"
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "Image",
"style": "Person",
"url": "{creator.profileImage}",
"size": "Small"
}
],
"width": "auto"
},
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"weight": "Bolder",
"text": "{creator.name}",
"wrap": true
},
{
"type": "TextBlock",
"spacing": "None",
"text": "Created {{DATE({createdUtc},SHORT)}}",
"isSubtle": true,
"wrap": true
}
],
"width": "stretch"
}
]
},
{
"type": "TextBlock",
"text": "{description}",
"wrap": true
},
{
"type": "FactSet",
"facts": [
{
"$data": "{properties}",
"title": "{key}:",
"value": "{value}"
}
]
}
],
"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.Submit",
"title": "OK"
}
],
"$schema": "http:https://adaptivecards.io/schemas/adaptive-card.json"
}
},
{
"type": "Action.OpenUrl",
"title": "View",
"url": "{viewUrl}"
}
],
"$schema": "http:https://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
90 changes: 90 additions & 0 deletions samples/Templates/Agenda.data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"@odata.context": "https://outlook.office.com/api/beta/$metadata#Me/Events/$entity",
"@odata.id": "https://outlook.office.com/api/beta/Users('ddfcd489-628b-40d7-b48b-57002df800e5@1717622f-1d94-4d0c-9d74-709fad664b77')/Events('AAMkAGI2TG93AAA=')",
"@odata.etag": "W/\"nfZyf7VcrEKLNoU37KWlkQAAA0x48w==\"",
"Id": "AAMkAGI2TG93AAA=",
"ChangeKey": "nfZyf7VcrEKLNoU37KWlkQAAA0x48w==",
"Categories": [],
"CreatedDateTime": "2014-10-19T23:13:47.3959685Z",
"LastModifiedDateTime": "2014-10-19T23:13:47.6772234Z",
"Subject": "Contoso Campaign Status Meeting",
"BodyPreview": "Setting up some time to review the budget and planning on the Contoso Project",
"Body": {
"ContentType": "HTML",
"Content": "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n</head>\r\n<body>\r\nSetting up some time to review the budget and planning on the Contoso Project\r\n</body>\r\n</html>\r\n"
},
"Importance": "Normal",
"HasAttachments": false,
"Start": {
"DateTime": "2014-10-13T21:00:00",
"TimeZone": "Pacific Standard Time"
},
"End": {
"DateTime": "2014-10-13T22:00:00",
"TimeZone": "Pacific Standard Time"
},
"Location": {
"DisplayName": "Conf Room Bravern-2/9050",
"Address": null
},
"ShowAs": "Busy",
"IsAllDay": false,
"IsCancelled": false,
"IsOrganizer": true,
"ResponseRequested": true,
"Type": "SeriesMaster",
"SeriesMasterId": null,
"Attendees": [
{
"EmailAddress": {
"Address": "[email protected]",
"Name": "Janet Schorr"
},
"Status": {
"Response": "None",
"Time": "0001-01-01T00:00:00Z"
},
"Type": "Required"
},
{
"EmailAddress": {
"Address": "[email protected]",
"Name": "Pavel Bansky"
},
"Status": {
"Response": "None",
"Time": "0001-01-01T00:00:00Z"
},
"Type": "Required"
}
],
"Recurrence": {
"Pattern": {
"Type": "Weekly",
"Interval": 1,
"Month": 0,
"Index": "First",
"FirstDayOfWeek": "Sunday",
"DayOfMonth": 0,
"DaysOfWeek": [
"Monday"
]
},
"RecurrenceTimeZone": "Pacific Standard Time",
"Range": {
"Type": "NoEnd",
"StartDate": "2014-10-13",
"EndDate": "2014-11-13",
"NumberOfOccurrences": 0
}
},
"OriginalEndTimeZone": "Pacific Standard Time",
"OriginalStartTimeZone": "Pacific Standard Time",
"Organizer": {
"EmailAddress": {
"Address": "[email protected]",
"Name": "Alex D"
},
"OnlineMeetingUrl": null
}
}
Loading