Skip to content

Commit 32990a3

Browse files
committed
Added training tutorial apps
1 parent a7c6fdd commit 32990a3

File tree

2 files changed

+82
-0
lines changed

2 files changed

+82
-0
lines changed

directory/training-appd.v2.json

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"applications": [
3+
{
4+
"appId": "pricer",
5+
"name": "Pricer",
6+
"title": "Pricer",
7+
"description": "A demo app for the FDC3 Developer Course",
8+
"icons": [
9+
{
10+
"src": "http://localhost:5000/static/pricer/icon.png"
11+
}
12+
],
13+
"screenshots": [
14+
{
15+
"src": "http://localhost:5000/static/pricer/screenshot.png",
16+
"label": "Demo Screenshot"
17+
}
18+
],
19+
"type": "web",
20+
"details": {
21+
"url": "http://localhost:5000/static/pricer/index.html"
22+
},
23+
"interop": {
24+
"intents": {
25+
"listensFor": {
26+
"ViewQuote": {
27+
"displayName": "View Quote",
28+
"contexts": [
29+
"fdc3.instrument"
30+
]
31+
},
32+
"demo.GetPrices": {
33+
"displayName": "Get Prices",
34+
"contexts": [
35+
"fdc3.instrument"
36+
]
37+
}
38+
}
39+
}
40+
},
41+
"hostManifests": {
42+
"sail": {
43+
"injectApi": "2.0"
44+
}
45+
}
46+
},
47+
{
48+
"appId": "tradelist",
49+
"name": "TradeList",
50+
"title": "TradeList",
51+
"description": "A demo app for the FDC3 Developer Course",
52+
"icons": [
53+
{
54+
"src": "http://localhost:5000/static/tradelist/icon.png"
55+
}
56+
],
57+
"screenshots": [
58+
{
59+
"src": "http://localhost:5000/static/tradelist/screenshot.png",
60+
"label": "Demo Screenshot"
61+
}
62+
],
63+
"type": "web",
64+
"details": {
65+
"url": "http://localhost:5000/static/tradelist/index.html"
66+
},
67+
"interop": {},
68+
"hostManifests": {
69+
"sail": {
70+
"injectApi": "2.0"
71+
}
72+
}
73+
}
74+
],
75+
"message": "OK"
76+
}

src/client/state/clientState.ts

+6
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,15 @@ const DEFAULT_DIRECTORIES: Directory[] = [
267267
label: "Sail Built-In Apps",
268268
url: "./directory/sail.json",
269269
active: false
270+
},
271+
{
272+
label: "Developer Tutorial",
273+
url: "./directory/training-appd.v2.json",
274+
active: false
270275
}
271276
]
272277

278+
273279
const DEFAULT_TABS: TabDetail[] = [
274280
{
275281
title: "One",

0 commit comments

Comments
 (0)