@almadar/std 8.2.0 → 8.4.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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  27. package/behaviors/registry/app/organisms/std-cms.orb +432 -432
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  29. package/behaviors/registry/app/organisms/std-crm.orb +813 -813
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  37. package/behaviors/registry/app/organisms/std-lms.orb +858 -858
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  42. package/behaviors/registry/core/atoms/std-browse.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  44. package/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +413 -413
  48. package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  49. package/behaviors/registry/core/atoms/std-filter.orb +50 -50
  50. package/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  51. package/behaviors/registry/core/atoms/std-modal.orb +13 -31
  52. package/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  53. package/behaviors/registry/core/atoms/std-push.orb +47 -47
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  55. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  56. package/behaviors/registry/core/atoms/std-search.orb +75 -75
  57. package/behaviors/registry/core/atoms/std-selection.orb +91 -91
  58. package/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  59. package/behaviors/registry/core/molecules/std-cart.orb +49 -49
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  62. package/behaviors/registry/core/molecules/std-list.orb +58 -58
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  64. package/behaviors/registry/game/atoms/std-collision.orb +132 -132
  65. package/behaviors/registry/game/atoms/std-combat.orb +59 -59
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  69. package/behaviors/registry/game/atoms/std-movement.orb +287 -287
  70. package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +266 -275
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  83. package/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  84. package/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +74 -74
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +104 -98
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +126 -111
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -400
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +87 -87
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +82 -82
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +120 -114
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +68 -68
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +126 -126
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +208 -208
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +342 -342
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +77 -76
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +181 -181
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +183 -183
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +139 -139
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +124 -124
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1124 -1124
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3064 -3064
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2165 -2165
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +917 -917
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +759 -759
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +827 -827
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1181 -1181
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +745 -745
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +432 -432
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +378 -378
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +813 -813
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1290 -1290
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +989 -989
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +575 -575
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1374 -1374
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +714 -714
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1175 -1175
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +834 -834
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +858 -858
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +654 -654
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +720 -720
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +197 -197
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +744 -744
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +64 -64
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +93 -93
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +52 -52
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +178 -178
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +413 -413
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +50 -50
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +53 -53
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +13 -31
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +48 -48
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +47 -47
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +176 -176
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +75 -75
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +91 -91
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +45 -45
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +49 -49
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +8 -8
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +115 -115
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +58 -58
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +136 -136
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +132 -132
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +59 -59
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +49 -49
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +32 -32
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +287 -287
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +266 -275
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +78 -78
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +207 -207
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +103 -103
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +368 -368
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +331 -331
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +528 -528
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +15 -15
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +76 -76
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +78 -78
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +91 -91
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +107 -107
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +113 -113
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +101 -101
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +92 -92
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +113 -113
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +943 -943
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +965 -965
  187. package/package.json +1 -1
@@ -189,22 +189,22 @@
189
189
  "render-ui",
190
190
  "main",
191
191
  {
192
- "appName": "Coding Academy",
193
- "type": "game-shell",
194
- "showTopBar": true,
195
192
  "children": [
196
193
  {
197
194
  "type": "game-menu",
198
- "title": "Sequencer Challenge",
199
195
  "menuItems": [
200
196
  {
197
+ "label": "Start",
201
198
  "event": "START",
202
- "variant": "primary",
203
- "label": "Start"
199
+ "variant": "primary"
204
200
  }
205
- ]
201
+ ],
202
+ "title": "Sequencer Challenge"
206
203
  }
207
- ]
204
+ ],
205
+ "showTopBar": true,
206
+ "type": "game-shell",
207
+ "appName": "Coding Academy"
208
208
  }
209
209
  ]
210
210
  ]
@@ -219,23 +219,24 @@
219
219
  "main",
220
220
  {
221
221
  "showTopBar": true,
222
+ "appName": "Coding Academy",
222
223
  "children": [
223
224
  {
224
225
  "type": "stack",
225
- "direction": "vertical",
226
+ "gap": "md",
226
227
  "children": [
227
228
  {
229
+ "type": "game-hud",
228
230
  "stats": [
229
231
  {
230
- "value": "@entity.score",
231
- "label": "Score"
232
+ "label": "Score",
233
+ "value": "@entity.score"
232
234
  },
233
235
  {
234
- "value": "@entity.level",
235
- "label": "Level"
236
+ "label": "Level",
237
+ "value": "@entity.level"
236
238
  }
237
- ],
238
- "type": "game-hud"
239
+ ]
239
240
  },
240
241
  {
241
242
  "type": "sequencer-board",
@@ -243,11 +244,10 @@
243
244
  "completeEvent": "COMPLETE"
244
245
  }
245
246
  ],
246
- "gap": "md"
247
+ "direction": "vertical"
247
248
  }
248
249
  ],
249
- "type": "game-shell",
250
- "appName": "Coding Academy"
250
+ "type": "game-shell"
251
251
  }
252
252
  ]
253
253
  ]
@@ -267,8 +267,8 @@
267
267
  "main",
268
268
  {
269
269
  "appName": "Coding Academy",
270
- "showTopBar": true,
271
270
  "type": "game-shell",
271
+ "showTopBar": true,
272
272
  "children": [
273
273
  {
274
274
  "menuItems": [
@@ -278,8 +278,8 @@
278
278
  "label": "Play Again"
279
279
  }
280
280
  ],
281
- "title": "Well Done!",
282
- "type": "game-over-screen"
281
+ "type": "game-over-screen",
282
+ "title": "Well Done!"
283
283
  }
284
284
  ]
285
285
  }
@@ -295,20 +295,20 @@
295
295
  "render-ui",
296
296
  "main",
297
297
  {
298
- "type": "game-shell",
299
- "showTopBar": true,
300
298
  "appName": "Coding Academy",
299
+ "showTopBar": true,
300
+ "type": "game-shell",
301
301
  "children": [
302
302
  {
303
303
  "type": "game-menu",
304
+ "title": "Sequencer Challenge",
304
305
  "menuItems": [
305
306
  {
306
- "variant": "primary",
307
307
  "label": "Start",
308
- "event": "START"
308
+ "event": "START",
309
+ "variant": "primary"
309
310
  }
310
- ],
311
- "title": "Sequencer Challenge"
311
+ ]
312
312
  }
313
313
  ]
314
314
  }
@@ -518,22 +518,22 @@
518
518
  "render-ui",
519
519
  "main",
520
520
  {
521
+ "showTopBar": true,
521
522
  "appName": "Coding Academy",
523
+ "type": "game-shell",
522
524
  "children": [
523
525
  {
526
+ "type": "game-menu",
524
527
  "menuItems": [
525
528
  {
526
529
  "event": "START",
527
- "label": "Start",
528
- "variant": "primary"
530
+ "variant": "primary",
531
+ "label": "Start"
529
532
  }
530
533
  ],
531
- "title": "Builder Challenge",
532
- "type": "game-menu"
534
+ "title": "Builder Challenge"
533
535
  }
534
- ],
535
- "showTopBar": true,
536
- "type": "game-shell"
536
+ ]
537
537
  }
538
538
  ]
539
539
  ]
@@ -547,8 +547,12 @@
547
547
  "render-ui",
548
548
  "main",
549
549
  {
550
+ "type": "game-shell",
551
+ "appName": "Coding Academy",
550
552
  "children": [
551
553
  {
554
+ "gap": "md",
555
+ "direction": "vertical",
552
556
  "children": [
553
557
  {
554
558
  "stats": [
@@ -564,18 +568,14 @@
564
568
  "type": "game-hud"
565
569
  },
566
570
  {
567
- "entity": "BuildChallenge",
568
571
  "completeEvent": "COMPLETE",
572
+ "entity": "BuildChallenge",
569
573
  "type": "builder-board"
570
574
  }
571
575
  ],
572
- "type": "stack",
573
- "direction": "vertical",
574
- "gap": "md"
576
+ "type": "stack"
575
577
  }
576
578
  ],
577
- "appName": "Coding Academy",
578
- "type": "game-shell",
579
579
  "showTopBar": true
580
580
  }
581
581
  ]
@@ -595,21 +595,21 @@
595
595
  "render-ui",
596
596
  "main",
597
597
  {
598
- "appName": "Coding Academy",
599
- "showTopBar": true,
600
598
  "children": [
601
599
  {
602
600
  "type": "game-over-screen",
603
- "title": "Well Done!",
604
601
  "menuItems": [
605
602
  {
606
603
  "event": "RESTART",
607
- "variant": "primary",
608
- "label": "Play Again"
604
+ "label": "Play Again",
605
+ "variant": "primary"
609
606
  }
610
- ]
607
+ ],
608
+ "title": "Well Done!"
611
609
  }
612
610
  ],
611
+ "appName": "Coding Academy",
612
+ "showTopBar": true,
613
613
  "type": "game-shell"
614
614
  }
615
615
  ]
@@ -626,20 +626,20 @@
626
626
  {
627
627
  "appName": "Coding Academy",
628
628
  "showTopBar": true,
629
+ "type": "game-shell",
629
630
  "children": [
630
631
  {
631
- "type": "game-menu",
632
632
  "title": "Builder Challenge",
633
633
  "menuItems": [
634
634
  {
635
- "label": "Start",
636
635
  "variant": "primary",
636
+ "label": "Start",
637
637
  "event": "START"
638
638
  }
639
- ]
639
+ ],
640
+ "type": "game-menu"
640
641
  }
641
- ],
642
- "type": "game-shell"
642
+ ]
643
643
  }
644
644
  ]
645
645
  ]
@@ -838,8 +838,8 @@
838
838
  "EventChallenge",
839
839
  {
840
840
  "emit": {
841
- "failure": "EventChallengeLoadFailed",
842
- "success": "EventChallengeLoaded"
841
+ "success": "EventChallengeLoaded",
842
+ "failure": "EventChallengeLoadFailed"
843
843
  }
844
844
  }
845
845
  ],
@@ -847,22 +847,22 @@
847
847
  "render-ui",
848
848
  "main",
849
849
  {
850
+ "showTopBar": true,
851
+ "type": "game-shell",
852
+ "appName": "Coding Academy",
850
853
  "children": [
851
854
  {
852
- "type": "game-menu",
853
- "title": "Event Handler Challenge",
854
855
  "menuItems": [
855
856
  {
857
+ "event": "START",
856
858
  "label": "Start",
857
- "variant": "primary",
858
- "event": "START"
859
+ "variant": "primary"
859
860
  }
860
- ]
861
+ ],
862
+ "title": "Event Handler Challenge",
863
+ "type": "game-menu"
861
864
  }
862
- ],
863
- "appName": "Coding Academy",
864
- "showTopBar": true,
865
- "type": "game-shell"
865
+ ]
866
866
  }
867
867
  ]
868
868
  ]
@@ -876,36 +876,36 @@
876
876
  "render-ui",
877
877
  "main",
878
878
  {
879
+ "showTopBar": true,
879
880
  "appName": "Coding Academy",
880
881
  "children": [
881
882
  {
882
883
  "children": [
883
884
  {
885
+ "type": "game-hud",
884
886
  "stats": [
885
887
  {
886
- "label": "Score",
887
- "value": "@entity.score"
888
+ "value": "@entity.score",
889
+ "label": "Score"
888
890
  },
889
891
  {
890
892
  "label": "Level",
891
893
  "value": "@entity.level"
892
894
  }
893
- ],
894
- "type": "game-hud"
895
+ ]
895
896
  },
896
897
  {
897
- "type": "event-handler-board",
898
898
  "entity": "EventChallenge",
899
+ "type": "event-handler-board",
899
900
  "completeEvent": "COMPLETE"
900
901
  }
901
902
  ],
903
+ "direction": "vertical",
902
904
  "type": "stack",
903
- "gap": "md",
904
- "direction": "vertical"
905
+ "gap": "md"
905
906
  }
906
907
  ],
907
- "type": "game-shell",
908
- "showTopBar": true
908
+ "type": "game-shell"
909
909
  }
910
910
  ]
911
911
  ]
@@ -925,21 +925,21 @@
925
925
  "main",
926
926
  {
927
927
  "showTopBar": true,
928
+ "type": "game-shell",
928
929
  "children": [
929
930
  {
930
931
  "type": "game-over-screen",
931
932
  "title": "Well Done!",
932
933
  "menuItems": [
933
934
  {
934
- "variant": "primary",
935
935
  "event": "RESTART",
936
+ "variant": "primary",
936
937
  "label": "Play Again"
937
938
  }
938
939
  ]
939
940
  }
940
941
  ],
941
- "appName": "Coding Academy",
942
- "type": "game-shell"
942
+ "appName": "Coding Academy"
943
943
  }
944
944
  ]
945
945
  ]
@@ -953,9 +953,10 @@
953
953
  "render-ui",
954
954
  "main",
955
955
  {
956
+ "type": "game-shell",
957
+ "showTopBar": true,
956
958
  "children": [
957
959
  {
958
- "type": "game-menu",
959
960
  "menuItems": [
960
961
  {
961
962
  "variant": "primary",
@@ -963,12 +964,11 @@
963
964
  "event": "START"
964
965
  }
965
966
  ],
966
- "title": "Event Handler Challenge"
967
+ "title": "Event Handler Challenge",
968
+ "type": "game-menu"
967
969
  }
968
970
  ],
969
- "appName": "Coding Academy",
970
- "type": "game-shell",
971
- "showTopBar": true
971
+ "appName": "Coding Academy"
972
972
  }
973
973
  ]
974
974
  ]
@@ -1154,15 +1154,14 @@
1154
1154
  "main",
1155
1155
  {
1156
1156
  "appName": "Coding Academy",
1157
- "showTopBar": true,
1158
1157
  "type": "game-shell",
1158
+ "showTopBar": true,
1159
1159
  "children": [
1160
1160
  {
1161
+ "type": "scaled-diagram",
1161
1162
  "children": [
1162
1163
  {
1163
1164
  "direction": "vertical",
1164
- "gap": "lg",
1165
- "type": "stack",
1166
1165
  "children": [
1167
1166
  {
1168
1167
  "items": [
@@ -1177,70 +1176,70 @@
1177
1176
  "type": "breadcrumb"
1178
1177
  },
1179
1178
  {
1180
- "gap": "md",
1181
1179
  "type": "stack",
1180
+ "gap": "md",
1181
+ "justify": "between",
1182
1182
  "direction": "horizontal",
1183
1183
  "children": [
1184
1184
  {
1185
+ "gap": "md",
1186
+ "direction": "horizontal",
1185
1187
  "children": [
1186
1188
  {
1187
1189
  "type": "icon",
1188
1190
  "name": "trending-up"
1189
1191
  },
1190
1192
  {
1191
- "variant": "h2",
1192
1193
  "type": "typography",
1193
- "content": "Progress"
1194
+ "content": "Progress",
1195
+ "variant": "h2"
1194
1196
  }
1195
1197
  ],
1196
- "gap": "md",
1197
- "type": "stack",
1198
- "direction": "horizontal"
1198
+ "type": "stack"
1199
1199
  },
1200
1200
  {
1201
- "action": "REFRESH",
1202
1201
  "label": "Refresh",
1203
- "type": "button",
1202
+ "action": "REFRESH",
1204
1203
  "variant": "secondary",
1204
+ "type": "button",
1205
1205
  "icon": "refresh-cw"
1206
1206
  }
1207
- ],
1208
- "justify": "between"
1207
+ ]
1209
1208
  },
1210
1209
  {
1211
1210
  "type": "divider"
1212
1211
  },
1213
1212
  {
1214
1213
  "padding": "md",
1215
- "type": "box",
1216
1214
  "children": [
1217
1215
  {
1216
+ "cols": 3.0,
1218
1217
  "children": [
1219
1218
  {
1219
+ "type": "stat-display",
1220
1220
  "label": "TotalLessons",
1221
- "value": "@entity.totalLessons",
1222
- "type": "stat-display"
1221
+ "value": "@entity.totalLessons"
1223
1222
  },
1224
1223
  {
1225
- "value": "@entity.completedLessons",
1226
1224
  "label": "CompletedLessons",
1225
+ "value": "@entity.completedLessons",
1227
1226
  "type": "stat-display"
1228
1227
  },
1229
1228
  {
1230
- "type": "stat-display",
1231
1229
  "value": "@entity.averageScore",
1230
+ "type": "stat-display",
1232
1231
  "label": "AverageScore"
1233
1232
  },
1234
1233
  {
1234
+ "type": "stat-display",
1235
1235
  "value": "@entity.streak",
1236
- "label": "Streak",
1237
- "type": "stat-display"
1236
+ "label": "Streak"
1238
1237
  }
1239
1238
  ],
1240
- "type": "simple-grid",
1241
- "cols": 3.0
1239
+ "type": "simple-grid"
1242
1240
  }
1243
- ]
1241
+ ],
1242
+ "type": "box"
1244
1243
  },
1245
1244
  {
1246
1245
  "type": "divider"
@@ -1251,21 +1250,21 @@
1251
1250
  "type": "card",
1252
1251
  "children": [
1253
1252
  {
1254
- "variant": "caption",
1253
+ "content": "Chart View",
1255
1254
  "type": "typography",
1256
- "content": "Chart View"
1255
+ "variant": "caption"
1257
1256
  }
1258
1257
  ]
1259
1258
  },
1260
1259
  {
1260
+ "type": "card",
1261
1261
  "children": [
1262
1262
  {
1263
1263
  "variant": "caption",
1264
- "content": "Graph View",
1265
- "type": "typography"
1264
+ "type": "typography",
1265
+ "content": "Graph View"
1266
1266
  }
1267
- ],
1268
- "type": "card"
1267
+ ]
1269
1268
  }
1270
1269
  ],
1271
1270
  "gap": "md",
@@ -1279,8 +1278,8 @@
1279
1278
  "value": 12.0
1280
1279
  },
1281
1280
  {
1282
- "date": "Feb",
1283
- "value": 19.0
1281
+ "value": 19.0,
1282
+ "date": "Feb"
1284
1283
  },
1285
1284
  {
1286
1285
  "value": 15.0,
@@ -1295,8 +1294,8 @@
1295
1294
  "value": 22.0
1296
1295
  },
1297
1296
  {
1298
- "value": 30.0,
1299
- "date": "Jun"
1297
+ "date": "Jun",
1298
+ "value": 30.0
1300
1299
  }
1301
1300
  ],
1302
1301
  "type": "line-chart"
@@ -1305,8 +1304,8 @@
1305
1304
  "type": "chart-legend",
1306
1305
  "items": [
1307
1306
  {
1308
- "label": "Current",
1309
- "color": "primary"
1307
+ "color": "primary",
1308
+ "label": "Current"
1310
1309
  },
1311
1310
  {
1312
1311
  "label": "Previous",
@@ -1315,38 +1314,39 @@
1315
1314
  ]
1316
1315
  },
1317
1316
  {
1318
- "height": 200.0,
1319
1317
  "nodes": [
1320
1318
  {
1321
1319
  "id": "a",
1322
1320
  "label": "Start"
1323
1321
  },
1324
1322
  {
1325
- "label": "Process",
1326
- "id": "b"
1323
+ "id": "b",
1324
+ "label": "Process"
1327
1325
  },
1328
1326
  {
1329
- "id": "c",
1330
- "label": "End"
1327
+ "label": "End",
1328
+ "id": "c"
1331
1329
  }
1332
1330
  ],
1333
- "type": "graph-view",
1334
- "width": 400.0,
1335
1331
  "edges": [
1336
1332
  {
1337
- "target": "b",
1338
- "source": "a"
1333
+ "source": "a",
1334
+ "target": "b"
1339
1335
  },
1340
1336
  {
1341
- "source": "b",
1342
- "target": "c"
1337
+ "target": "c",
1338
+ "source": "b"
1343
1339
  }
1344
- ]
1340
+ ],
1341
+ "width": 400.0,
1342
+ "type": "graph-view",
1343
+ "height": 200.0
1345
1344
  }
1346
- ]
1345
+ ],
1346
+ "type": "stack",
1347
+ "gap": "lg"
1347
1348
  }
1348
- ],
1349
- "type": "scaled-diagram"
1349
+ ]
1350
1350
  }
1351
1351
  ]
1352
1352
  }
@@ -1363,8 +1363,8 @@
1363
1363
  "StudentProgress",
1364
1364
  {
1365
1365
  "emit": {
1366
- "failure": "StudentProgressLoadFailed",
1367
- "success": "StudentProgressLoaded"
1366
+ "success": "StudentProgressLoaded",
1367
+ "failure": "StudentProgressLoadFailed"
1368
1368
  }
1369
1369
  }
1370
1370
  ],
@@ -1372,13 +1372,17 @@
1372
1372
  "render-ui",
1373
1373
  "main",
1374
1374
  {
1375
- "type": "game-shell",
1376
1375
  "showTopBar": true,
1376
+ "type": "game-shell",
1377
+ "appName": "Coding Academy",
1377
1378
  "children": [
1378
1379
  {
1379
1380
  "type": "scaled-diagram",
1380
1381
  "children": [
1381
1382
  {
1383
+ "type": "stack",
1384
+ "direction": "vertical",
1385
+ "gap": "lg",
1382
1386
  "children": [
1383
1387
  {
1384
1388
  "items": [
@@ -1393,35 +1397,35 @@
1393
1397
  "type": "breadcrumb"
1394
1398
  },
1395
1399
  {
1396
- "justify": "between",
1400
+ "type": "stack",
1397
1401
  "gap": "md",
1402
+ "justify": "between",
1403
+ "direction": "horizontal",
1398
1404
  "children": [
1399
1405
  {
1400
- "children": [
1406
+ "direction": "horizontal",
1407
+ "type": "stack",
1408
+ "children": [
1401
1409
  {
1402
- "type": "icon",
1403
- "name": "trending-up"
1410
+ "name": "trending-up",
1411
+ "type": "icon"
1404
1412
  },
1405
1413
  {
1406
- "variant": "h2",
1414
+ "content": "Progress",
1407
1415
  "type": "typography",
1408
- "content": "Progress"
1416
+ "variant": "h2"
1409
1417
  }
1410
1418
  ],
1411
- "type": "stack",
1412
- "direction": "horizontal",
1413
1419
  "gap": "md"
1414
1420
  },
1415
1421
  {
1416
- "icon": "refresh-cw",
1417
- "label": "Refresh",
1418
- "action": "REFRESH",
1419
1422
  "type": "button",
1420
- "variant": "secondary"
1423
+ "action": "REFRESH",
1424
+ "variant": "secondary",
1425
+ "label": "Refresh",
1426
+ "icon": "refresh-cw"
1421
1427
  }
1422
- ],
1423
- "type": "stack",
1424
- "direction": "horizontal"
1428
+ ]
1425
1429
  },
1426
1430
  {
1427
1431
  "type": "divider"
@@ -1430,30 +1434,30 @@
1430
1434
  "padding": "md",
1431
1435
  "children": [
1432
1436
  {
1437
+ "type": "simple-grid",
1438
+ "cols": 3.0,
1433
1439
  "children": [
1434
1440
  {
1435
- "value": "@entity.totalLessons",
1441
+ "label": "TotalLessons",
1436
1442
  "type": "stat-display",
1437
- "label": "TotalLessons"
1443
+ "value": "@entity.totalLessons"
1438
1444
  },
1439
1445
  {
1440
1446
  "value": "@entity.completedLessons",
1441
- "type": "stat-display",
1442
- "label": "CompletedLessons"
1447
+ "label": "CompletedLessons",
1448
+ "type": "stat-display"
1443
1449
  },
1444
1450
  {
1445
- "value": "@entity.averageScore",
1451
+ "label": "AverageScore",
1446
1452
  "type": "stat-display",
1447
- "label": "AverageScore"
1453
+ "value": "@entity.averageScore"
1448
1454
  },
1449
1455
  {
1450
1456
  "value": "@entity.streak",
1451
1457
  "type": "stat-display",
1452
1458
  "label": "Streak"
1453
1459
  }
1454
- ],
1455
- "cols": 3.0,
1456
- "type": "simple-grid"
1460
+ ]
1457
1461
  }
1458
1462
  ],
1459
1463
  "type": "box"
@@ -1462,37 +1466,37 @@
1462
1466
  "type": "divider"
1463
1467
  },
1464
1468
  {
1469
+ "cols": 2.0,
1470
+ "gap": "md",
1465
1471
  "type": "grid",
1466
1472
  "children": [
1467
1473
  {
1468
- "type": "card",
1469
1474
  "children": [
1470
1475
  {
1471
1476
  "type": "typography",
1472
1477
  "variant": "caption",
1473
1478
  "content": "Chart View"
1474
1479
  }
1475
- ]
1480
+ ],
1481
+ "type": "card"
1476
1482
  },
1477
1483
  {
1478
- "type": "card",
1479
1484
  "children": [
1480
1485
  {
1486
+ "variant": "caption",
1481
1487
  "type": "typography",
1482
- "content": "Graph View",
1483
- "variant": "caption"
1488
+ "content": "Graph View"
1484
1489
  }
1485
- ]
1490
+ ],
1491
+ "type": "card"
1486
1492
  }
1487
- ],
1488
- "gap": "md",
1489
- "cols": 2.0
1493
+ ]
1490
1494
  },
1491
1495
  {
1492
1496
  "data": [
1493
1497
  {
1494
- "date": "Jan",
1495
- "value": 12.0
1498
+ "value": 12.0,
1499
+ "date": "Jan"
1496
1500
  },
1497
1501
  {
1498
1502
  "date": "Feb",
@@ -1503,12 +1507,12 @@
1503
1507
  "value": 15.0
1504
1508
  },
1505
1509
  {
1506
- "value": 25.0,
1507
- "date": "Apr"
1510
+ "date": "Apr",
1511
+ "value": 25.0
1508
1512
  },
1509
1513
  {
1510
- "date": "May",
1511
- "value": 22.0
1514
+ "value": 22.0,
1515
+ "date": "May"
1512
1516
  },
1513
1517
  {
1514
1518
  "date": "Jun",
@@ -1518,20 +1522,21 @@
1518
1522
  "type": "line-chart"
1519
1523
  },
1520
1524
  {
1521
- "type": "chart-legend",
1522
1525
  "items": [
1523
1526
  {
1524
- "label": "Current",
1525
- "color": "primary"
1527
+ "color": "primary",
1528
+ "label": "Current"
1526
1529
  },
1527
1530
  {
1528
1531
  "label": "Previous",
1529
1532
  "color": "muted"
1530
1533
  }
1531
- ]
1534
+ ],
1535
+ "type": "chart-legend"
1532
1536
  },
1533
1537
  {
1534
1538
  "width": 400.0,
1539
+ "height": 200.0,
1535
1540
  "type": "graph-view",
1536
1541
  "nodes": [
1537
1542
  {
@@ -1549,25 +1554,20 @@
1549
1554
  ],
1550
1555
  "edges": [
1551
1556
  {
1552
- "target": "b",
1553
- "source": "a"
1557
+ "source": "a",
1558
+ "target": "b"
1554
1559
  },
1555
1560
  {
1556
- "target": "c",
1557
- "source": "b"
1561
+ "source": "b",
1562
+ "target": "c"
1558
1563
  }
1559
- ],
1560
- "height": 200.0
1564
+ ]
1561
1565
  }
1562
- ],
1563
- "type": "stack",
1564
- "gap": "lg",
1565
- "direction": "vertical"
1566
+ ]
1566
1567
  }
1567
1568
  ]
1568
1569
  }
1569
- ],
1570
- "appName": "Coding Academy"
1570
+ ]
1571
1571
  }
1572
1572
  ]
1573
1573
  ]
@@ -1582,8 +1582,8 @@
1582
1582
  "StudentProgress",
1583
1583
  {
1584
1584
  "emit": {
1585
- "success": "StudentProgressLoaded",
1586
- "failure": "StudentProgressLoadFailed"
1585
+ "failure": "StudentProgressLoadFailed",
1586
+ "success": "StudentProgressLoaded"
1587
1587
  }
1588
1588
  }
1589
1589
  ],
@@ -1591,15 +1591,15 @@
1591
1591
  "render-ui",
1592
1592
  "main",
1593
1593
  {
1594
- "type": "game-shell",
1594
+ "appName": "Coding Academy",
1595
1595
  "children": [
1596
1596
  {
1597
+ "type": "scaled-diagram",
1597
1598
  "children": [
1598
1599
  {
1599
1600
  "direction": "vertical",
1600
1601
  "children": [
1601
1602
  {
1602
- "type": "breadcrumb",
1603
1603
  "items": [
1604
1604
  {
1605
1605
  "label": "Home",
@@ -1608,36 +1608,37 @@
1608
1608
  {
1609
1609
  "label": "Progress"
1610
1610
  }
1611
- ]
1611
+ ],
1612
+ "type": "breadcrumb"
1612
1613
  },
1613
1614
  {
1614
- "justify": "between",
1615
+ "type": "stack",
1615
1616
  "children": [
1616
1617
  {
1617
- "direction": "horizontal",
1618
- "type": "stack",
1619
- "gap": "md",
1620
1618
  "children": [
1621
1619
  {
1622
- "type": "icon",
1623
- "name": "trending-up"
1620
+ "name": "trending-up",
1621
+ "type": "icon"
1624
1622
  },
1625
1623
  {
1626
1624
  "variant": "h2",
1627
- "type": "typography",
1628
- "content": "Progress"
1625
+ "content": "Progress",
1626
+ "type": "typography"
1629
1627
  }
1630
- ]
1628
+ ],
1629
+ "gap": "md",
1630
+ "direction": "horizontal",
1631
+ "type": "stack"
1631
1632
  },
1632
1633
  {
1633
- "action": "REFRESH",
1634
1634
  "label": "Refresh",
1635
1635
  "icon": "refresh-cw",
1636
- "variant": "secondary",
1637
- "type": "button"
1636
+ "type": "button",
1637
+ "action": "REFRESH",
1638
+ "variant": "secondary"
1638
1639
  }
1639
1640
  ],
1640
- "type": "stack",
1641
+ "justify": "between",
1641
1642
  "direction": "horizontal",
1642
1643
  "gap": "md"
1643
1644
  },
@@ -1645,17 +1646,17 @@
1645
1646
  "type": "divider"
1646
1647
  },
1647
1648
  {
1648
- "type": "box",
1649
1649
  "padding": "md",
1650
+ "type": "box",
1650
1651
  "children": [
1651
1652
  {
1652
1653
  "type": "simple-grid",
1653
1654
  "cols": 3.0,
1654
1655
  "children": [
1655
1656
  {
1656
- "type": "stat-display",
1657
+ "value": "@entity.totalLessons",
1657
1658
  "label": "TotalLessons",
1658
- "value": "@entity.totalLessons"
1659
+ "type": "stat-display"
1659
1660
  },
1660
1661
  {
1661
1662
  "value": "@entity.completedLessons",
@@ -1663,13 +1664,13 @@
1663
1664
  "label": "CompletedLessons"
1664
1665
  },
1665
1666
  {
1666
- "value": "@entity.averageScore",
1667
+ "label": "AverageScore",
1667
1668
  "type": "stat-display",
1668
- "label": "AverageScore"
1669
+ "value": "@entity.averageScore"
1669
1670
  },
1670
1671
  {
1671
- "label": "Streak",
1672
1672
  "type": "stat-display",
1673
+ "label": "Streak",
1673
1674
  "value": "@entity.streak"
1674
1675
  }
1675
1676
  ]
@@ -1680,19 +1681,16 @@
1680
1681
  "type": "divider"
1681
1682
  },
1682
1683
  {
1683
- "cols": 2.0,
1684
- "type": "grid",
1685
- "gap": "md",
1686
1684
  "children": [
1687
1685
  {
1688
- "type": "card",
1689
1686
  "children": [
1690
1687
  {
1688
+ "content": "Chart View",
1691
1689
  "type": "typography",
1692
- "variant": "caption",
1693
- "content": "Chart View"
1690
+ "variant": "caption"
1694
1691
  }
1695
- ]
1692
+ ],
1693
+ "type": "card"
1696
1694
  },
1697
1695
  {
1698
1696
  "children": [
@@ -1704,14 +1702,17 @@
1704
1702
  ],
1705
1703
  "type": "card"
1706
1704
  }
1707
- ]
1705
+ ],
1706
+ "type": "grid",
1707
+ "cols": 2.0,
1708
+ "gap": "md"
1708
1709
  },
1709
1710
  {
1710
1711
  "type": "line-chart",
1711
1712
  "data": [
1712
1713
  {
1713
- "date": "Jan",
1714
- "value": 12.0
1714
+ "value": 12.0,
1715
+ "date": "Jan"
1715
1716
  },
1716
1717
  {
1717
1718
  "date": "Feb",
@@ -1722,8 +1723,8 @@
1722
1723
  "value": 15.0
1723
1724
  },
1724
1725
  {
1725
- "date": "Apr",
1726
- "value": 25.0
1726
+ "value": 25.0,
1727
+ "date": "Apr"
1727
1728
  },
1728
1729
  {
1729
1730
  "value": 22.0,
@@ -1736,19 +1737,32 @@
1736
1737
  ]
1737
1738
  },
1738
1739
  {
1740
+ "type": "chart-legend",
1739
1741
  "items": [
1740
1742
  {
1741
- "label": "Current",
1742
- "color": "primary"
1743
+ "color": "primary",
1744
+ "label": "Current"
1743
1745
  },
1744
1746
  {
1745
1747
  "color": "muted",
1746
1748
  "label": "Previous"
1747
1749
  }
1748
- ],
1749
- "type": "chart-legend"
1750
+ ]
1750
1751
  },
1751
1752
  {
1753
+ "height": 200.0,
1754
+ "type": "graph-view",
1755
+ "width": 400.0,
1756
+ "edges": [
1757
+ {
1758
+ "source": "a",
1759
+ "target": "b"
1760
+ },
1761
+ {
1762
+ "target": "c",
1763
+ "source": "b"
1764
+ }
1765
+ ],
1752
1766
  "nodes": [
1753
1767
  {
1754
1768
  "id": "a",
@@ -1759,34 +1773,20 @@
1759
1773
  "id": "b"
1760
1774
  },
1761
1775
  {
1762
- "label": "End",
1763
- "id": "c"
1764
- }
1765
- ],
1766
- "type": "graph-view",
1767
- "edges": [
1768
- {
1769
- "source": "a",
1770
- "target": "b"
1771
- },
1772
- {
1773
- "source": "b",
1774
- "target": "c"
1776
+ "id": "c",
1777
+ "label": "End"
1775
1778
  }
1776
- ],
1777
- "height": 200.0,
1778
- "width": 400.0
1779
+ ]
1779
1780
  }
1780
1781
  ],
1781
- "gap": "lg",
1782
- "type": "stack"
1782
+ "type": "stack",
1783
+ "gap": "lg"
1783
1784
  }
1784
- ],
1785
- "type": "scaled-diagram"
1785
+ ]
1786
1786
  }
1787
1787
  ],
1788
- "appName": "Coding Academy",
1789
- "showTopBar": true
1788
+ "showTopBar": true,
1789
+ "type": "game-shell"
1790
1790
  }
1791
1791
  ]
1792
1792
  ]
@@ -1801,8 +1801,8 @@
1801
1801
  "StudentProgress",
1802
1802
  {
1803
1803
  "emit": {
1804
- "success": "StudentProgressLoaded",
1805
- "failure": "StudentProgressLoadFailed"
1804
+ "failure": "StudentProgressLoadFailed",
1805
+ "success": "StudentProgressLoaded"
1806
1806
  }
1807
1807
  }
1808
1808
  ],
@@ -1811,122 +1811,120 @@
1811
1811
  "main",
1812
1812
  {
1813
1813
  "showTopBar": true,
1814
+ "type": "game-shell",
1814
1815
  "appName": "Coding Academy",
1815
1816
  "children": [
1816
1817
  {
1817
1818
  "children": [
1818
1819
  {
1819
- "gap": "lg",
1820
- "direction": "vertical",
1821
- "type": "stack",
1822
1820
  "children": [
1823
1821
  {
1822
+ "type": "breadcrumb",
1824
1823
  "items": [
1825
1824
  {
1826
- "href": "/",
1827
- "label": "Home"
1825
+ "label": "Home",
1826
+ "href": "/"
1828
1827
  },
1829
1828
  {
1830
1829
  "label": "Progress"
1831
1830
  }
1832
- ],
1833
- "type": "breadcrumb"
1831
+ ]
1834
1832
  },
1835
1833
  {
1836
- "type": "stack",
1837
- "justify": "between",
1838
- "gap": "md",
1839
1834
  "children": [
1840
1835
  {
1841
- "type": "stack",
1842
- "direction": "horizontal",
1843
1836
  "gap": "md",
1844
1837
  "children": [
1845
1838
  {
1846
- "name": "trending-up",
1847
- "type": "icon"
1839
+ "type": "icon",
1840
+ "name": "trending-up"
1848
1841
  },
1849
1842
  {
1843
+ "type": "typography",
1850
1844
  "variant": "h2",
1851
- "content": "Progress",
1852
- "type": "typography"
1845
+ "content": "Progress"
1853
1846
  }
1854
- ]
1847
+ ],
1848
+ "type": "stack",
1849
+ "direction": "horizontal"
1855
1850
  },
1856
1851
  {
1857
- "type": "button",
1858
1852
  "icon": "refresh-cw",
1853
+ "label": "Refresh",
1854
+ "type": "button",
1859
1855
  "action": "REFRESH",
1860
- "variant": "secondary",
1861
- "label": "Refresh"
1856
+ "variant": "secondary"
1862
1857
  }
1863
1858
  ],
1864
- "direction": "horizontal"
1859
+ "type": "stack",
1860
+ "gap": "md",
1861
+ "direction": "horizontal",
1862
+ "justify": "between"
1865
1863
  },
1866
1864
  {
1867
1865
  "type": "divider"
1868
1866
  },
1869
1867
  {
1868
+ "type": "box",
1869
+ "padding": "md",
1870
1870
  "children": [
1871
1871
  {
1872
1872
  "type": "simple-grid",
1873
+ "cols": 3.0,
1873
1874
  "children": [
1874
1875
  {
1875
- "value": "@entity.totalLessons",
1876
1876
  "type": "stat-display",
1877
- "label": "TotalLessons"
1877
+ "label": "TotalLessons",
1878
+ "value": "@entity.totalLessons"
1878
1879
  },
1879
1880
  {
1880
- "type": "stat-display",
1881
1881
  "label": "CompletedLessons",
1882
- "value": "@entity.completedLessons"
1882
+ "value": "@entity.completedLessons",
1883
+ "type": "stat-display"
1883
1884
  },
1884
1885
  {
1885
- "type": "stat-display",
1886
+ "value": "@entity.averageScore",
1886
1887
  "label": "AverageScore",
1887
- "value": "@entity.averageScore"
1888
+ "type": "stat-display"
1888
1889
  },
1889
1890
  {
1890
1891
  "label": "Streak",
1891
1892
  "type": "stat-display",
1892
1893
  "value": "@entity.streak"
1893
1894
  }
1894
- ],
1895
- "cols": 3.0
1895
+ ]
1896
1896
  }
1897
- ],
1898
- "padding": "md",
1899
- "type": "box"
1897
+ ]
1900
1898
  },
1901
1899
  {
1902
1900
  "type": "divider"
1903
1901
  },
1904
1902
  {
1905
- "gap": "md",
1906
- "type": "grid",
1907
- "cols": 2.0,
1908
1903
  "children": [
1909
1904
  {
1905
+ "type": "card",
1910
1906
  "children": [
1911
1907
  {
1912
- "content": "Chart View",
1908
+ "type": "typography",
1913
1909
  "variant": "caption",
1914
- "type": "typography"
1910
+ "content": "Chart View"
1915
1911
  }
1916
- ],
1917
- "type": "card"
1912
+ ]
1918
1913
  },
1919
1914
  {
1920
- "type": "card",
1921
1915
  "children": [
1922
1916
  {
1923
- "type": "typography",
1924
1917
  "content": "Graph View",
1925
- "variant": "caption"
1918
+ "variant": "caption",
1919
+ "type": "typography"
1926
1920
  }
1927
- ]
1921
+ ],
1922
+ "type": "card"
1928
1923
  }
1929
- ]
1924
+ ],
1925
+ "type": "grid",
1926
+ "gap": "md",
1927
+ "cols": 2.0
1930
1928
  },
1931
1929
  {
1932
1930
  "type": "line-chart",
@@ -1948,8 +1946,8 @@
1948
1946
  "value": 25.0
1949
1947
  },
1950
1948
  {
1951
- "date": "May",
1952
- "value": 22.0
1949
+ "value": 22.0,
1950
+ "date": "May"
1953
1951
  },
1954
1952
  {
1955
1953
  "value": 30.0,
@@ -1965,47 +1963,49 @@
1965
1963
  "label": "Current"
1966
1964
  },
1967
1965
  {
1968
- "color": "muted",
1969
- "label": "Previous"
1966
+ "label": "Previous",
1967
+ "color": "muted"
1970
1968
  }
1971
1969
  ]
1972
1970
  },
1973
1971
  {
1974
- "edges": [
1975
- {
1976
- "source": "a",
1977
- "target": "b"
1978
- },
1979
- {
1980
- "target": "c",
1981
- "source": "b"
1982
- }
1983
- ],
1972
+ "type": "graph-view",
1984
1973
  "nodes": [
1985
1974
  {
1986
1975
  "id": "a",
1987
1976
  "label": "Start"
1988
1977
  },
1989
1978
  {
1990
- "label": "Process",
1991
- "id": "b"
1979
+ "id": "b",
1980
+ "label": "Process"
1992
1981
  },
1993
1982
  {
1994
1983
  "label": "End",
1995
1984
  "id": "c"
1996
1985
  }
1997
1986
  ],
1998
- "type": "graph-view",
1987
+ "edges": [
1988
+ {
1989
+ "target": "b",
1990
+ "source": "a"
1991
+ },
1992
+ {
1993
+ "source": "b",
1994
+ "target": "c"
1995
+ }
1996
+ ],
1999
1997
  "width": 400.0,
2000
1998
  "height": 200.0
2001
1999
  }
2002
- ]
2000
+ ],
2001
+ "type": "stack",
2002
+ "direction": "vertical",
2003
+ "gap": "lg"
2003
2004
  }
2004
2005
  ],
2005
2006
  "type": "scaled-diagram"
2006
2007
  }
2007
- ],
2008
- "type": "game-shell"
2008
+ ]
2009
2009
  }
2010
2010
  ]
2011
2011
  ]
@@ -2020,8 +2020,8 @@
2020
2020
  "StudentProgress",
2021
2021
  {
2022
2022
  "emit": {
2023
- "failure": "StudentProgressLoadFailed",
2024
- "success": "StudentProgressLoaded"
2023
+ "success": "StudentProgressLoaded",
2024
+ "failure": "StudentProgressLoadFailed"
2025
2025
  }
2026
2026
  }
2027
2027
  ],
@@ -2029,54 +2029,55 @@
2029
2029
  "render-ui",
2030
2030
  "main",
2031
2031
  {
2032
+ "type": "game-shell",
2032
2033
  "children": [
2033
2034
  {
2034
- "type": "scaled-diagram",
2035
2035
  "children": [
2036
2036
  {
2037
+ "type": "stack",
2037
2038
  "children": [
2038
2039
  {
2040
+ "type": "breadcrumb",
2039
2041
  "items": [
2040
2042
  {
2041
- "href": "/",
2042
- "label": "Home"
2043
+ "label": "Home",
2044
+ "href": "/"
2043
2045
  },
2044
2046
  {
2045
2047
  "label": "Progress"
2046
2048
  }
2047
- ],
2048
- "type": "breadcrumb"
2049
+ ]
2049
2050
  },
2050
2051
  {
2051
- "gap": "md",
2052
- "type": "stack",
2053
- "direction": "horizontal",
2052
+ "justify": "between",
2054
2053
  "children": [
2055
2054
  {
2055
+ "gap": "md",
2056
2056
  "direction": "horizontal",
2057
2057
  "type": "stack",
2058
- "gap": "md",
2059
2058
  "children": [
2060
2059
  {
2061
2060
  "type": "icon",
2062
2061
  "name": "trending-up"
2063
2062
  },
2064
2063
  {
2064
+ "content": "Progress",
2065
2065
  "variant": "h2",
2066
- "type": "typography",
2067
- "content": "Progress"
2066
+ "type": "typography"
2068
2067
  }
2069
2068
  ]
2070
2069
  },
2071
2070
  {
2072
- "icon": "refresh-cw",
2073
- "variant": "secondary",
2074
2071
  "label": "Refresh",
2072
+ "variant": "secondary",
2073
+ "type": "button",
2075
2074
  "action": "REFRESH",
2076
- "type": "button"
2075
+ "icon": "refresh-cw"
2077
2076
  }
2078
2077
  ],
2079
- "justify": "between"
2078
+ "direction": "horizontal",
2079
+ "type": "stack",
2080
+ "gap": "md"
2080
2081
  },
2081
2082
  {
2082
2083
  "type": "divider"
@@ -2117,114 +2118,113 @@
2117
2118
  "type": "divider"
2118
2119
  },
2119
2120
  {
2120
- "cols": 2.0,
2121
- "gap": "md",
2122
- "type": "grid",
2123
2121
  "children": [
2124
2122
  {
2125
2123
  "type": "card",
2126
2124
  "children": [
2127
2125
  {
2126
+ "type": "typography",
2128
2127
  "variant": "caption",
2129
- "content": "Chart View",
2130
- "type": "typography"
2128
+ "content": "Chart View"
2131
2129
  }
2132
2130
  ]
2133
2131
  },
2134
2132
  {
2135
2133
  "children": [
2136
2134
  {
2137
- "type": "typography",
2138
2135
  "variant": "caption",
2139
- "content": "Graph View"
2136
+ "content": "Graph View",
2137
+ "type": "typography"
2140
2138
  }
2141
2139
  ],
2142
2140
  "type": "card"
2143
2141
  }
2144
- ]
2142
+ ],
2143
+ "gap": "md",
2144
+ "cols": 2.0,
2145
+ "type": "grid"
2145
2146
  },
2146
2147
  {
2147
2148
  "type": "line-chart",
2148
2149
  "data": [
2149
2150
  {
2150
- "value": 12.0,
2151
- "date": "Jan"
2151
+ "date": "Jan",
2152
+ "value": 12.0
2152
2153
  },
2153
2154
  {
2154
2155
  "value": 19.0,
2155
2156
  "date": "Feb"
2156
2157
  },
2157
2158
  {
2158
- "date": "Mar",
2159
- "value": 15.0
2159
+ "value": 15.0,
2160
+ "date": "Mar"
2160
2161
  },
2161
2162
  {
2162
- "date": "Apr",
2163
- "value": 25.0
2163
+ "value": 25.0,
2164
+ "date": "Apr"
2164
2165
  },
2165
2166
  {
2166
- "value": 22.0,
2167
- "date": "May"
2167
+ "date": "May",
2168
+ "value": 22.0
2168
2169
  },
2169
2170
  {
2170
- "value": 30.0,
2171
- "date": "Jun"
2171
+ "date": "Jun",
2172
+ "value": 30.0
2172
2173
  }
2173
2174
  ]
2174
2175
  },
2175
2176
  {
2177
+ "type": "chart-legend",
2176
2178
  "items": [
2177
2179
  {
2178
- "color": "primary",
2179
- "label": "Current"
2180
+ "label": "Current",
2181
+ "color": "primary"
2180
2182
  },
2181
2183
  {
2182
- "label": "Previous",
2183
- "color": "muted"
2184
+ "color": "muted",
2185
+ "label": "Previous"
2184
2186
  }
2185
- ],
2186
- "type": "chart-legend"
2187
+ ]
2187
2188
  },
2188
2189
  {
2189
- "edges": [
2190
+ "nodes": [
2190
2191
  {
2191
- "source": "a",
2192
- "target": "b"
2192
+ "label": "Start",
2193
+ "id": "a"
2193
2194
  },
2194
2195
  {
2195
- "target": "c",
2196
- "source": "b"
2196
+ "label": "Process",
2197
+ "id": "b"
2198
+ },
2199
+ {
2200
+ "label": "End",
2201
+ "id": "c"
2197
2202
  }
2198
2203
  ],
2199
- "width": 400.0,
2200
- "type": "graph-view",
2201
2204
  "height": 200.0,
2202
- "nodes": [
2203
- {
2204
- "id": "a",
2205
- "label": "Start"
2206
- },
2205
+ "edges": [
2207
2206
  {
2208
- "id": "b",
2209
- "label": "Process"
2207
+ "target": "b",
2208
+ "source": "a"
2210
2209
  },
2211
2210
  {
2212
- "id": "c",
2213
- "label": "End"
2211
+ "source": "b",
2212
+ "target": "c"
2214
2213
  }
2215
- ]
2214
+ ],
2215
+ "type": "graph-view",
2216
+ "width": 400.0
2216
2217
  }
2217
2218
  ],
2218
- "type": "stack",
2219
2219
  "direction": "vertical",
2220
2220
  "gap": "lg"
2221
2221
  }
2222
- ]
2222
+ ],
2223
+ "type": "scaled-diagram"
2223
2224
  }
2224
2225
  ],
2225
- "showTopBar": true,
2226
2226
  "appName": "Coding Academy",
2227
- "type": "game-shell"
2227
+ "showTopBar": true
2228
2228
  }
2229
2229
  ]
2230
2230
  ]
@@ -2247,4 +2247,4 @@
2247
2247
  ]
2248
2248
  }
2249
2249
  ]
2250
- }
2250
+ }