Skip to content

Commit 004c4aa

Browse files
authored
Merge pull request #41 from HubSpot/new-app-card-metadata
Augment app card json with new metadata fields
2 parents c29c944 + a3243c9 commit 004c4aa

File tree

6 files changed

+15
-0
lines changed

6 files changed

+15
-0
lines changed
149 KB
Loading

components/example-app/extensions/example-card.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
"type": "crm-card",
33
"data": {
44
"title": "Example Card",
5+
"description": "This is an example Private App card",
56
"uid": "get_started_card",
67
"location": "crm.record.tab",
78
"module": {
89
"file": "Example.jsx"
910
},
11+
"previewImage": {
12+
"file": "assets/example-card-preview.png",
13+
"altText": "Example app card UI extension, demonstrating a card with a title, description, and a button"
14+
},
1015
"objectTypes": [{ "name": "contacts" }]
1116
}
1217
}
149 KB
Loading

projects/private-app-getting-started-template/src/app/extensions/example-card.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
"type": "crm-card",
33
"data": {
44
"title": "Example Card",
5+
"description": "This is an example Private App card",
56
"uid": "get_started_card",
67
"location": "crm.record.tab",
78
"module": {
89
"file": "Example.jsx"
910
},
11+
"previewImage": {
12+
"file": "assets/example-card-preview.png",
13+
"altText": "Example app card UI extension, demonstrating a card with a title, description, and a button"
14+
},
1015
"objectTypes": [{ "name": "contacts" }]
1116
}
1217
}
149 KB
Loading

projects/public-app-getting-started-template/src/app/extensions/example-card.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
"type": "crm-card",
33
"data": {
44
"title": "Hello Public App",
5+
"description": "This is an example Public App card",
56
"uid": "hello-world-card",
67
"location": "crm.record.tab",
78
"module": {
89
"file": "ExampleCard.jsx"
910
},
11+
"previewImage": {
12+
"file": "assets/example-card-preview.png",
13+
"altText": "Example app card UI extension, demonstrating a card with a title, description, and a button"
14+
},
1015
"objectTypes": [
1116
{
1217
"name": "contacts"

0 commit comments

Comments
 (0)