@almadar/std 14.5.1 → 14.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1077 -1077
  2. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
  3. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
  4. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
  5. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
  6. package/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
  7. package/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
  8. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
  9. package/behaviors/registry/app/organisms/std-cms.orb +556 -556
  10. package/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
  11. package/behaviors/registry/app/organisms/std-crm.orb +806 -806
  12. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
  13. package/behaviors/registry/app/organisms/std-ecommerce.orb +742 -742
  14. package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  15. package/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
  16. package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
  17. package/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
  18. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
  19. package/behaviors/registry/app/organisms/std-lms.orb +860 -860
  20. package/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
  21. package/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
  22. package/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
  23. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
  24. package/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
  25. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
  26. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1077 -1077
  27. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3053 -3053
  28. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2159 -2159
  29. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +931 -931
  30. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -793
  31. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +819 -819
  32. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1168 -1168
  33. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +825 -825
  34. package/dist/behaviors/registry/app/organisms/std-cms.orb +556 -556
  35. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +353 -353
  36. package/dist/behaviors/registry/app/organisms/std-crm.orb +806 -806
  37. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1209 -1209
  38. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +742 -742
  39. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  40. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1390 -1390
  41. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -720
  42. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1189 -1189
  43. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +786 -786
  44. package/dist/behaviors/registry/app/organisms/std-lms.orb +860 -860
  45. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +668 -668
  46. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +725 -725
  47. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +227 -227
  48. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +646 -646
  49. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +973 -973
  50. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +898 -898
  51. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-coding-academy",
3
3
  "version": "1.0.0",
4
- "description": "std-coding-academy as a Function",
4
+ "description": "Coding academy: sequence/build/event programming challenges with student progress.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "SeqChallengeOrbital",
@@ -199,22 +199,22 @@
199
199
  "render-ui",
200
200
  "main",
201
201
  {
202
+ "type": "game-shell",
203
+ "appName": "Coding Academy",
202
204
  "showTopBar": true,
203
205
  "children": [
204
206
  {
205
- "type": "game-menu",
206
- "title": "Sequencer Challenge",
207
207
  "menuItems": [
208
208
  {
209
+ "event": "START",
209
210
  "variant": "primary",
210
- "label": "Start",
211
- "event": "START"
211
+ "label": "Start"
212
212
  }
213
- ]
213
+ ],
214
+ "title": "Sequencer Challenge",
215
+ "type": "game-menu"
214
216
  }
215
- ],
216
- "appName": "Coding Academy",
217
- "type": "game-shell"
217
+ ]
218
218
  }
219
219
  ]
220
220
  ]
@@ -228,11 +228,13 @@
228
228
  "render-ui",
229
229
  "main",
230
230
  {
231
- "showTopBar": true,
231
+ "appName": "Coding Academy",
232
+ "type": "game-shell",
232
233
  "children": [
233
234
  {
234
- "gap": "md",
235
235
  "type": "stack",
236
+ "direction": "vertical",
237
+ "gap": "md",
236
238
  "children": [
237
239
  {
238
240
  "type": "game-hud",
@@ -249,15 +251,13 @@
249
251
  },
250
252
  {
251
253
  "type": "sequencer-board",
252
- "completeEvent": "COMPLETE",
253
- "entity": "SeqChallenge"
254
+ "entity": "SeqChallenge",
255
+ "completeEvent": "COMPLETE"
254
256
  }
255
- ],
256
- "direction": "vertical"
257
+ ]
257
258
  }
258
259
  ],
259
- "type": "game-shell",
260
- "appName": "Coding Academy"
260
+ "showTopBar": true
261
261
  }
262
262
  ]
263
263
  ]
@@ -276,22 +276,22 @@
276
276
  "render-ui",
277
277
  "main",
278
278
  {
279
+ "showTopBar": true,
279
280
  "children": [
280
281
  {
282
+ "title": "Well Done!",
281
283
  "menuItems": [
282
284
  {
285
+ "label": "Play Again",
283
286
  "variant": "primary",
284
- "event": "RESTART",
285
- "label": "Play Again"
287
+ "event": "RESTART"
286
288
  }
287
289
  ],
288
- "type": "game-over-screen",
289
- "title": "Well Done!"
290
+ "type": "game-over-screen"
290
291
  }
291
292
  ],
292
- "type": "game-shell",
293
- "showTopBar": true,
294
- "appName": "Coding Academy"
293
+ "appName": "Coding Academy",
294
+ "type": "game-shell"
295
295
  }
296
296
  ]
297
297
  ]
@@ -305,8 +305,8 @@
305
305
  "render-ui",
306
306
  "main",
307
307
  {
308
- "showTopBar": true,
309
308
  "appName": "Coding Academy",
309
+ "showTopBar": true,
310
310
  "type": "game-shell",
311
311
  "children": [
312
312
  {
@@ -314,8 +314,8 @@
314
314
  "type": "game-menu",
315
315
  "menuItems": [
316
316
  {
317
- "event": "START",
318
317
  "label": "Start",
318
+ "event": "START",
319
319
  "variant": "primary"
320
320
  }
321
321
  ]
@@ -529,8 +529,8 @@
529
529
  "BuildChallenge",
530
530
  {
531
531
  "emit": {
532
- "failure": "BuildChallengeLoadFailed",
533
- "success": "BuildChallengeLoaded"
532
+ "success": "BuildChallengeLoaded",
533
+ "failure": "BuildChallengeLoadFailed"
534
534
  }
535
535
  }
536
536
  ],
@@ -538,6 +538,8 @@
538
538
  "render-ui",
539
539
  "main",
540
540
  {
541
+ "showTopBar": true,
542
+ "type": "game-shell",
541
543
  "appName": "Coding Academy",
542
544
  "children": [
543
545
  {
@@ -545,15 +547,13 @@
545
547
  "title": "Builder Challenge",
546
548
  "menuItems": [
547
549
  {
548
- "event": "START",
549
550
  "label": "Start",
551
+ "event": "START",
550
552
  "variant": "primary"
551
553
  }
552
554
  ]
553
555
  }
554
- ],
555
- "showTopBar": true,
556
- "type": "game-shell"
556
+ ]
557
557
  }
558
558
  ]
559
559
  ]
@@ -567,24 +567,21 @@
567
567
  "render-ui",
568
568
  "main",
569
569
  {
570
- "type": "game-shell",
571
570
  "children": [
572
571
  {
573
- "type": "stack",
574
- "gap": "md",
575
572
  "children": [
576
573
  {
577
- "type": "game-hud",
578
574
  "stats": [
579
575
  {
580
576
  "label": "Score",
581
577
  "value": "@entity.score"
582
578
  },
583
579
  {
584
- "value": "@entity.level",
585
- "label": "Level"
580
+ "label": "Level",
581
+ "value": "@entity.level"
586
582
  }
587
- ]
583
+ ],
584
+ "type": "game-hud"
588
585
  },
589
586
  {
590
587
  "entity": "BuildChallenge",
@@ -592,11 +589,14 @@
592
589
  "type": "builder-board"
593
590
  }
594
591
  ],
595
- "direction": "vertical"
592
+ "gap": "md",
593
+ "direction": "vertical",
594
+ "type": "stack"
596
595
  }
597
596
  ],
597
+ "showTopBar": true,
598
598
  "appName": "Coding Academy",
599
- "showTopBar": true
599
+ "type": "game-shell"
600
600
  }
601
601
  ]
602
602
  ]
@@ -619,14 +619,14 @@
619
619
  "children": [
620
620
  {
621
621
  "title": "Well Done!",
622
- "type": "game-over-screen",
623
622
  "menuItems": [
624
623
  {
625
- "label": "Play Again",
626
624
  "event": "RESTART",
625
+ "label": "Play Again",
627
626
  "variant": "primary"
628
627
  }
629
- ]
628
+ ],
629
+ "type": "game-over-screen"
630
630
  }
631
631
  ],
632
632
  "showTopBar": true,
@@ -644,7 +644,6 @@
644
644
  "render-ui",
645
645
  "main",
646
646
  {
647
- "showTopBar": true,
648
647
  "children": [
649
648
  {
650
649
  "title": "Builder Challenge",
@@ -652,14 +651,15 @@
652
651
  "menuItems": [
653
652
  {
654
653
  "label": "Start",
655
- "variant": "primary",
656
- "event": "START"
654
+ "event": "START",
655
+ "variant": "primary"
657
656
  }
658
657
  ]
659
658
  }
660
659
  ],
661
- "type": "game-shell",
662
- "appName": "Coding Academy"
660
+ "appName": "Coding Academy",
661
+ "showTopBar": true,
662
+ "type": "game-shell"
663
663
  }
664
664
  ]
665
665
  ]
@@ -868,8 +868,8 @@
868
868
  "EventChallenge",
869
869
  {
870
870
  "emit": {
871
- "success": "EventChallengeLoaded",
872
- "failure": "EventChallengeLoadFailed"
871
+ "failure": "EventChallengeLoadFailed",
872
+ "success": "EventChallengeLoaded"
873
873
  }
874
874
  }
875
875
  ],
@@ -877,22 +877,22 @@
877
877
  "render-ui",
878
878
  "main",
879
879
  {
880
- "type": "game-shell",
881
- "showTopBar": true,
882
- "appName": "Coding Academy",
883
880
  "children": [
884
881
  {
882
+ "title": "Event Handler Challenge",
883
+ "type": "game-menu",
885
884
  "menuItems": [
886
885
  {
887
- "variant": "primary",
888
886
  "label": "Start",
889
- "event": "START"
887
+ "event": "START",
888
+ "variant": "primary"
890
889
  }
891
- ],
892
- "type": "game-menu",
893
- "title": "Event Handler Challenge"
890
+ ]
894
891
  }
895
- ]
892
+ ],
893
+ "appName": "Coding Academy",
894
+ "type": "game-shell",
895
+ "showTopBar": true
896
896
  }
897
897
  ]
898
898
  ]
@@ -906,17 +906,19 @@
906
906
  "render-ui",
907
907
  "main",
908
908
  {
909
+ "showTopBar": true,
909
910
  "children": [
910
911
  {
911
912
  "gap": "md",
912
913
  "direction": "vertical",
914
+ "type": "stack",
913
915
  "children": [
914
916
  {
915
917
  "type": "game-hud",
916
918
  "stats": [
917
919
  {
918
- "value": "@entity.score",
919
- "label": "Score"
920
+ "label": "Score",
921
+ "value": "@entity.score"
920
922
  },
921
923
  {
922
924
  "label": "Level",
@@ -926,16 +928,14 @@
926
928
  },
927
929
  {
928
930
  "completeEvent": "COMPLETE",
929
- "type": "event-handler-board",
930
- "entity": "EventChallenge"
931
+ "entity": "EventChallenge",
932
+ "type": "event-handler-board"
931
933
  }
932
- ],
933
- "type": "stack"
934
+ ]
934
935
  }
935
936
  ],
936
937
  "appName": "Coding Academy",
937
- "type": "game-shell",
938
- "showTopBar": true
938
+ "type": "game-shell"
939
939
  }
940
940
  ]
941
941
  ]
@@ -954,20 +954,20 @@
954
954
  "render-ui",
955
955
  "main",
956
956
  {
957
- "showTopBar": true,
958
- "type": "game-shell",
959
957
  "appName": "Coding Academy",
958
+ "type": "game-shell",
959
+ "showTopBar": true,
960
960
  "children": [
961
961
  {
962
- "title": "Well Done!",
963
- "type": "game-over-screen",
964
962
  "menuItems": [
965
963
  {
966
- "label": "Play Again",
967
964
  "variant": "primary",
968
- "event": "RESTART"
965
+ "event": "RESTART",
966
+ "label": "Play Again"
969
967
  }
970
- ]
968
+ ],
969
+ "type": "game-over-screen",
970
+ "title": "Well Done!"
971
971
  }
972
972
  ]
973
973
  }
@@ -990,15 +990,15 @@
990
990
  "title": "Event Handler Challenge",
991
991
  "menuItems": [
992
992
  {
993
- "event": "START",
994
993
  "label": "Start",
994
+ "event": "START",
995
995
  "variant": "primary"
996
996
  }
997
997
  ]
998
998
  }
999
999
  ],
1000
- "type": "game-shell",
1001
- "showTopBar": true
1000
+ "showTopBar": true,
1001
+ "type": "game-shell"
1002
1002
  }
1003
1003
  ]
1004
1004
  ]
@@ -1203,16 +1203,18 @@
1203
1203
  "render-ui",
1204
1204
  "main",
1205
1205
  {
1206
- "type": "game-shell",
1207
1206
  "appName": "Coding Academy",
1207
+ "type": "game-shell",
1208
1208
  "children": [
1209
1209
  {
1210
+ "type": "scaled-diagram",
1210
1211
  "children": [
1211
1212
  {
1212
- "type": "stack",
1213
+ "direction": "vertical",
1213
1214
  "gap": "lg",
1214
1215
  "children": [
1215
1216
  {
1217
+ "type": "breadcrumb",
1216
1218
  "items": [
1217
1219
  {
1218
1220
  "label": "Home",
@@ -1221,48 +1223,49 @@
1221
1223
  {
1222
1224
  "label": "Progress"
1223
1225
  }
1224
- ],
1225
- "type": "breadcrumb"
1226
+ ]
1226
1227
  },
1227
1228
  {
1229
+ "type": "stack",
1228
1230
  "justify": "between",
1231
+ "gap": "md",
1229
1232
  "direction": "horizontal",
1230
- "type": "stack",
1231
1233
  "children": [
1232
1234
  {
1233
- "type": "stack",
1234
- "gap": "md",
1235
- "direction": "horizontal",
1236
1235
  "children": [
1237
1236
  {
1238
- "type": "icon",
1239
- "name": "trending-up"
1237
+ "name": "trending-up",
1238
+ "type": "icon"
1240
1239
  },
1241
1240
  {
1242
- "type": "typography",
1243
1241
  "content": "Progress",
1242
+ "type": "typography",
1244
1243
  "variant": "h2"
1245
1244
  }
1246
- ]
1245
+ ],
1246
+ "type": "stack",
1247
+ "direction": "horizontal",
1248
+ "gap": "md"
1247
1249
  },
1248
1250
  {
1249
- "icon": "refresh-cw",
1250
1251
  "type": "button",
1251
1252
  "label": "Refresh",
1252
1253
  "variant": "secondary",
1254
+ "icon": "refresh-cw",
1253
1255
  "action": "REFRESH"
1254
1256
  }
1255
- ],
1256
- "gap": "md"
1257
+ ]
1257
1258
  },
1258
1259
  {
1259
1260
  "type": "divider"
1260
1261
  },
1261
1262
  {
1262
- "type": "box",
1263
1263
  "padding": "md",
1264
+ "type": "box",
1264
1265
  "children": [
1265
1266
  {
1267
+ "type": "simple-grid",
1268
+ "cols": 3.0,
1266
1269
  "children": [
1267
1270
  {
1268
1271
  "label": "TotalLessons",
@@ -1270,23 +1273,21 @@
1270
1273
  "value": "@entity.totalLessons"
1271
1274
  },
1272
1275
  {
1273
- "label": "CompletedLessons",
1274
1276
  "type": "stat-display",
1277
+ "label": "CompletedLessons",
1275
1278
  "value": "@entity.completedLessons"
1276
1279
  },
1277
1280
  {
1278
- "label": "AverageScore",
1279
1281
  "type": "stat-display",
1282
+ "label": "AverageScore",
1280
1283
  "value": "@entity.averageScore"
1281
1284
  },
1282
1285
  {
1283
- "value": "@entity.streak",
1286
+ "label": "Streak",
1284
1287
  "type": "stat-display",
1285
- "label": "Streak"
1288
+ "value": "@entity.streak"
1286
1289
  }
1287
- ],
1288
- "type": "simple-grid",
1289
- "cols": 3.0
1290
+ ]
1290
1291
  }
1291
1292
  ]
1292
1293
  },
@@ -1294,16 +1295,16 @@
1294
1295
  "type": "divider"
1295
1296
  },
1296
1297
  {
1297
- "cols": 2.0,
1298
- "gap": "md",
1299
1298
  "type": "grid",
1299
+ "gap": "md",
1300
+ "cols": 2.0,
1300
1301
  "children": [
1301
1302
  {
1302
1303
  "type": "card",
1303
1304
  "children": [
1304
1305
  {
1305
- "variant": "caption",
1306
1306
  "type": "typography",
1307
+ "variant": "caption",
1307
1308
  "content": "Chart View"
1308
1309
  }
1309
1310
  ]
@@ -1312,9 +1313,9 @@
1312
1313
  "type": "card",
1313
1314
  "children": [
1314
1315
  {
1315
- "content": "Graph View",
1316
1316
  "type": "typography",
1317
- "variant": "caption"
1317
+ "variant": "caption",
1318
+ "content": "Graph View"
1318
1319
  }
1319
1320
  ]
1320
1321
  }
@@ -1324,12 +1325,12 @@
1324
1325
  "type": "line-chart",
1325
1326
  "data": [
1326
1327
  {
1327
- "value": 12.0,
1328
- "date": "Jan"
1328
+ "date": "Jan",
1329
+ "value": 12.0
1329
1330
  },
1330
1331
  {
1331
- "value": 19.0,
1332
- "date": "Feb"
1332
+ "date": "Feb",
1333
+ "value": 19.0
1333
1334
  },
1334
1335
  {
1335
1336
  "date": "Mar",
@@ -1344,58 +1345,57 @@
1344
1345
  "value": 22.0
1345
1346
  },
1346
1347
  {
1347
- "value": 30.0,
1348
- "date": "Jun"
1348
+ "date": "Jun",
1349
+ "value": 30.0
1349
1350
  }
1350
1351
  ]
1351
1352
  },
1352
1353
  {
1353
- "type": "chart-legend",
1354
1354
  "items": [
1355
1355
  {
1356
1356
  "color": "primary",
1357
1357
  "label": "Current"
1358
1358
  },
1359
1359
  {
1360
- "color": "muted",
1361
- "label": "Previous"
1360
+ "label": "Previous",
1361
+ "color": "muted"
1362
1362
  }
1363
- ]
1363
+ ],
1364
+ "type": "chart-legend"
1364
1365
  },
1365
1366
  {
1366
- "width": 400.0,
1367
1367
  "type": "graph-view",
1368
1368
  "height": 200.0,
1369
- "nodes": [
1370
- {
1371
- "id": "a",
1372
- "label": "Start"
1373
- },
1369
+ "edges": [
1374
1370
  {
1375
- "label": "Process",
1376
- "id": "b"
1371
+ "source": "a",
1372
+ "target": "b"
1377
1373
  },
1378
1374
  {
1379
- "id": "c",
1380
- "label": "End"
1375
+ "target": "c",
1376
+ "source": "b"
1381
1377
  }
1382
1378
  ],
1383
- "edges": [
1379
+ "width": 400.0,
1380
+ "nodes": [
1384
1381
  {
1385
- "target": "b",
1386
- "source": "a"
1382
+ "id": "a",
1383
+ "label": "Start"
1387
1384
  },
1388
1385
  {
1389
- "target": "c",
1390
- "source": "b"
1386
+ "id": "b",
1387
+ "label": "Process"
1388
+ },
1389
+ {
1390
+ "label": "End",
1391
+ "id": "c"
1391
1392
  }
1392
1393
  ]
1393
1394
  }
1394
1395
  ],
1395
- "direction": "vertical"
1396
+ "type": "stack"
1396
1397
  }
1397
- ],
1398
- "type": "scaled-diagram"
1398
+ ]
1399
1399
  }
1400
1400
  ],
1401
1401
  "showTopBar": true
@@ -1413,8 +1413,8 @@
1413
1413
  "StudentProgress",
1414
1414
  {
1415
1415
  "emit": {
1416
- "success": "StudentProgressLoaded",
1417
- "failure": "StudentProgressLoadFailed"
1416
+ "failure": "StudentProgressLoadFailed",
1417
+ "success": "StudentProgressLoaded"
1418
1418
  }
1419
1419
  }
1420
1420
  ],
@@ -1422,6 +1422,8 @@
1422
1422
  "render-ui",
1423
1423
  "main",
1424
1424
  {
1425
+ "type": "game-shell",
1426
+ "appName": "Coding Academy",
1425
1427
  "children": [
1426
1428
  {
1427
1429
  "type": "scaled-diagram",
@@ -1432,8 +1434,8 @@
1432
1434
  "type": "breadcrumb",
1433
1435
  "items": [
1434
1436
  {
1435
- "label": "Home",
1436
- "href": "/"
1437
+ "href": "/",
1438
+ "label": "Home"
1437
1439
  },
1438
1440
  {
1439
1441
  "label": "Progress"
@@ -1441,88 +1443,86 @@
1441
1443
  ]
1442
1444
  },
1443
1445
  {
1444
- "gap": "md",
1446
+ "type": "stack",
1447
+ "direction": "horizontal",
1445
1448
  "justify": "between",
1446
1449
  "children": [
1447
1450
  {
1448
- "type": "stack",
1449
1451
  "direction": "horizontal",
1450
1452
  "gap": "md",
1453
+ "type": "stack",
1451
1454
  "children": [
1452
1455
  {
1453
- "name": "trending-up",
1454
- "type": "icon"
1456
+ "type": "icon",
1457
+ "name": "trending-up"
1455
1458
  },
1456
1459
  {
1457
1460
  "type": "typography",
1458
- "content": "Progress",
1459
- "variant": "h2"
1461
+ "variant": "h2",
1462
+ "content": "Progress"
1460
1463
  }
1461
1464
  ]
1462
1465
  },
1463
1466
  {
1464
- "type": "button",
1465
1467
  "label": "Refresh",
1466
1468
  "action": "REFRESH",
1469
+ "icon": "refresh-cw",
1467
1470
  "variant": "secondary",
1468
- "icon": "refresh-cw"
1471
+ "type": "button"
1469
1472
  }
1470
1473
  ],
1471
- "type": "stack",
1472
- "direction": "horizontal"
1474
+ "gap": "md"
1473
1475
  },
1474
1476
  {
1475
1477
  "type": "divider"
1476
1478
  },
1477
1479
  {
1480
+ "padding": "md",
1481
+ "type": "box",
1478
1482
  "children": [
1479
1483
  {
1484
+ "type": "simple-grid",
1485
+ "cols": 3.0,
1480
1486
  "children": [
1481
1487
  {
1482
- "type": "stat-display",
1483
1488
  "label": "TotalLessons",
1484
- "value": "@entity.totalLessons"
1489
+ "value": "@entity.totalLessons",
1490
+ "type": "stat-display"
1485
1491
  },
1486
1492
  {
1487
- "value": "@entity.completedLessons",
1493
+ "type": "stat-display",
1488
1494
  "label": "CompletedLessons",
1489
- "type": "stat-display"
1495
+ "value": "@entity.completedLessons"
1490
1496
  },
1491
1497
  {
1492
- "type": "stat-display",
1493
1498
  "value": "@entity.averageScore",
1499
+ "type": "stat-display",
1494
1500
  "label": "AverageScore"
1495
1501
  },
1496
1502
  {
1497
- "type": "stat-display",
1498
1503
  "label": "Streak",
1504
+ "type": "stat-display",
1499
1505
  "value": "@entity.streak"
1500
1506
  }
1501
- ],
1502
- "cols": 3.0,
1503
- "type": "simple-grid"
1507
+ ]
1504
1508
  }
1505
- ],
1506
- "type": "box",
1507
- "padding": "md"
1509
+ ]
1508
1510
  },
1509
1511
  {
1510
1512
  "type": "divider"
1511
1513
  },
1512
1514
  {
1513
- "gap": "md",
1514
1515
  "type": "grid",
1515
- "cols": 2.0,
1516
1516
  "children": [
1517
1517
  {
1518
- "type": "card",
1519
1518
  "children": [
1520
1519
  {
1521
- "type": "typography",
1520
+ "content": "Chart View",
1522
1521
  "variant": "caption",
1523
- "content": "Chart View"
1522
+ "type": "typography"
1524
1523
  }
1525
- ]
1524
+ ],
1525
+ "type": "card"
1526
1526
  },
1527
1527
  {
1528
1528
  "children": [
@@ -1534,7 +1534,9 @@
1534
1534
  ],
1535
1535
  "type": "card"
1536
1536
  }
1537
- ]
1537
+ ],
1538
+ "gap": "md",
1539
+ "cols": 2.0
1538
1540
  },
1539
1541
  {
1540
1542
  "type": "line-chart",
@@ -1544,54 +1546,53 @@
1544
1546
  "value": 12.0
1545
1547
  },
1546
1548
  {
1547
- "value": 19.0,
1548
- "date": "Feb"
1549
+ "date": "Feb",
1550
+ "value": 19.0
1549
1551
  },
1550
1552
  {
1551
1553
  "date": "Mar",
1552
1554
  "value": 15.0
1553
1555
  },
1554
1556
  {
1555
- "date": "Apr",
1556
- "value": 25.0
1557
+ "value": 25.0,
1558
+ "date": "Apr"
1557
1559
  },
1558
1560
  {
1559
1561
  "value": 22.0,
1560
1562
  "date": "May"
1561
1563
  },
1562
1564
  {
1563
- "value": 30.0,
1564
- "date": "Jun"
1565
+ "date": "Jun",
1566
+ "value": 30.0
1565
1567
  }
1566
1568
  ]
1567
1569
  },
1568
1570
  {
1571
+ "type": "chart-legend",
1569
1572
  "items": [
1570
1573
  {
1571
1574
  "label": "Current",
1572
1575
  "color": "primary"
1573
1576
  },
1574
1577
  {
1575
- "label": "Previous",
1576
- "color": "muted"
1578
+ "color": "muted",
1579
+ "label": "Previous"
1577
1580
  }
1578
- ],
1579
- "type": "chart-legend"
1581
+ ]
1580
1582
  },
1581
1583
  {
1582
- "type": "graph-view",
1583
1584
  "width": 400.0,
1584
- "height": 200.0,
1585
1585
  "edges": [
1586
1586
  {
1587
- "source": "a",
1588
- "target": "b"
1587
+ "target": "b",
1588
+ "source": "a"
1589
1589
  },
1590
1590
  {
1591
- "source": "b",
1592
- "target": "c"
1591
+ "target": "c",
1592
+ "source": "b"
1593
1593
  }
1594
1594
  ],
1595
+ "height": 200.0,
1595
1596
  "nodes": [
1596
1597
  {
1597
1598
  "id": "a",
@@ -1605,19 +1606,18 @@
1605
1606
  "label": "End",
1606
1607
  "id": "c"
1607
1608
  }
1608
- ]
1609
+ ],
1610
+ "type": "graph-view"
1609
1611
  }
1610
1612
  ],
1611
- "direction": "vertical",
1612
1613
  "type": "stack",
1614
+ "direction": "vertical",
1613
1615
  "gap": "lg"
1614
1616
  }
1615
1617
  ]
1616
1618
  }
1617
1619
  ],
1618
- "appName": "Coding Academy",
1619
- "showTopBar": true,
1620
- "type": "game-shell"
1620
+ "showTopBar": true
1621
1621
  }
1622
1622
  ]
1623
1623
  ]
@@ -1632,8 +1632,8 @@
1632
1632
  "StudentProgress",
1633
1633
  {
1634
1634
  "emit": {
1635
- "success": "StudentProgressLoaded",
1636
- "failure": "StudentProgressLoadFailed"
1635
+ "failure": "StudentProgressLoadFailed",
1636
+ "success": "StudentProgressLoaded"
1637
1637
  }
1638
1638
  }
1639
1639
  ],
@@ -1643,90 +1643,89 @@
1643
1643
  {
1644
1644
  "appName": "Coding Academy",
1645
1645
  "type": "game-shell",
1646
+ "showTopBar": true,
1646
1647
  "children": [
1647
1648
  {
1648
- "type": "scaled-diagram",
1649
1649
  "children": [
1650
1650
  {
1651
- "gap": "lg",
1652
1651
  "children": [
1653
1652
  {
1653
+ "type": "breadcrumb",
1654
1654
  "items": [
1655
1655
  {
1656
- "href": "/",
1657
- "label": "Home"
1656
+ "label": "Home",
1657
+ "href": "/"
1658
1658
  },
1659
1659
  {
1660
1660
  "label": "Progress"
1661
1661
  }
1662
- ],
1663
- "type": "breadcrumb"
1662
+ ]
1664
1663
  },
1665
1664
  {
1666
- "direction": "horizontal",
1667
- "justify": "between",
1668
1665
  "children": [
1669
1666
  {
1667
+ "gap": "md",
1670
1668
  "children": [
1671
1669
  {
1672
1670
  "type": "icon",
1673
1671
  "name": "trending-up"
1674
1672
  },
1675
1673
  {
1676
- "content": "Progress",
1677
1674
  "type": "typography",
1678
- "variant": "h2"
1675
+ "variant": "h2",
1676
+ "content": "Progress"
1679
1677
  }
1680
1678
  ],
1681
- "gap": "md",
1682
1679
  "direction": "horizontal",
1683
1680
  "type": "stack"
1684
1681
  },
1685
1682
  {
1686
- "variant": "secondary",
1687
- "action": "REFRESH",
1688
- "label": "Refresh",
1689
1683
  "type": "button",
1690
- "icon": "refresh-cw"
1684
+ "icon": "refresh-cw",
1685
+ "action": "REFRESH",
1686
+ "variant": "secondary",
1687
+ "label": "Refresh"
1691
1688
  }
1692
1689
  ],
1693
1690
  "type": "stack",
1694
- "gap": "md"
1691
+ "direction": "horizontal",
1692
+ "gap": "md",
1693
+ "justify": "between"
1695
1694
  },
1696
1695
  {
1697
1696
  "type": "divider"
1698
1697
  },
1699
1698
  {
1700
1699
  "padding": "md",
1701
- "type": "box",
1702
1700
  "children": [
1703
1701
  {
1704
- "type": "simple-grid",
1705
1702
  "cols": 3.0,
1706
1703
  "children": [
1707
1704
  {
1705
+ "type": "stat-display",
1708
1706
  "label": "TotalLessons",
1709
- "value": "@entity.totalLessons",
1710
- "type": "stat-display"
1707
+ "value": "@entity.totalLessons"
1711
1708
  },
1712
1709
  {
1710
+ "label": "CompletedLessons",
1713
1711
  "type": "stat-display",
1714
- "value": "@entity.completedLessons",
1715
- "label": "CompletedLessons"
1712
+ "value": "@entity.completedLessons"
1716
1713
  },
1717
1714
  {
1718
- "label": "AverageScore",
1715
+ "type": "stat-display",
1719
1716
  "value": "@entity.averageScore",
1720
- "type": "stat-display"
1717
+ "label": "AverageScore"
1721
1718
  },
1722
1719
  {
1723
- "label": "Streak",
1724
1720
  "type": "stat-display",
1725
- "value": "@entity.streak"
1721
+ "value": "@entity.streak",
1722
+ "label": "Streak"
1726
1723
  }
1727
- ]
1724
+ ],
1725
+ "type": "simple-grid"
1728
1726
  }
1729
- ]
1727
+ ],
1728
+ "type": "box"
1730
1729
  },
1731
1730
  {
1732
1731
  "type": "divider"
@@ -1735,30 +1734,31 @@
1735
1734
  "gap": "md",
1736
1735
  "children": [
1737
1736
  {
1738
- "type": "card",
1739
1737
  "children": [
1740
1738
  {
1741
1739
  "variant": "caption",
1742
1740
  "type": "typography",
1743
1741
  "content": "Chart View"
1744
1742
  }
1745
- ]
1743
+ ],
1744
+ "type": "card"
1746
1745
  },
1747
1746
  {
1748
1747
  "type": "card",
1749
1748
  "children": [
1750
1749
  {
1751
1750
  "type": "typography",
1752
- "content": "Graph View",
1753
- "variant": "caption"
1751
+ "variant": "caption",
1752
+ "content": "Graph View"
1754
1753
  }
1755
1754
  ]
1756
1755
  }
1757
1756
  ],
1758
- "type": "grid",
1759
- "cols": 2.0
1757
+ "cols": 2.0,
1758
+ "type": "grid"
1760
1759
  },
1761
1760
  {
1761
+ "type": "line-chart",
1762
1762
  "data": [
1763
1763
  {
1764
1764
  "date": "Jan",
@@ -1773,70 +1773,70 @@
1773
1773
  "date": "Mar"
1774
1774
  },
1775
1775
  {
1776
- "value": 25.0,
1777
- "date": "Apr"
1776
+ "date": "Apr",
1777
+ "value": 25.0
1778
1778
  },
1779
1779
  {
1780
- "value": 22.0,
1781
- "date": "May"
1780
+ "date": "May",
1781
+ "value": 22.0
1782
1782
  },
1783
1783
  {
1784
- "date": "Jun",
1785
- "value": 30.0
1784
+ "value": 30.0,
1785
+ "date": "Jun"
1786
1786
  }
1787
- ],
1788
- "type": "line-chart"
1787
+ ]
1789
1788
  },
1790
1789
  {
1791
- "type": "chart-legend",
1792
1790
  "items": [
1793
1791
  {
1794
- "label": "Current",
1795
- "color": "primary"
1792
+ "color": "primary",
1793
+ "label": "Current"
1796
1794
  },
1797
1795
  {
1798
1796
  "color": "muted",
1799
1797
  "label": "Previous"
1800
1798
  }
1801
- ]
1799
+ ],
1800
+ "type": "chart-legend"
1802
1801
  },
1803
1802
  {
1804
1803
  "width": 400.0,
1805
- "type": "graph-view",
1806
1804
  "height": 200.0,
1807
- "edges": [
1808
- {
1809
- "target": "b",
1810
- "source": "a"
1811
- },
1812
- {
1813
- "source": "b",
1814
- "target": "c"
1815
- }
1816
- ],
1817
1805
  "nodes": [
1818
1806
  {
1819
- "label": "Start",
1820
- "id": "a"
1807
+ "id": "a",
1808
+ "label": "Start"
1821
1809
  },
1822
1810
  {
1823
- "id": "b",
1824
- "label": "Process"
1811
+ "label": "Process",
1812
+ "id": "b"
1825
1813
  },
1826
1814
  {
1827
1815
  "id": "c",
1828
1816
  "label": "End"
1829
1817
  }
1830
- ]
1818
+ ],
1819
+ "edges": [
1820
+ {
1821
+ "source": "a",
1822
+ "target": "b"
1823
+ },
1824
+ {
1825
+ "target": "c",
1826
+ "source": "b"
1827
+ }
1828
+ ],
1829
+ "type": "graph-view"
1831
1830
  }
1832
1831
  ],
1833
1832
  "type": "stack",
1833
+ "gap": "lg",
1834
1834
  "direction": "vertical"
1835
1835
  }
1836
- ]
1836
+ ],
1837
+ "type": "scaled-diagram"
1837
1838
  }
1838
- ],
1839
- "showTopBar": true
1839
+ ]
1840
1840
  }
1841
1841
  ]
1842
1842
  ]
@@ -1860,57 +1860,57 @@
1860
1860
  "render-ui",
1861
1861
  "main",
1862
1862
  {
1863
- "type": "game-shell",
1864
1863
  "showTopBar": true,
1865
1864
  "children": [
1866
1865
  {
1866
+ "type": "scaled-diagram",
1867
1867
  "children": [
1868
1868
  {
1869
1869
  "direction": "vertical",
1870
1870
  "type": "stack",
1871
1871
  "children": [
1872
1872
  {
1873
- "type": "breadcrumb",
1874
1873
  "items": [
1875
1874
  {
1876
- "href": "/",
1877
- "label": "Home"
1875
+ "label": "Home",
1876
+ "href": "/"
1878
1877
  },
1879
1878
  {
1880
1879
  "label": "Progress"
1881
1880
  }
1882
- ]
1881
+ ],
1882
+ "type": "breadcrumb"
1883
1883
  },
1884
1884
  {
1885
- "direction": "horizontal",
1886
1885
  "type": "stack",
1887
- "gap": "md",
1888
- "justify": "between",
1889
1886
  "children": [
1890
1887
  {
1888
+ "direction": "horizontal",
1891
1889
  "children": [
1892
1890
  {
1893
- "type": "icon",
1894
- "name": "trending-up"
1891
+ "name": "trending-up",
1892
+ "type": "icon"
1895
1893
  },
1896
1894
  {
1897
1895
  "variant": "h2",
1898
- "content": "Progress",
1899
- "type": "typography"
1896
+ "type": "typography",
1897
+ "content": "Progress"
1900
1898
  }
1901
1899
  ],
1902
- "type": "stack",
1903
1900
  "gap": "md",
1904
- "direction": "horizontal"
1901
+ "type": "stack"
1905
1902
  },
1906
1903
  {
1907
1904
  "type": "button",
1908
1905
  "label": "Refresh",
1906
+ "variant": "secondary",
1909
1907
  "action": "REFRESH",
1910
- "icon": "refresh-cw",
1911
- "variant": "secondary"
1908
+ "icon": "refresh-cw"
1912
1909
  }
1913
- ]
1910
+ ],
1911
+ "gap": "md",
1912
+ "direction": "horizontal",
1913
+ "justify": "between"
1914
1914
  },
1915
1915
  {
1916
1916
  "type": "divider"
@@ -1921,29 +1921,29 @@
1921
1921
  "children": [
1922
1922
  {
1923
1923
  "type": "simple-grid",
1924
- "cols": 3.0,
1925
1924
  "children": [
1926
1925
  {
1927
- "value": "@entity.totalLessons",
1926
+ "type": "stat-display",
1928
1927
  "label": "TotalLessons",
1929
- "type": "stat-display"
1928
+ "value": "@entity.totalLessons"
1930
1929
  },
1931
1930
  {
1931
+ "value": "@entity.completedLessons",
1932
1932
  "type": "stat-display",
1933
- "label": "CompletedLessons",
1934
- "value": "@entity.completedLessons"
1933
+ "label": "CompletedLessons"
1935
1934
  },
1936
1935
  {
1937
- "type": "stat-display",
1938
1936
  "label": "AverageScore",
1937
+ "type": "stat-display",
1939
1938
  "value": "@entity.averageScore"
1940
1939
  },
1941
1940
  {
1942
- "value": "@entity.streak",
1943
1941
  "type": "stat-display",
1944
- "label": "Streak"
1942
+ "label": "Streak",
1943
+ "value": "@entity.streak"
1945
1944
  }
1946
- ]
1945
+ ],
1946
+ "cols": 3.0
1947
1947
  }
1948
1948
  ]
1949
1949
  },
@@ -1951,17 +1951,14 @@
1951
1951
  "type": "divider"
1952
1952
  },
1953
1953
  {
1954
- "gap": "md",
1955
- "type": "grid",
1956
- "cols": 2.0,
1957
1954
  "children": [
1958
1955
  {
1959
1956
  "type": "card",
1960
1957
  "children": [
1961
1958
  {
1962
- "variant": "caption",
1963
1959
  "content": "Chart View",
1964
- "type": "typography"
1960
+ "type": "typography",
1961
+ "variant": "caption"
1965
1962
  }
1966
1963
  ]
1967
1964
  },
@@ -1969,15 +1966,19 @@
1969
1966
  "children": [
1970
1967
  {
1971
1968
  "content": "Graph View",
1972
- "type": "typography",
1973
- "variant": "caption"
1969
+ "variant": "caption",
1970
+ "type": "typography"
1974
1971
  }
1975
1972
  ],
1976
1973
  "type": "card"
1977
1974
  }
1978
- ]
1975
+ ],
1976
+ "cols": 2.0,
1977
+ "gap": "md",
1978
+ "type": "grid"
1979
1979
  },
1980
1980
  {
1981
+ "type": "line-chart",
1981
1982
  "data": [
1982
1983
  {
1983
1984
  "date": "Jan",
@@ -1996,31 +1997,31 @@
1996
1997
  "date": "Apr"
1997
1998
  },
1998
1999
  {
1999
- "date": "May",
2000
- "value": 22.0
2000
+ "value": 22.0,
2001
+ "date": "May"
2001
2002
  },
2002
2003
  {
2003
2004
  "value": 30.0,
2004
2005
  "date": "Jun"
2005
2006
  }
2006
- ],
2007
- "type": "line-chart"
2007
+ ]
2008
2008
  },
2009
2009
  {
2010
2010
  "type": "chart-legend",
2011
2011
  "items": [
2012
2012
  {
2013
- "color": "primary",
2014
- "label": "Current"
2013
+ "label": "Current",
2014
+ "color": "primary"
2015
2015
  },
2016
2016
  {
2017
- "color": "muted",
2018
- "label": "Previous"
2017
+ "label": "Previous",
2018
+ "color": "muted"
2019
2019
  }
2020
2020
  ]
2021
2021
  },
2022
2022
  {
2023
- "type": "graph-view",
2023
+ "width": 400.0,
2024
+ "height": 200.0,
2024
2025
  "nodes": [
2025
2026
  {
2026
2027
  "id": "a",
@@ -2031,31 +2032,30 @@
2031
2032
  "label": "Process"
2032
2033
  },
2033
2034
  {
2034
- "label": "End",
2035
- "id": "c"
2035
+ "id": "c",
2036
+ "label": "End"
2036
2037
  }
2037
2038
  ],
2038
- "width": 400.0,
2039
+ "type": "graph-view",
2039
2040
  "edges": [
2040
2041
  {
2041
2042
  "source": "a",
2042
2043
  "target": "b"
2043
2044
  },
2044
2045
  {
2045
- "target": "c",
2046
- "source": "b"
2046
+ "source": "b",
2047
+ "target": "c"
2047
2048
  }
2048
- ],
2049
- "height": 200.0
2049
+ ]
2050
2050
  }
2051
2051
  ],
2052
2052
  "gap": "lg"
2053
2053
  }
2054
- ],
2055
- "type": "scaled-diagram"
2054
+ ]
2056
2055
  }
2057
2056
  ],
2058
- "appName": "Coding Academy"
2057
+ "appName": "Coding Academy",
2058
+ "type": "game-shell"
2059
2059
  }
2060
2060
  ]
2061
2061
  ]
@@ -2080,13 +2080,12 @@
2080
2080
  "main",
2081
2081
  {
2082
2082
  "type": "game-shell",
2083
- "appName": "Coding Academy",
2083
+ "showTopBar": true,
2084
2084
  "children": [
2085
2085
  {
2086
+ "type": "scaled-diagram",
2086
2087
  "children": [
2087
2088
  {
2088
- "direction": "vertical",
2089
- "gap": "lg",
2090
2089
  "children": [
2091
2090
  {
2092
2091
  "items": [
@@ -2101,15 +2100,15 @@
2101
2100
  "type": "breadcrumb"
2102
2101
  },
2103
2102
  {
2104
- "type": "stack",
2103
+ "direction": "horizontal",
2104
+ "justify": "between",
2105
2105
  "children": [
2106
2106
  {
2107
- "type": "stack",
2108
2107
  "direction": "horizontal",
2109
2108
  "children": [
2110
2109
  {
2111
- "name": "trending-up",
2112
- "type": "icon"
2110
+ "type": "icon",
2111
+ "name": "trending-up"
2113
2112
  },
2114
2113
  {
2115
2114
  "type": "typography",
@@ -2117,19 +2116,19 @@
2117
2116
  "variant": "h2"
2118
2117
  }
2119
2118
  ],
2119
+ "type": "stack",
2120
2120
  "gap": "md"
2121
2121
  },
2122
2122
  {
2123
+ "action": "REFRESH",
2123
2124
  "variant": "secondary",
2124
2125
  "icon": "refresh-cw",
2125
- "label": "Refresh",
2126
2126
  "type": "button",
2127
- "action": "REFRESH"
2127
+ "label": "Refresh"
2128
2128
  }
2129
2129
  ],
2130
- "direction": "horizontal",
2131
2130
  "gap": "md",
2132
- "justify": "between"
2131
+ "type": "stack"
2133
2132
  },
2134
2133
  {
2135
2134
  "type": "divider"
@@ -2138,29 +2137,29 @@
2138
2137
  "children": [
2139
2138
  {
2140
2139
  "type": "simple-grid",
2140
+ "cols": 3.0,
2141
2141
  "children": [
2142
2142
  {
2143
- "type": "stat-display",
2143
+ "value": "@entity.totalLessons",
2144
2144
  "label": "TotalLessons",
2145
- "value": "@entity.totalLessons"
2145
+ "type": "stat-display"
2146
2146
  },
2147
2147
  {
2148
+ "type": "stat-display",
2148
2149
  "label": "CompletedLessons",
2149
- "value": "@entity.completedLessons",
2150
- "type": "stat-display"
2150
+ "value": "@entity.completedLessons"
2151
2151
  },
2152
2152
  {
2153
- "type": "stat-display",
2154
2153
  "label": "AverageScore",
2155
- "value": "@entity.averageScore"
2154
+ "value": "@entity.averageScore",
2155
+ "type": "stat-display"
2156
2156
  },
2157
2157
  {
2158
2158
  "type": "stat-display",
2159
- "label": "Streak",
2160
- "value": "@entity.streak"
2159
+ "value": "@entity.streak",
2160
+ "label": "Streak"
2161
2161
  }
2162
- ],
2163
- "cols": 3.0
2162
+ ]
2164
2163
  }
2165
2164
  ],
2166
2165
  "type": "box",
@@ -2170,33 +2169,34 @@
2170
2169
  "type": "divider"
2171
2170
  },
2172
2171
  {
2172
+ "cols": 2.0,
2173
2173
  "type": "grid",
2174
2174
  "gap": "md",
2175
2175
  "children": [
2176
2176
  {
2177
- "type": "card",
2178
2177
  "children": [
2179
2178
  {
2180
2179
  "type": "typography",
2181
2180
  "content": "Chart View",
2182
2181
  "variant": "caption"
2183
2182
  }
2184
- ]
2183
+ ],
2184
+ "type": "card"
2185
2185
  },
2186
2186
  {
2187
+ "type": "card",
2187
2188
  "children": [
2188
2189
  {
2189
2190
  "content": "Graph View",
2190
- "type": "typography",
2191
- "variant": "caption"
2191
+ "variant": "caption",
2192
+ "type": "typography"
2192
2193
  }
2193
- ],
2194
- "type": "card"
2194
+ ]
2195
2195
  }
2196
- ],
2197
- "cols": 2.0
2196
+ ]
2198
2197
  },
2199
2198
  {
2199
+ "type": "line-chart",
2200
2200
  "data": [
2201
2201
  {
2202
2202
  "value": 12.0,
@@ -2219,24 +2219,23 @@
2219
2219
  "value": 22.0
2220
2220
  },
2221
2221
  {
2222
- "value": 30.0,
2223
- "date": "Jun"
2222
+ "date": "Jun",
2223
+ "value": 30.0
2224
2224
  }
2225
- ],
2226
- "type": "line-chart"
2225
+ ]
2227
2226
  },
2228
2227
  {
2228
+ "type": "chart-legend",
2229
2229
  "items": [
2230
2230
  {
2231
2231
  "color": "primary",
2232
2232
  "label": "Current"
2233
2233
  },
2234
2234
  {
2235
- "label": "Previous",
2236
- "color": "muted"
2235
+ "color": "muted",
2236
+ "label": "Previous"
2237
2237
  }
2238
- ],
2239
- "type": "chart-legend"
2238
+ ]
2240
2239
  },
2241
2240
  {
2242
2241
  "nodes": [
@@ -2253,28 +2252,29 @@
2253
2252
  "id": "c"
2254
2253
  }
2255
2254
  ],
2256
- "type": "graph-view",
2257
2255
  "width": 400.0,
2258
2256
  "height": 200.0,
2259
2257
  "edges": [
2260
2258
  {
2261
- "target": "b",
2262
- "source": "a"
2259
+ "source": "a",
2260
+ "target": "b"
2263
2261
  },
2264
2262
  {
2265
2263
  "source": "b",
2266
2264
  "target": "c"
2267
2265
  }
2268
- ]
2266
+ ],
2267
+ "type": "graph-view"
2269
2268
  }
2270
2269
  ],
2271
- "type": "stack"
2270
+ "gap": "lg",
2271
+ "type": "stack",
2272
+ "direction": "vertical"
2272
2273
  }
2273
- ],
2274
- "type": "scaled-diagram"
2274
+ ]
2275
2275
  }
2276
2276
  ],
2277
- "showTopBar": true
2277
+ "appName": "Coding Academy"
2278
2278
  }
2279
2279
  ]
2280
2280
  ]