@almadar/std 8.3.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 +62 -62
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +100 -100
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +386 -386
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +114 -114
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
  27. package/behaviors/registry/app/organisms/std-cms.orb +469 -469
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
  29. package/behaviors/registry/app/organisms/std-crm.orb +832 -832
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
  37. package/behaviors/registry/app/organisms/std-lms.orb +839 -839
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
  42. package/behaviors/registry/core/atoms/std-browse.orb +53 -53
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
  44. package/behaviors/registry/core/atoms/std-calendar.orb +57 -57
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
  47. package/behaviors/registry/core/atoms/std-display.orb +383 -383
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +42 -42
  50. package/behaviors/registry/core/atoms/std-gallery.orb +54 -54
  51. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  52. package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  53. package/behaviors/registry/core/atoms/std-push.orb +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  55. package/behaviors/registry/core/atoms/std-related.orb +34 -34
  56. package/behaviors/registry/core/atoms/std-search.orb +68 -68
  57. package/behaviors/registry/core/atoms/std-selection.orb +90 -90
  58. package/behaviors/registry/core/atoms/std-tabs.orb +52 -52
  59. package/behaviors/registry/core/molecules/std-cart.orb +45 -45
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
  62. package/behaviors/registry/core/molecules/std-list.orb +46 -46
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
  64. package/behaviors/registry/game/atoms/std-collision.orb +121 -121
  65. package/behaviors/registry/game/atoms/std-combat.orb +68 -68
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +306 -306
  70. package/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +274 -274
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
  83. package/behaviors/registry/service/atoms/std-service-email.orb +72 -72
  84. package/behaviors/registry/service/atoms/std-service-github.orb +98 -98
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +62 -62
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +100 -100
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +386 -386
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +114 -114
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +469 -469
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +832 -832
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +839 -839
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +53 -53
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +57 -57
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +383 -383
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +42 -42
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +54 -54
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +52 -52
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +45 -45
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +46 -46
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +121 -121
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +68 -68
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +306 -306
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +274 -274
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +72 -72
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +98 -98
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
  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
195
  "menuItems": [
199
196
  {
200
- "variant": "primary",
201
197
  "label": "Start",
202
- "event": "START"
198
+ "event": "START",
199
+ "variant": "primary"
203
200
  }
204
201
  ],
205
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
  ]
@@ -218,6 +218,7 @@
218
218
  "render-ui",
219
219
  "main",
220
220
  {
221
+ "showTopBar": true,
221
222
  "appName": "Coding Academy",
222
223
  "children": [
223
224
  {
@@ -232,8 +233,8 @@
232
233
  "value": "@entity.score"
233
234
  },
234
235
  {
235
- "value": "@entity.level",
236
- "label": "Level"
236
+ "label": "Level",
237
+ "value": "@entity.level"
237
238
  }
238
239
  ]
239
240
  },
@@ -246,8 +247,7 @@
246
247
  "direction": "vertical"
247
248
  }
248
249
  ],
249
- "type": "game-shell",
250
- "showTopBar": true
250
+ "type": "game-shell"
251
251
  }
252
252
  ]
253
253
  ]
@@ -266,22 +266,22 @@
266
266
  "render-ui",
267
267
  "main",
268
268
  {
269
- "type": "game-shell",
270
269
  "appName": "Coding Academy",
270
+ "type": "game-shell",
271
+ "showTopBar": true,
271
272
  "children": [
272
273
  {
273
- "type": "game-over-screen",
274
- "title": "Well Done!",
275
274
  "menuItems": [
276
275
  {
277
- "label": "Play Again",
278
276
  "event": "RESTART",
279
- "variant": "primary"
277
+ "variant": "primary",
278
+ "label": "Play Again"
280
279
  }
281
- ]
280
+ ],
281
+ "type": "game-over-screen",
282
+ "title": "Well Done!"
282
283
  }
283
- ],
284
- "showTopBar": true
284
+ ]
285
285
  }
286
286
  ]
287
287
  ]
@@ -295,22 +295,22 @@
295
295
  "render-ui",
296
296
  "main",
297
297
  {
298
+ "appName": "Coding Academy",
298
299
  "showTopBar": true,
300
+ "type": "game-shell",
299
301
  "children": [
300
302
  {
301
303
  "type": "game-menu",
302
304
  "title": "Sequencer Challenge",
303
305
  "menuItems": [
304
306
  {
305
- "variant": "primary",
306
307
  "label": "Start",
307
- "event": "START"
308
+ "event": "START",
309
+ "variant": "primary"
308
310
  }
309
311
  ]
310
312
  }
311
- ],
312
- "type": "game-shell",
313
- "appName": "Coding Academy"
313
+ ]
314
314
  }
315
315
  ]
316
316
  ]
@@ -518,11 +518,12 @@
518
518
  "render-ui",
519
519
  "main",
520
520
  {
521
- "type": "game-shell",
522
521
  "showTopBar": true,
523
522
  "appName": "Coding Academy",
523
+ "type": "game-shell",
524
524
  "children": [
525
525
  {
526
+ "type": "game-menu",
526
527
  "menuItems": [
527
528
  {
528
529
  "event": "START",
@@ -530,8 +531,7 @@
530
531
  "label": "Start"
531
532
  }
532
533
  ],
533
- "title": "Builder Challenge",
534
- "type": "game-menu"
534
+ "title": "Builder Challenge"
535
535
  }
536
536
  ]
537
537
  }
@@ -547,35 +547,35 @@
547
547
  "render-ui",
548
548
  "main",
549
549
  {
550
+ "type": "game-shell",
550
551
  "appName": "Coding Academy",
551
552
  "children": [
552
553
  {
553
- "type": "stack",
554
+ "gap": "md",
555
+ "direction": "vertical",
554
556
  "children": [
555
557
  {
556
- "type": "game-hud",
557
558
  "stats": [
558
559
  {
559
- "value": "@entity.score",
560
- "label": "Score"
560
+ "label": "Score",
561
+ "value": "@entity.score"
561
562
  },
562
563
  {
563
564
  "label": "Level",
564
565
  "value": "@entity.level"
565
566
  }
566
- ]
567
+ ],
568
+ "type": "game-hud"
567
569
  },
568
570
  {
571
+ "completeEvent": "COMPLETE",
569
572
  "entity": "BuildChallenge",
570
- "type": "builder-board",
571
- "completeEvent": "COMPLETE"
573
+ "type": "builder-board"
572
574
  }
573
575
  ],
574
- "direction": "vertical",
575
- "gap": "md"
576
+ "type": "stack"
576
577
  }
577
578
  ],
578
- "type": "game-shell",
579
579
  "showTopBar": true
580
580
  }
581
581
  ]
@@ -595,22 +595,22 @@
595
595
  "render-ui",
596
596
  "main",
597
597
  {
598
- "showTopBar": true,
599
- "type": "game-shell",
600
- "appName": "Coding Academy",
601
598
  "children": [
602
599
  {
603
600
  "type": "game-over-screen",
604
- "title": "Well Done!",
605
601
  "menuItems": [
606
602
  {
603
+ "event": "RESTART",
607
604
  "label": "Play Again",
608
- "variant": "primary",
609
- "event": "RESTART"
605
+ "variant": "primary"
610
606
  }
611
- ]
607
+ ],
608
+ "title": "Well Done!"
612
609
  }
613
- ]
610
+ ],
611
+ "appName": "Coding Academy",
612
+ "showTopBar": true,
613
+ "type": "game-shell"
614
614
  }
615
615
  ]
616
616
  ]
@@ -626,20 +626,20 @@
626
626
  {
627
627
  "appName": "Coding Academy",
628
628
  "showTopBar": true,
629
+ "type": "game-shell",
629
630
  "children": [
630
631
  {
632
+ "title": "Builder Challenge",
631
633
  "menuItems": [
632
634
  {
635
+ "variant": "primary",
633
636
  "label": "Start",
634
- "event": "START",
635
- "variant": "primary"
637
+ "event": "START"
636
638
  }
637
639
  ],
638
- "title": "Builder Challenge",
639
640
  "type": "game-menu"
640
641
  }
641
- ],
642
- "type": "game-shell"
642
+ ]
643
643
  }
644
644
  ]
645
645
  ]
@@ -848,19 +848,19 @@
848
848
  "main",
849
849
  {
850
850
  "showTopBar": true,
851
- "appName": "Coding Academy",
852
851
  "type": "game-shell",
852
+ "appName": "Coding Academy",
853
853
  "children": [
854
854
  {
855
855
  "menuItems": [
856
856
  {
857
+ "event": "START",
857
858
  "label": "Start",
858
- "variant": "primary",
859
- "event": "START"
859
+ "variant": "primary"
860
860
  }
861
861
  ],
862
- "type": "game-menu",
863
- "title": "Event Handler Challenge"
862
+ "title": "Event Handler Challenge",
863
+ "type": "game-menu"
864
864
  }
865
865
  ]
866
866
  }
@@ -876,13 +876,13 @@
876
876
  "render-ui",
877
877
  "main",
878
878
  {
879
- "appName": "Coding Academy",
880
- "type": "game-shell",
881
879
  "showTopBar": true,
880
+ "appName": "Coding Academy",
882
881
  "children": [
883
882
  {
884
883
  "children": [
885
884
  {
885
+ "type": "game-hud",
886
886
  "stats": [
887
887
  {
888
888
  "value": "@entity.score",
@@ -892,20 +892,20 @@
892
892
  "label": "Level",
893
893
  "value": "@entity.level"
894
894
  }
895
- ],
896
- "type": "game-hud"
895
+ ]
897
896
  },
898
897
  {
899
- "completeEvent": "COMPLETE",
898
+ "entity": "EventChallenge",
900
899
  "type": "event-handler-board",
901
- "entity": "EventChallenge"
900
+ "completeEvent": "COMPLETE"
902
901
  }
903
902
  ],
904
903
  "direction": "vertical",
905
904
  "type": "stack",
906
905
  "gap": "md"
907
906
  }
908
- ]
907
+ ],
908
+ "type": "game-shell"
909
909
  }
910
910
  ]
911
911
  ]
@@ -924,21 +924,21 @@
924
924
  "render-ui",
925
925
  "main",
926
926
  {
927
+ "showTopBar": true,
927
928
  "type": "game-shell",
928
929
  "children": [
929
930
  {
930
- "title": "Well Done!",
931
931
  "type": "game-over-screen",
932
+ "title": "Well Done!",
932
933
  "menuItems": [
933
934
  {
934
935
  "event": "RESTART",
935
- "label": "Play Again",
936
- "variant": "primary"
936
+ "variant": "primary",
937
+ "label": "Play Again"
937
938
  }
938
939
  ]
939
940
  }
940
941
  ],
941
- "showTopBar": true,
942
942
  "appName": "Coding Academy"
943
943
  }
944
944
  ]
@@ -954,6 +954,7 @@
954
954
  "main",
955
955
  {
956
956
  "type": "game-shell",
957
+ "showTopBar": true,
957
958
  "children": [
958
959
  {
959
960
  "menuItems": [
@@ -963,12 +964,11 @@
963
964
  "event": "START"
964
965
  }
965
966
  ],
966
- "type": "game-menu",
967
- "title": "Event Handler Challenge"
967
+ "title": "Event Handler Challenge",
968
+ "type": "game-menu"
968
969
  }
969
970
  ],
970
- "appName": "Coding Academy",
971
- "showTopBar": true
971
+ "appName": "Coding Academy"
972
972
  }
973
973
  ]
974
974
  ]
@@ -1144,8 +1144,8 @@
1144
1144
  "StudentProgress",
1145
1145
  {
1146
1146
  "emit": {
1147
- "failure": "StudentProgressLoadFailed",
1148
- "success": "StudentProgressLoaded"
1147
+ "success": "StudentProgressLoaded",
1148
+ "failure": "StudentProgressLoadFailed"
1149
1149
  }
1150
1150
  }
1151
1151
  ],
@@ -1153,17 +1153,17 @@
1153
1153
  "render-ui",
1154
1154
  "main",
1155
1155
  {
1156
- "type": "game-shell",
1157
1156
  "appName": "Coding Academy",
1157
+ "type": "game-shell",
1158
1158
  "showTopBar": true,
1159
1159
  "children": [
1160
1160
  {
1161
+ "type": "scaled-diagram",
1161
1162
  "children": [
1162
1163
  {
1163
1164
  "direction": "vertical",
1164
1165
  "children": [
1165
1166
  {
1166
- "type": "breadcrumb",
1167
1167
  "items": [
1168
1168
  {
1169
1169
  "label": "Home",
@@ -1172,17 +1172,22 @@
1172
1172
  {
1173
1173
  "label": "Progress"
1174
1174
  }
1175
- ]
1175
+ ],
1176
+ "type": "breadcrumb"
1176
1177
  },
1177
1178
  {
1179
+ "type": "stack",
1180
+ "gap": "md",
1181
+ "justify": "between",
1182
+ "direction": "horizontal",
1178
1183
  "children": [
1179
1184
  {
1185
+ "gap": "md",
1180
1186
  "direction": "horizontal",
1181
- "type": "stack",
1182
1187
  "children": [
1183
1188
  {
1184
- "name": "trending-up",
1185
- "type": "icon"
1189
+ "type": "icon",
1190
+ "name": "trending-up"
1186
1191
  },
1187
1192
  {
1188
1193
  "type": "typography",
@@ -1190,30 +1195,24 @@
1190
1195
  "variant": "h2"
1191
1196
  }
1192
1197
  ],
1193
- "gap": "md"
1198
+ "type": "stack"
1194
1199
  },
1195
1200
  {
1196
1201
  "label": "Refresh",
1202
+ "action": "REFRESH",
1197
1203
  "variant": "secondary",
1198
1204
  "type": "button",
1199
- "icon": "refresh-cw",
1200
- "action": "REFRESH"
1205
+ "icon": "refresh-cw"
1201
1206
  }
1202
- ],
1203
- "type": "stack",
1204
- "gap": "md",
1205
- "direction": "horizontal",
1206
- "justify": "between"
1207
+ ]
1207
1208
  },
1208
1209
  {
1209
1210
  "type": "divider"
1210
1211
  },
1211
1212
  {
1212
- "type": "box",
1213
1213
  "padding": "md",
1214
1214
  "children": [
1215
1215
  {
1216
- "type": "simple-grid",
1217
1216
  "cols": 3.0,
1218
1217
  "children": [
1219
1218
  {
@@ -1222,23 +1221,25 @@
1222
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
- "label": "AverageScore",
1231
1229
  "value": "@entity.averageScore",
1232
- "type": "stat-display"
1230
+ "type": "stat-display",
1231
+ "label": "AverageScore"
1233
1232
  },
1234
1233
  {
1235
1234
  "type": "stat-display",
1236
- "label": "Streak",
1237
- "value": "@entity.streak"
1235
+ "value": "@entity.streak",
1236
+ "label": "Streak"
1238
1237
  }
1239
- ]
1238
+ ],
1239
+ "type": "simple-grid"
1240
1240
  }
1241
- ]
1241
+ ],
1242
+ "type": "box"
1242
1243
  },
1243
1244
  {
1244
1245
  "type": "divider"
@@ -1246,29 +1247,29 @@
1246
1247
  {
1247
1248
  "children": [
1248
1249
  {
1250
+ "type": "card",
1249
1251
  "children": [
1250
1252
  {
1251
- "type": "typography",
1252
1253
  "content": "Chart View",
1254
+ "type": "typography",
1253
1255
  "variant": "caption"
1254
1256
  }
1255
- ],
1256
- "type": "card"
1257
+ ]
1257
1258
  },
1258
1259
  {
1260
+ "type": "card",
1259
1261
  "children": [
1260
1262
  {
1261
- "content": "Graph View",
1263
+ "variant": "caption",
1262
1264
  "type": "typography",
1263
- "variant": "caption"
1265
+ "content": "Graph View"
1264
1266
  }
1265
- ],
1266
- "type": "card"
1267
+ ]
1267
1268
  }
1268
1269
  ],
1269
1270
  "gap": "md",
1270
- "cols": 2.0,
1271
- "type": "grid"
1271
+ "type": "grid",
1272
+ "cols": 2.0
1272
1273
  },
1273
1274
  {
1274
1275
  "data": [
@@ -1285,16 +1286,16 @@
1285
1286
  "date": "Mar"
1286
1287
  },
1287
1288
  {
1288
- "date": "Apr",
1289
- "value": 25.0
1289
+ "value": 25.0,
1290
+ "date": "Apr"
1290
1291
  },
1291
1292
  {
1292
- "value": 22.0,
1293
- "date": "May"
1293
+ "date": "May",
1294
+ "value": 22.0
1294
1295
  },
1295
1296
  {
1296
- "value": 30.0,
1297
- "date": "Jun"
1297
+ "date": "Jun",
1298
+ "value": 30.0
1298
1299
  }
1299
1300
  ],
1300
1301
  "type": "line-chart"
@@ -1303,12 +1304,12 @@
1303
1304
  "type": "chart-legend",
1304
1305
  "items": [
1305
1306
  {
1306
- "label": "Current",
1307
- "color": "primary"
1307
+ "color": "primary",
1308
+ "label": "Current"
1308
1309
  },
1309
1310
  {
1310
- "color": "muted",
1311
- "label": "Previous"
1311
+ "label": "Previous",
1312
+ "color": "muted"
1312
1313
  }
1313
1314
  ]
1314
1315
  },
@@ -1323,30 +1324,29 @@
1323
1324
  "label": "Process"
1324
1325
  },
1325
1326
  {
1326
- "id": "c",
1327
- "label": "End"
1327
+ "label": "End",
1328
+ "id": "c"
1328
1329
  }
1329
1330
  ],
1330
1331
  "edges": [
1331
1332
  {
1332
- "target": "b",
1333
- "source": "a"
1333
+ "source": "a",
1334
+ "target": "b"
1334
1335
  },
1335
1336
  {
1336
1337
  "target": "c",
1337
1338
  "source": "b"
1338
1339
  }
1339
1340
  ],
1341
+ "width": 400.0,
1340
1342
  "type": "graph-view",
1341
- "height": 200.0,
1342
- "width": 400.0
1343
+ "height": 200.0
1343
1344
  }
1344
1345
  ],
1345
1346
  "type": "stack",
1346
1347
  "gap": "lg"
1347
1348
  }
1348
- ],
1349
- "type": "scaled-diagram"
1349
+ ]
1350
1350
  }
1351
1351
  ]
1352
1352
  }
@@ -1372,6 +1372,7 @@
1372
1372
  "render-ui",
1373
1373
  "main",
1374
1374
  {
1375
+ "showTopBar": true,
1375
1376
  "type": "game-shell",
1376
1377
  "appName": "Coding Academy",
1377
1378
  "children": [
@@ -1379,12 +1380,11 @@
1379
1380
  "type": "scaled-diagram",
1380
1381
  "children": [
1381
1382
  {
1383
+ "type": "stack",
1382
1384
  "direction": "vertical",
1383
1385
  "gap": "lg",
1384
- "type": "stack",
1385
1386
  "children": [
1386
1387
  {
1387
- "type": "breadcrumb",
1388
1388
  "items": [
1389
1389
  {
1390
1390
  "label": "Home",
@@ -1393,14 +1393,17 @@
1393
1393
  {
1394
1394
  "label": "Progress"
1395
1395
  }
1396
- ]
1396
+ ],
1397
+ "type": "breadcrumb"
1397
1398
  },
1398
1399
  {
1399
- "direction": "horizontal",
1400
1400
  "type": "stack",
1401
+ "gap": "md",
1401
1402
  "justify": "between",
1403
+ "direction": "horizontal",
1402
1404
  "children": [
1403
1405
  {
1406
+ "direction": "horizontal",
1404
1407
  "type": "stack",
1405
1408
  "children": [
1406
1409
  {
@@ -1413,24 +1416,21 @@
1413
1416
  "variant": "h2"
1414
1417
  }
1415
1418
  ],
1416
- "direction": "horizontal",
1417
1419
  "gap": "md"
1418
1420
  },
1419
1421
  {
1422
+ "type": "button",
1420
1423
  "action": "REFRESH",
1424
+ "variant": "secondary",
1421
1425
  "label": "Refresh",
1422
- "icon": "refresh-cw",
1423
- "type": "button",
1424
- "variant": "secondary"
1426
+ "icon": "refresh-cw"
1425
1427
  }
1426
- ],
1427
- "gap": "md"
1428
+ ]
1428
1429
  },
1429
1430
  {
1430
1431
  "type": "divider"
1431
1432
  },
1432
1433
  {
1433
- "type": "box",
1434
1434
  "padding": "md",
1435
1435
  "children": [
1436
1436
  {
@@ -1438,43 +1438,44 @@
1438
1438
  "cols": 3.0,
1439
1439
  "children": [
1440
1440
  {
1441
- "value": "@entity.totalLessons",
1442
1441
  "label": "TotalLessons",
1443
- "type": "stat-display"
1442
+ "type": "stat-display",
1443
+ "value": "@entity.totalLessons"
1444
1444
  },
1445
1445
  {
1446
1446
  "value": "@entity.completedLessons",
1447
- "type": "stat-display",
1448
- "label": "CompletedLessons"
1447
+ "label": "CompletedLessons",
1448
+ "type": "stat-display"
1449
1449
  },
1450
1450
  {
1451
1451
  "label": "AverageScore",
1452
- "value": "@entity.averageScore",
1453
- "type": "stat-display"
1452
+ "type": "stat-display",
1453
+ "value": "@entity.averageScore"
1454
1454
  },
1455
1455
  {
1456
- "type": "stat-display",
1457
1456
  "value": "@entity.streak",
1457
+ "type": "stat-display",
1458
1458
  "label": "Streak"
1459
1459
  }
1460
1460
  ]
1461
1461
  }
1462
- ]
1462
+ ],
1463
+ "type": "box"
1463
1464
  },
1464
1465
  {
1465
1466
  "type": "divider"
1466
1467
  },
1467
1468
  {
1468
1469
  "cols": 2.0,
1469
- "type": "grid",
1470
1470
  "gap": "md",
1471
+ "type": "grid",
1471
1472
  "children": [
1472
1473
  {
1473
1474
  "children": [
1474
1475
  {
1475
- "content": "Chart View",
1476
1476
  "type": "typography",
1477
- "variant": "caption"
1477
+ "variant": "caption",
1478
+ "content": "Chart View"
1478
1479
  }
1479
1480
  ],
1480
1481
  "type": "card"
@@ -1498,12 +1499,12 @@
1498
1499
  "date": "Jan"
1499
1500
  },
1500
1501
  {
1501
- "value": 19.0,
1502
- "date": "Feb"
1502
+ "date": "Feb",
1503
+ "value": 19.0
1503
1504
  },
1504
1505
  {
1505
- "value": 15.0,
1506
- "date": "Mar"
1506
+ "date": "Mar",
1507
+ "value": 15.0
1507
1508
  },
1508
1509
  {
1509
1510
  "date": "Apr",
@@ -1534,22 +1535,13 @@
1534
1535
  "type": "chart-legend"
1535
1536
  },
1536
1537
  {
1537
- "edges": [
1538
- {
1539
- "target": "b",
1540
- "source": "a"
1541
- },
1542
- {
1543
- "source": "b",
1544
- "target": "c"
1545
- }
1546
- ],
1538
+ "width": 400.0,
1547
1539
  "height": 200.0,
1548
1540
  "type": "graph-view",
1549
1541
  "nodes": [
1550
1542
  {
1551
- "label": "Start",
1552
- "id": "a"
1543
+ "id": "a",
1544
+ "label": "Start"
1553
1545
  },
1554
1546
  {
1555
1547
  "id": "b",
@@ -1560,14 +1552,22 @@
1560
1552
  "id": "c"
1561
1553
  }
1562
1554
  ],
1563
- "width": 400.0
1555
+ "edges": [
1556
+ {
1557
+ "source": "a",
1558
+ "target": "b"
1559
+ },
1560
+ {
1561
+ "source": "b",
1562
+ "target": "c"
1563
+ }
1564
+ ]
1564
1565
  }
1565
1566
  ]
1566
1567
  }
1567
1568
  ]
1568
1569
  }
1569
- ],
1570
- "showTopBar": true
1570
+ ]
1571
1571
  }
1572
1572
  ]
1573
1573
  ]
@@ -1591,18 +1591,19 @@
1591
1591
  "render-ui",
1592
1592
  "main",
1593
1593
  {
1594
- "showTopBar": true,
1594
+ "appName": "Coding Academy",
1595
1595
  "children": [
1596
1596
  {
1597
+ "type": "scaled-diagram",
1597
1598
  "children": [
1598
1599
  {
1599
- "gap": "lg",
1600
+ "direction": "vertical",
1600
1601
  "children": [
1601
1602
  {
1602
1603
  "items": [
1603
1604
  {
1604
- "href": "/",
1605
- "label": "Home"
1605
+ "label": "Home",
1606
+ "href": "/"
1606
1607
  },
1607
1608
  {
1608
1609
  "label": "Progress"
@@ -1612,32 +1613,32 @@
1612
1613
  },
1613
1614
  {
1614
1615
  "type": "stack",
1615
- "justify": "between",
1616
1616
  "children": [
1617
1617
  {
1618
- "gap": "md",
1619
- "type": "stack",
1620
- "direction": "horizontal",
1621
1618
  "children": [
1622
1619
  {
1623
1620
  "name": "trending-up",
1624
1621
  "type": "icon"
1625
1622
  },
1626
1623
  {
1627
- "content": "Progress",
1628
1624
  "variant": "h2",
1625
+ "content": "Progress",
1629
1626
  "type": "typography"
1630
1627
  }
1631
- ]
1628
+ ],
1629
+ "gap": "md",
1630
+ "direction": "horizontal",
1631
+ "type": "stack"
1632
1632
  },
1633
1633
  {
1634
+ "label": "Refresh",
1635
+ "icon": "refresh-cw",
1634
1636
  "type": "button",
1635
1637
  "action": "REFRESH",
1636
- "label": "Refresh",
1637
- "variant": "secondary",
1638
- "icon": "refresh-cw"
1638
+ "variant": "secondary"
1639
1639
  }
1640
1640
  ],
1641
+ "justify": "between",
1641
1642
  "direction": "horizontal",
1642
1643
  "gap": "md"
1643
1644
  },
@@ -1645,17 +1646,21 @@
1645
1646
  "type": "divider"
1646
1647
  },
1647
1648
  {
1649
+ "padding": "md",
1650
+ "type": "box",
1648
1651
  "children": [
1649
1652
  {
1653
+ "type": "simple-grid",
1654
+ "cols": 3.0,
1650
1655
  "children": [
1651
1656
  {
1652
- "label": "TotalLessons",
1653
1657
  "value": "@entity.totalLessons",
1658
+ "label": "TotalLessons",
1654
1659
  "type": "stat-display"
1655
1660
  },
1656
1661
  {
1657
- "type": "stat-display",
1658
1662
  "value": "@entity.completedLessons",
1663
+ "type": "stat-display",
1659
1664
  "label": "CompletedLessons"
1660
1665
  },
1661
1666
  {
@@ -1668,43 +1673,39 @@
1668
1673
  "label": "Streak",
1669
1674
  "value": "@entity.streak"
1670
1675
  }
1671
- ],
1672
- "type": "simple-grid",
1673
- "cols": 3.0
1676
+ ]
1674
1677
  }
1675
- ],
1676
- "type": "box",
1677
- "padding": "md"
1678
+ ]
1678
1679
  },
1679
1680
  {
1680
1681
  "type": "divider"
1681
1682
  },
1682
1683
  {
1683
- "type": "grid",
1684
- "gap": "md",
1685
- "cols": 2.0,
1686
1684
  "children": [
1687
1685
  {
1688
1686
  "children": [
1689
1687
  {
1690
1688
  "content": "Chart View",
1691
- "variant": "caption",
1692
- "type": "typography"
1689
+ "type": "typography",
1690
+ "variant": "caption"
1693
1691
  }
1694
1692
  ],
1695
1693
  "type": "card"
1696
1694
  },
1697
1695
  {
1698
- "type": "card",
1699
1696
  "children": [
1700
1697
  {
1701
- "variant": "caption",
1702
1698
  "type": "typography",
1699
+ "variant": "caption",
1703
1700
  "content": "Graph View"
1704
1701
  }
1705
- ]
1702
+ ],
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",
@@ -1714,28 +1715,29 @@
1714
1715
  "date": "Jan"
1715
1716
  },
1716
1717
  {
1717
- "value": 19.0,
1718
- "date": "Feb"
1718
+ "date": "Feb",
1719
+ "value": 19.0
1719
1720
  },
1720
1721
  {
1721
- "value": 15.0,
1722
- "date": "Mar"
1722
+ "date": "Mar",
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
- "date": "May",
1730
- "value": 22.0
1730
+ "value": 22.0,
1731
+ "date": "May"
1731
1732
  },
1732
1733
  {
1733
- "date": "Jun",
1734
- "value": 30.0
1734
+ "value": 30.0,
1735
+ "date": "Jun"
1735
1736
  }
1736
1737
  ]
1737
1738
  },
1738
1739
  {
1740
+ "type": "chart-legend",
1739
1741
  "items": [
1740
1742
  {
1741
1743
  "color": "primary",
@@ -1745,10 +1747,22 @@
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",
@@ -1762,31 +1776,17 @@
1762
1776
  "id": "c",
1763
1777
  "label": "End"
1764
1778
  }
1765
- ],
1766
- "width": 400.0,
1767
- "height": 200.0,
1768
- "type": "graph-view",
1769
- "edges": [
1770
- {
1771
- "source": "a",
1772
- "target": "b"
1773
- },
1774
- {
1775
- "target": "c",
1776
- "source": "b"
1777
- }
1778
1779
  ]
1779
1780
  }
1780
1781
  ],
1781
1782
  "type": "stack",
1782
- "direction": "vertical"
1783
+ "gap": "lg"
1783
1784
  }
1784
- ],
1785
- "type": "scaled-diagram"
1785
+ ]
1786
1786
  }
1787
1787
  ],
1788
- "type": "game-shell",
1789
- "appName": "Coding Academy"
1788
+ "showTopBar": true,
1789
+ "type": "game-shell"
1790
1790
  }
1791
1791
  ]
1792
1792
  ]
@@ -1810,16 +1810,13 @@
1810
1810
  "render-ui",
1811
1811
  "main",
1812
1812
  {
1813
- "type": "game-shell",
1814
1813
  "showTopBar": true,
1814
+ "type": "game-shell",
1815
1815
  "appName": "Coding Academy",
1816
1816
  "children": [
1817
1817
  {
1818
1818
  "children": [
1819
1819
  {
1820
- "type": "stack",
1821
- "direction": "vertical",
1822
- "gap": "lg",
1823
1820
  "children": [
1824
1821
  {
1825
1822
  "type": "breadcrumb",
@@ -1834,35 +1831,35 @@
1834
1831
  ]
1835
1832
  },
1836
1833
  {
1837
- "direction": "horizontal",
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
- "variant": "secondary",
1858
1852
  "icon": "refresh-cw",
1859
- "action": "REFRESH",
1853
+ "label": "Refresh",
1860
1854
  "type": "button",
1861
- "label": "Refresh"
1855
+ "action": "REFRESH",
1856
+ "variant": "secondary"
1862
1857
  }
1863
1858
  ],
1864
- "justify": "between",
1865
- "type": "stack"
1859
+ "type": "stack",
1860
+ "gap": "md",
1861
+ "direction": "horizontal",
1862
+ "justify": "between"
1866
1863
  },
1867
1864
  {
1868
1865
  "type": "divider"
@@ -1876,24 +1873,24 @@
1876
1873
  "cols": 3.0,
1877
1874
  "children": [
1878
1875
  {
1876
+ "type": "stat-display",
1879
1877
  "label": "TotalLessons",
1880
- "value": "@entity.totalLessons",
1881
- "type": "stat-display"
1878
+ "value": "@entity.totalLessons"
1882
1879
  },
1883
1880
  {
1884
1881
  "label": "CompletedLessons",
1885
- "type": "stat-display",
1886
- "value": "@entity.completedLessons"
1882
+ "value": "@entity.completedLessons",
1883
+ "type": "stat-display"
1887
1884
  },
1888
1885
  {
1889
- "type": "stat-display",
1890
1886
  "value": "@entity.averageScore",
1891
- "label": "AverageScore"
1887
+ "label": "AverageScore",
1888
+ "type": "stat-display"
1892
1889
  },
1893
1890
  {
1894
- "value": "@entity.streak",
1891
+ "label": "Streak",
1895
1892
  "type": "stat-display",
1896
- "label": "Streak"
1893
+ "value": "@entity.streak"
1897
1894
  }
1898
1895
  ]
1899
1896
  }
@@ -1903,31 +1900,31 @@
1903
1900
  "type": "divider"
1904
1901
  },
1905
1902
  {
1906
- "gap": "md",
1907
- "cols": 2.0,
1908
1903
  "children": [
1909
1904
  {
1905
+ "type": "card",
1910
1906
  "children": [
1911
1907
  {
1912
1908
  "type": "typography",
1913
1909
  "variant": "caption",
1914
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
  ],
1930
- "type": "grid"
1925
+ "type": "grid",
1926
+ "gap": "md",
1927
+ "cols": 2.0
1931
1928
  },
1932
1929
  {
1933
1930
  "type": "line-chart",
@@ -1937,8 +1934,8 @@
1937
1934
  "value": 12.0
1938
1935
  },
1939
1936
  {
1940
- "value": 19.0,
1941
- "date": "Feb"
1937
+ "date": "Feb",
1938
+ "value": 19.0
1942
1939
  },
1943
1940
  {
1944
1941
  "date": "Mar",
@@ -1959,6 +1956,7 @@
1959
1956
  ]
1960
1957
  },
1961
1958
  {
1959
+ "type": "chart-legend",
1962
1960
  "items": [
1963
1961
  {
1964
1962
  "color": "primary",
@@ -1968,21 +1966,10 @@
1968
1966
  "label": "Previous",
1969
1967
  "color": "muted"
1970
1968
  }
1971
- ],
1972
- "type": "chart-legend"
1969
+ ]
1973
1970
  },
1974
1971
  {
1975
- "edges": [
1976
- {
1977
- "source": "a",
1978
- "target": "b"
1979
- },
1980
- {
1981
- "target": "c",
1982
- "source": "b"
1983
- }
1984
- ],
1985
- "height": 200.0,
1972
+ "type": "graph-view",
1986
1973
  "nodes": [
1987
1974
  {
1988
1975
  "id": "a",
@@ -1993,14 +1980,27 @@
1993
1980
  "label": "Process"
1994
1981
  },
1995
1982
  {
1996
- "id": "c",
1997
- "label": "End"
1983
+ "label": "End",
1984
+ "id": "c"
1998
1985
  }
1999
1986
  ],
2000
- "type": "graph-view",
2001
- "width": 400.0
1987
+ "edges": [
1988
+ {
1989
+ "target": "b",
1990
+ "source": "a"
1991
+ },
1992
+ {
1993
+ "source": "b",
1994
+ "target": "c"
1995
+ }
1996
+ ],
1997
+ "width": 400.0,
1998
+ "height": 200.0
2002
1999
  }
2003
- ]
2000
+ ],
2001
+ "type": "stack",
2002
+ "direction": "vertical",
2003
+ "gap": "lg"
2004
2004
  }
2005
2005
  ],
2006
2006
  "type": "scaled-diagram"
@@ -2029,12 +2029,9 @@
2029
2029
  "render-ui",
2030
2030
  "main",
2031
2031
  {
2032
- "appName": "Coding Academy",
2033
- "showTopBar": true,
2034
2032
  "type": "game-shell",
2035
2033
  "children": [
2036
2034
  {
2037
- "type": "scaled-diagram",
2038
2035
  "children": [
2039
2036
  {
2040
2037
  "type": "stack",
@@ -2052,8 +2049,11 @@
2052
2049
  ]
2053
2050
  },
2054
2051
  {
2052
+ "justify": "between",
2055
2053
  "children": [
2056
2054
  {
2055
+ "gap": "md",
2056
+ "direction": "horizontal",
2057
2057
  "type": "stack",
2058
2058
  "children": [
2059
2059
  {
@@ -2062,136 +2062,131 @@
2062
2062
  },
2063
2063
  {
2064
2064
  "content": "Progress",
2065
- "type": "typography",
2066
- "variant": "h2"
2065
+ "variant": "h2",
2066
+ "type": "typography"
2067
2067
  }
2068
- ],
2069
- "direction": "horizontal",
2070
- "gap": "md"
2068
+ ]
2071
2069
  },
2072
2070
  {
2073
- "action": "REFRESH",
2071
+ "label": "Refresh",
2074
2072
  "variant": "secondary",
2075
- "icon": "refresh-cw",
2076
2073
  "type": "button",
2077
- "label": "Refresh"
2074
+ "action": "REFRESH",
2075
+ "icon": "refresh-cw"
2078
2076
  }
2079
2077
  ],
2080
- "justify": "between",
2081
- "gap": "md",
2082
2078
  "direction": "horizontal",
2083
- "type": "stack"
2079
+ "type": "stack",
2080
+ "gap": "md"
2084
2081
  },
2085
2082
  {
2086
2083
  "type": "divider"
2087
2084
  },
2088
2085
  {
2089
- "type": "box",
2090
2086
  "padding": "md",
2091
2087
  "children": [
2092
2088
  {
2093
2089
  "type": "simple-grid",
2094
- "cols": 3.0,
2095
2090
  "children": [
2096
2091
  {
2092
+ "value": "@entity.totalLessons",
2097
2093
  "type": "stat-display",
2098
- "label": "TotalLessons",
2099
- "value": "@entity.totalLessons"
2094
+ "label": "TotalLessons"
2100
2095
  },
2101
2096
  {
2097
+ "label": "CompletedLessons",
2102
2098
  "value": "@entity.completedLessons",
2103
- "type": "stat-display",
2104
- "label": "CompletedLessons"
2099
+ "type": "stat-display"
2105
2100
  },
2106
2101
  {
2107
- "value": "@entity.averageScore",
2108
2102
  "type": "stat-display",
2109
- "label": "AverageScore"
2103
+ "label": "AverageScore",
2104
+ "value": "@entity.averageScore"
2110
2105
  },
2111
2106
  {
2107
+ "value": "@entity.streak",
2112
2108
  "type": "stat-display",
2113
- "label": "Streak",
2114
- "value": "@entity.streak"
2109
+ "label": "Streak"
2115
2110
  }
2116
- ]
2111
+ ],
2112
+ "cols": 3.0
2117
2113
  }
2118
- ]
2114
+ ],
2115
+ "type": "box"
2119
2116
  },
2120
2117
  {
2121
2118
  "type": "divider"
2122
2119
  },
2123
2120
  {
2124
- "type": "grid",
2125
2121
  "children": [
2126
2122
  {
2127
2123
  "type": "card",
2128
2124
  "children": [
2129
2125
  {
2126
+ "type": "typography",
2130
2127
  "variant": "caption",
2131
- "content": "Chart View",
2132
- "type": "typography"
2128
+ "content": "Chart View"
2133
2129
  }
2134
2130
  ]
2135
2131
  },
2136
2132
  {
2137
- "type": "card",
2138
2133
  "children": [
2139
2134
  {
2140
2135
  "variant": "caption",
2141
- "type": "typography",
2142
- "content": "Graph View"
2136
+ "content": "Graph View",
2137
+ "type": "typography"
2143
2138
  }
2144
- ]
2139
+ ],
2140
+ "type": "card"
2145
2141
  }
2146
2142
  ],
2147
2143
  "gap": "md",
2148
- "cols": 2.0
2144
+ "cols": 2.0,
2145
+ "type": "grid"
2149
2146
  },
2150
2147
  {
2151
2148
  "type": "line-chart",
2152
2149
  "data": [
2153
2150
  {
2154
- "value": 12.0,
2155
- "date": "Jan"
2151
+ "date": "Jan",
2152
+ "value": 12.0
2156
2153
  },
2157
2154
  {
2158
- "date": "Feb",
2159
- "value": 19.0
2155
+ "value": 19.0,
2156
+ "date": "Feb"
2160
2157
  },
2161
2158
  {
2162
- "date": "Mar",
2163
- "value": 15.0
2159
+ "value": 15.0,
2160
+ "date": "Mar"
2164
2161
  },
2165
2162
  {
2166
- "date": "Apr",
2167
- "value": 25.0
2163
+ "value": 25.0,
2164
+ "date": "Apr"
2168
2165
  },
2169
2166
  {
2170
2167
  "date": "May",
2171
2168
  "value": 22.0
2172
2169
  },
2173
2170
  {
2174
- "value": 30.0,
2175
- "date": "Jun"
2171
+ "date": "Jun",
2172
+ "value": 30.0
2176
2173
  }
2177
2174
  ]
2178
2175
  },
2179
2176
  {
2177
+ "type": "chart-legend",
2180
2178
  "items": [
2181
2179
  {
2182
- "color": "primary",
2183
- "label": "Current"
2180
+ "label": "Current",
2181
+ "color": "primary"
2184
2182
  },
2185
2183
  {
2186
- "label": "Previous",
2187
- "color": "muted"
2184
+ "color": "muted",
2185
+ "label": "Previous"
2188
2186
  }
2189
- ],
2190
- "type": "chart-legend"
2187
+ ]
2191
2188
  },
2192
2189
  {
2193
- "width": 400.0,
2194
- "type": "graph-view",
2195
2190
  "nodes": [
2196
2191
  {
2197
2192
  "label": "Start",
@@ -2202,29 +2197,34 @@
2202
2197
  "id": "b"
2203
2198
  },
2204
2199
  {
2205
- "id": "c",
2206
- "label": "End"
2200
+ "label": "End",
2201
+ "id": "c"
2207
2202
  }
2208
2203
  ],
2204
+ "height": 200.0,
2209
2205
  "edges": [
2210
2206
  {
2211
- "source": "a",
2212
- "target": "b"
2207
+ "target": "b",
2208
+ "source": "a"
2213
2209
  },
2214
2210
  {
2215
2211
  "source": "b",
2216
2212
  "target": "c"
2217
2213
  }
2218
2214
  ],
2219
- "height": 200.0
2215
+ "type": "graph-view",
2216
+ "width": 400.0
2220
2217
  }
2221
2218
  ],
2222
- "gap": "lg",
2223
- "direction": "vertical"
2219
+ "direction": "vertical",
2220
+ "gap": "lg"
2224
2221
  }
2225
- ]
2222
+ ],
2223
+ "type": "scaled-diagram"
2226
2224
  }
2227
- ]
2225
+ ],
2226
+ "appName": "Coding Academy",
2227
+ "showTopBar": true
2228
2228
  }
2229
2229
  ]
2230
2230
  ]