Skip to content

Commit 96ee8a4

Browse files
author
TP Honey
authored
(fix) Update card.json with UX (#355)
* Update card.json
1 parent dc9bf3b commit 96ee8a4

File tree

1 file changed

+116
-107
lines changed

1 file changed

+116
-107
lines changed

docs/card.json

Lines changed: 116 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,118 +1,127 @@
11
{
2-
"type": "AdaptiveCard",
3-
"body": [
4-
{
5-
"type": "ColumnSet",
6-
"columns": [
2+
"type": "AdaptiveCard",
3+
"body": [
74
{
8-
"type": "Column",
9-
"items": [
10-
{
11-
"type": "Image",
12-
"url": "https://d36jcksde1wxzq.cloudfront.net/be7833db9bddb4494d2a7c3dd659199a.png",
13-
"size": "Medium"
14-
}
15-
],
16-
"width": "auto"
5+
"type": "ColumnSet",
6+
"columns": [
7+
{
8+
"type": "Column",
9+
"items": [
10+
{
11+
"type": "Image",
12+
"url": "https://d36jcksde1wxzq.cloudfront.net/be7833db9bddb4494d2a7c3dd659199a.png",
13+
"size": "small"
14+
}
15+
],
16+
"width": "auto"
17+
},
18+
{
19+
"type": "Column",
20+
"items": [
21+
{
22+
"type": "TextBlock",
23+
"text": "Plugin: Drone Docker",
24+
"wrap": true,
25+
"size": "Small",
26+
"weight": "Bolder",
27+
"isSubtle": false,
28+
"spacing": "Small"
29+
},
30+
{
31+
"type": "TextBlock",
32+
"text": "DIGEST: ${RepoDigests[0]}",
33+
"wrap": true,
34+
"size": "Small",
35+
"weight": "Lighter",
36+
"isSubtle": true,
37+
"spacing": "Small"
38+
}
39+
],
40+
"width": "stretch"
41+
}
42+
],
43+
"style": "default"
1744
},
1845
{
19-
"type": "Column",
20-
"items": [
21-
{
22-
"type": "TextBlock",
23-
"text": "${RepoTags[0]}",
24-
"size": "Medium"
25-
},
26-
{
27-
"type": "TextBlock",
28-
"text": "DIGEST: ${RepoDigests[0]}",
29-
"wrap": true,
30-
"size": "Small",
31-
"weight": "Lighter",
32-
"isSubtle": true,
33-
"spacing": "Small"
34-
},
35-
{
36-
"type": "ColumnSet",
37-
"columns": [
46+
"type": "ColumnSet",
47+
"columns": [
3848
{
39-
"type": "Column",
40-
"items": [
41-
{
42-
"type": "TextBlock",
43-
"weight": "Lighter",
44-
"text": "OS/ARCH",
45-
"wrap": true,
46-
"size": "Small",
47-
"isSubtle": true,
48-
"spacing": "Medium"
49-
},
50-
{
51-
"type": "TextBlock",
52-
"text": "${OS}/${Architecture}",
53-
"wrap": true,
54-
"size": "Small",
55-
"spacing": "Small"
56-
}
57-
],
58-
"separator": true,
59-
"width": "auto"
49+
"type": "Column",
50+
"items": [
51+
{
52+
"type": "TextBlock",
53+
"weight": "Lighter",
54+
"text": "OS/ARCH",
55+
"wrap": true,
56+
"size": "Small",
57+
"isSubtle": true,
58+
"spacing": "Medium"
59+
},
60+
{
61+
"type": "TextBlock",
62+
"text": "${OS}/${Architecture}",
63+
"wrap": true,
64+
"size": "Small",
65+
"spacing": "Small",
66+
"weight": "Bolder"
67+
}
68+
],
69+
"separator": true,
70+
"width": "auto"
6071
},
6172
{
62-
"type": "Column",
63-
"items": [
64-
{
65-
"type": "TextBlock",
66-
"weight": "Lighter",
67-
"text": "SIZE",
68-
"wrap": true,
69-
"size": "Small",
70-
"isSubtle": true
71-
},
72-
{
73-
"type": "TextBlock",
74-
"spacing": "Small",
75-
"text": "${SizeString}",
76-
"wrap": true,
77-
"size": "Small"
78-
}
79-
],
80-
"width": "auto",
81-
"separator": true,
82-
"spacing": "Medium"
73+
"type": "Column",
74+
"items": [
75+
{
76+
"type": "TextBlock",
77+
"weight": "Lighter",
78+
"text": "SIZE",
79+
"wrap": true,
80+
"size": "Small",
81+
"isSubtle": true
82+
},
83+
{
84+
"type": "TextBlock",
85+
"spacing": "Small",
86+
"text": "${SizeString}",
87+
"wrap": true,
88+
"size": "Small",
89+
"weight": "Bolder"
90+
}
91+
],
92+
"width": "auto",
93+
"separator": true,
94+
"spacing": "Medium"
8395
},
8496
{
85-
"type": "Column",
86-
"items": [
87-
{
88-
"type": "TextBlock",
89-
"weight": "Lighter",
90-
"text": "LAST PUSHED",
91-
"wrap": true,
92-
"size": "Small",
93-
"isSubtle": true
94-
},
95-
{
96-
"type": "TextBlock",
97-
"spacing": "Small",
98-
"text": "{{DATE(${Time})}} - {{TIME(${Time})}}",
99-
"wrap": true,
100-
"size": "Small"
101-
}
102-
],
103-
"width": "auto",
104-
"separator": true,
105-
"spacing": "Medium"
97+
"type": "Column",
98+
"items": [
99+
{
100+
"type": "TextBlock",
101+
"weight": "Lighter",
102+
"text": "LAST PUSHED",
103+
"wrap": true,
104+
"size": "Small",
105+
"isSubtle": true
106+
},
107+
{
108+
"type": "TextBlock",
109+
"spacing": "Small",
110+
"text": "{{DATE(${Time})}} - {{TIME(${Time})}}",
111+
"wrap": true,
112+
"size": "Small",
113+
"weight": "Bolder"
114+
}
115+
],
116+
"width": "auto",
117+
"separator": true,
118+
"spacing": "Medium"
106119
}
107-
],
108-
"style": "default"
109-
}
110-
],
111-
"width": "stretch"
120+
],
121+
"style": "default",
122+
"separator": true
112123
}
113-
]
114-
}
115-
],
116-
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
117-
"version": "1.0"
118-
}
124+
],
125+
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
126+
"version": "1.5"
127+
}

0 commit comments

Comments
 (0)