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