@almadar/std 9.0.0 → 11.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 +80 -80
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  27. package/behaviors/registry/app/organisms/std-cms.orb +608 -512
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  29. package/behaviors/registry/app/organisms/std-crm.orb +887 -791
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  37. package/behaviors/registry/app/organisms/std-lms.orb +935 -893
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  42. package/behaviors/registry/core/atoms/std-browse.orb +56 -56
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  44. package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  47. package/behaviors/registry/core/atoms/std-display.orb +388 -388
  48. package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  49. package/behaviors/registry/core/atoms/std-filter.orb +47 -47
  50. package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  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 +43 -43
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  55. package/behaviors/registry/core/atoms/std-related.orb +37 -37
  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 +44 -44
  59. package/behaviors/registry/core/molecules/std-cart.orb +55 -59
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  62. package/behaviors/registry/core/molecules/std-list.orb +79 -85
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  64. package/behaviors/registry/game/atoms/std-collision.orb +122 -122
  65. package/behaviors/registry/game/atoms/std-combat.orb +66 -66
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +291 -291
  70. package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  83. package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  84. package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  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 +1097 -1072
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  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 +43 -43
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
  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 +44 -44
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +55 -59
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +79 -85
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  187. package/package.json +1 -1
@@ -352,25 +352,45 @@
352
352
  "render-ui",
353
353
  "main",
354
354
  {
355
+ "appName": "AI Tutor",
356
+ "navItems": [
357
+ {
358
+ "label": "Teach",
359
+ "href": "/teach",
360
+ "icon": "book-open"
361
+ },
362
+ {
363
+ "icon": "help-circle",
364
+ "label": "Quiz",
365
+ "href": "/quiz"
366
+ },
367
+ {
368
+ "icon": "brain",
369
+ "href": "/concepts",
370
+ "label": "Concepts"
371
+ }
372
+ ],
373
+ "type": "dashboard-layout",
355
374
  "children": [
356
375
  {
376
+ "direction": "vertical",
357
377
  "children": [
358
378
  {
359
- "gap": "sm",
360
379
  "direction": "horizontal",
380
+ "type": "stack",
381
+ "align": "center",
361
382
  "children": [
362
383
  {
363
384
  "name": "graduation-cap",
364
385
  "type": "icon"
365
386
  },
366
387
  {
388
+ "variant": "h2",
367
389
  "type": "typography",
368
- "content": "Tutor",
369
- "variant": "h2"
390
+ "content": "Tutor"
370
391
  }
371
392
  ],
372
- "align": "center",
373
- "type": "stack"
393
+ "gap": "sm"
374
394
  },
375
395
  {
376
396
  "type": "divider"
@@ -380,6 +400,7 @@
380
400
  {
381
401
  "gap": "md",
382
402
  "direction": "vertical",
403
+ "type": "stack",
383
404
  "children": [
384
405
  {
385
406
  "type": "typography",
@@ -387,44 +408,23 @@
387
408
  "variant": "body"
388
409
  },
389
410
  {
390
- "entity": "@entity",
411
+ "type": "form-section",
391
412
  "submitEvent": "START_SESSION",
413
+ "entity": "@entity",
392
414
  "fields": [
393
415
  "topic"
394
416
  ],
395
- "type": "form-section",
396
417
  "mode": "edit"
397
418
  }
398
- ],
399
- "type": "stack"
419
+ ]
400
420
  }
401
421
  ],
402
422
  "type": "card"
403
423
  }
404
424
  ],
405
- "direction": "vertical",
406
425
  "gap": "lg",
407
426
  "type": "stack"
408
427
  }
409
- ],
410
- "appName": "AI Tutor",
411
- "type": "dashboard-layout",
412
- "navItems": [
413
- {
414
- "href": "/teach",
415
- "icon": "book-open",
416
- "label": "Teach"
417
- },
418
- {
419
- "icon": "help-circle",
420
- "label": "Quiz",
421
- "href": "/quiz"
422
- },
423
- {
424
- "icon": "brain",
425
- "label": "Concepts",
426
- "href": "/concepts"
427
- }
428
428
  ]
429
429
  }
430
430
  ]
@@ -457,15 +457,13 @@
457
457
  "render-ui",
458
458
  "main",
459
459
  {
460
- "type": "dashboard-layout",
461
460
  "children": [
462
461
  {
463
- "type": "stack",
464
- "gap": "lg",
462
+ "align": "center",
465
463
  "children": [
466
464
  {
467
- "type": "icon",
468
- "name": "search"
465
+ "name": "search",
466
+ "type": "icon"
469
467
  },
470
468
  {
471
469
  "variant": "h3",
@@ -476,31 +474,33 @@
476
474
  "type": "spinner"
477
475
  },
478
476
  {
479
- "variant": "caption",
477
+ "content": "Recalling prior learning and classifying skill level",
480
478
  "type": "typography",
481
- "content": "Recalling prior learning and classifying skill level"
479
+ "variant": "caption"
482
480
  }
483
481
  ],
484
- "align": "center",
485
- "direction": "vertical"
482
+ "type": "stack",
483
+ "direction": "vertical",
484
+ "gap": "lg"
486
485
  }
487
486
  ],
487
+ "type": "dashboard-layout",
488
488
  "appName": "AI Tutor",
489
489
  "navItems": [
490
490
  {
491
- "icon": "book-open",
491
+ "href": "/teach",
492
492
  "label": "Teach",
493
- "href": "/teach"
493
+ "icon": "book-open"
494
494
  },
495
495
  {
496
+ "label": "Quiz",
496
497
  "href": "/quiz",
497
- "icon": "help-circle",
498
- "label": "Quiz"
498
+ "icon": "help-circle"
499
499
  },
500
500
  {
501
+ "href": "/concepts",
501
502
  "icon": "brain",
502
- "label": "Concepts",
503
- "href": "/concepts"
503
+ "label": "Concepts"
504
504
  }
505
505
  ]
506
506
  }
@@ -531,58 +531,39 @@
531
531
  "main",
532
532
  {
533
533
  "type": "dashboard-layout",
534
- "appName": "AI Tutor",
535
- "navItems": [
536
- {
537
- "href": "/teach",
538
- "label": "Teach",
539
- "icon": "book-open"
540
- },
541
- {
542
- "label": "Quiz",
543
- "icon": "help-circle",
544
- "href": "/quiz"
545
- },
546
- {
547
- "href": "/concepts",
548
- "label": "Concepts",
549
- "icon": "brain"
550
- }
551
- ],
552
534
  "children": [
553
535
  {
554
- "direction": "vertical",
555
- "gap": "lg",
536
+ "type": "stack",
556
537
  "children": [
557
538
  {
539
+ "align": "center",
540
+ "justify": "between",
558
541
  "gap": "sm",
542
+ "type": "stack",
543
+ "direction": "horizontal",
559
544
  "children": [
560
545
  {
561
546
  "type": "stack",
562
- "direction": "horizontal",
563
547
  "gap": "sm",
564
- "align": "center",
565
548
  "children": [
566
549
  {
567
- "type": "icon",
568
- "name": "book-open"
550
+ "name": "book-open",
551
+ "type": "icon"
569
552
  },
570
553
  {
571
- "type": "typography",
572
554
  "variant": "h2",
555
+ "type": "typography",
573
556
  "content": "Lesson: @entity.topic"
574
557
  }
575
- ]
558
+ ],
559
+ "direction": "horizontal",
560
+ "align": "center"
576
561
  },
577
562
  {
578
563
  "type": "badge",
579
564
  "label": "@entity.studentLevel"
580
565
  }
581
- ],
582
- "direction": "horizontal",
583
- "type": "stack",
584
- "align": "center",
585
- "justify": "between"
566
+ ]
586
567
  },
587
568
  {
588
569
  "type": "divider"
@@ -590,14 +571,14 @@
590
571
  {
591
572
  "children": [
592
573
  {
593
- "direction": "vertical",
594
574
  "children": [
595
575
  {
576
+ "content": "@entity.explanation",
596
577
  "variant": "body",
597
- "type": "typography",
598
- "content": "@entity.explanation"
578
+ "type": "typography"
599
579
  }
600
580
  ],
581
+ "direction": "vertical",
601
582
  "type": "stack",
602
583
  "gap": "md"
603
584
  }
@@ -606,49 +587,68 @@
606
587
  },
607
588
  {
608
589
  "type": "stack",
609
- "gap": "sm",
610
590
  "direction": "horizontal",
591
+ "gap": "sm",
611
592
  "children": [
612
593
  {
613
- "type": "button",
614
- "icon": "help-circle",
615
- "action": "START_QUIZ",
616
594
  "label": "Quiz Me",
617
- "variant": "primary"
595
+ "icon": "help-circle",
596
+ "variant": "primary",
597
+ "type": "button",
598
+ "action": "START_QUIZ"
618
599
  },
619
600
  {
620
601
  "type": "button",
621
- "label": "Explain More",
622
- "variant": "secondary",
623
602
  "action": "EXPLAIN_MORE",
624
- "icon": "book-open"
603
+ "variant": "secondary",
604
+ "icon": "book-open",
605
+ "label": "Explain More"
625
606
  },
626
607
  {
627
- "label": "New Topic",
628
- "action": "RESET",
629
- "icon": "rotate-ccw",
630
608
  "variant": "ghost",
609
+ "icon": "rotate-ccw",
610
+ "action": "RESET",
611
+ "label": "New Topic",
631
612
  "type": "button"
632
613
  }
633
614
  ]
634
615
  },
635
616
  {
636
- "direction": "horizontal",
637
617
  "children": [
638
618
  {
639
- "label": "@entity.questionsAsked",
640
- "type": "badge"
619
+ "type": "badge",
620
+ "label": "@entity.questionsAsked"
641
621
  },
642
622
  {
643
623
  "type": "badge",
644
624
  "label": "@entity.correctAnswers"
645
625
  }
646
626
  ],
627
+ "gap": "xs",
647
628
  "type": "stack",
648
- "gap": "xs"
629
+ "direction": "horizontal"
649
630
  }
650
631
  ],
651
- "type": "stack"
632
+ "direction": "vertical",
633
+ "gap": "lg"
634
+ }
635
+ ],
636
+ "appName": "AI Tutor",
637
+ "navItems": [
638
+ {
639
+ "icon": "book-open",
640
+ "label": "Teach",
641
+ "href": "/teach"
642
+ },
643
+ {
644
+ "href": "/quiz",
645
+ "label": "Quiz",
646
+ "icon": "help-circle"
647
+ },
648
+ {
649
+ "icon": "brain",
650
+ "href": "/concepts",
651
+ "label": "Concepts"
652
652
  }
653
653
  ]
654
654
  }
@@ -668,127 +668,127 @@
668
668
  "render-ui",
669
669
  "main",
670
670
  {
671
- "type": "dashboard-layout",
671
+ "navItems": [
672
+ {
673
+ "href": "/teach",
674
+ "icon": "book-open",
675
+ "label": "Teach"
676
+ },
677
+ {
678
+ "label": "Quiz",
679
+ "icon": "help-circle",
680
+ "href": "/quiz"
681
+ },
682
+ {
683
+ "icon": "brain",
684
+ "href": "/concepts",
685
+ "label": "Concepts"
686
+ }
687
+ ],
688
+ "appName": "AI Tutor",
672
689
  "children": [
673
690
  {
674
- "type": "stack",
675
691
  "gap": "lg",
692
+ "type": "stack",
676
693
  "direction": "vertical",
677
694
  "children": [
678
695
  {
696
+ "type": "stack",
697
+ "direction": "horizontal",
679
698
  "gap": "sm",
680
699
  "justify": "between",
681
- "direction": "horizontal",
682
- "align": "center",
683
700
  "children": [
684
701
  {
702
+ "align": "center",
685
703
  "children": [
686
704
  {
687
- "name": "book-open",
688
- "type": "icon"
705
+ "type": "icon",
706
+ "name": "book-open"
689
707
  },
690
708
  {
691
709
  "content": "Lesson: @entity.topic",
692
- "type": "typography",
693
- "variant": "h2"
710
+ "variant": "h2",
711
+ "type": "typography"
694
712
  }
695
713
  ],
696
- "align": "center",
697
714
  "direction": "horizontal",
698
- "type": "stack",
699
- "gap": "sm"
715
+ "gap": "sm",
716
+ "type": "stack"
700
717
  },
701
718
  {
702
- "label": "@entity.studentLevel",
703
- "type": "badge"
719
+ "type": "badge",
720
+ "label": "@entity.studentLevel"
704
721
  }
705
722
  ],
706
- "type": "stack"
723
+ "align": "center"
707
724
  },
708
725
  {
709
726
  "type": "divider"
710
727
  },
711
728
  {
729
+ "type": "card",
712
730
  "children": [
713
731
  {
714
- "direction": "vertical",
715
732
  "gap": "md",
716
733
  "type": "stack",
734
+ "direction": "vertical",
717
735
  "children": [
718
736
  {
719
- "variant": "body",
720
737
  "type": "typography",
721
- "content": "@entity.explanation"
738
+ "content": "@entity.explanation",
739
+ "variant": "body"
722
740
  }
723
741
  ]
724
742
  }
725
- ],
726
- "type": "card"
743
+ ]
727
744
  },
728
745
  {
729
- "type": "stack",
730
- "direction": "horizontal",
731
- "gap": "sm",
732
746
  "children": [
733
747
  {
734
748
  "action": "START_QUIZ",
749
+ "label": "Quiz Me",
735
750
  "type": "button",
736
751
  "variant": "primary",
737
- "icon": "help-circle",
738
- "label": "Quiz Me"
752
+ "icon": "help-circle"
739
753
  },
740
754
  {
741
- "type": "button",
755
+ "action": "EXPLAIN_MORE",
742
756
  "label": "Explain More",
743
- "icon": "book-open",
757
+ "type": "button",
744
758
  "variant": "secondary",
745
- "action": "EXPLAIN_MORE"
759
+ "icon": "book-open"
746
760
  },
747
761
  {
748
762
  "label": "New Topic",
749
763
  "action": "RESET",
750
- "variant": "ghost",
764
+ "type": "button",
751
765
  "icon": "rotate-ccw",
752
- "type": "button"
766
+ "variant": "ghost"
753
767
  }
754
- ]
768
+ ],
769
+ "direction": "horizontal",
770
+ "gap": "sm",
771
+ "type": "stack"
755
772
  },
756
773
  {
774
+ "type": "stack",
775
+ "direction": "horizontal",
757
776
  "children": [
758
777
  {
759
- "label": "@entity.questionsAsked",
760
- "type": "badge"
778
+ "type": "badge",
779
+ "label": "@entity.questionsAsked"
761
780
  },
762
781
  {
763
782
  "label": "@entity.correctAnswers",
764
783
  "type": "badge"
765
784
  }
766
785
  ],
767
- "type": "stack",
768
- "gap": "xs",
769
- "direction": "horizontal"
786
+ "gap": "xs"
770
787
  }
771
788
  ]
772
789
  }
773
790
  ],
774
- "appName": "AI Tutor",
775
- "navItems": [
776
- {
777
- "icon": "book-open",
778
- "label": "Teach",
779
- "href": "/teach"
780
- },
781
- {
782
- "label": "Quiz",
783
- "href": "/quiz",
784
- "icon": "help-circle"
785
- },
786
- {
787
- "href": "/concepts",
788
- "label": "Concepts",
789
- "icon": "brain"
790
- }
791
- ]
791
+ "type": "dashboard-layout"
792
792
  }
793
793
  ]
794
794
  ]
@@ -806,40 +806,55 @@
806
806
  "render-ui",
807
807
  "main",
808
808
  {
809
- "type": "dashboard-layout",
809
+ "navItems": [
810
+ {
811
+ "label": "Teach",
812
+ "href": "/teach",
813
+ "icon": "book-open"
814
+ },
815
+ {
816
+ "label": "Quiz",
817
+ "href": "/quiz",
818
+ "icon": "help-circle"
819
+ },
820
+ {
821
+ "icon": "brain",
822
+ "label": "Concepts",
823
+ "href": "/concepts"
824
+ }
825
+ ],
810
826
  "children": [
811
827
  {
812
828
  "gap": "lg",
813
- "type": "stack",
814
829
  "children": [
815
830
  {
831
+ "type": "stack",
832
+ "justify": "between",
816
833
  "direction": "horizontal",
817
834
  "align": "center",
818
835
  "children": [
819
836
  {
820
- "align": "center",
821
- "gap": "sm",
822
837
  "direction": "horizontal",
823
838
  "children": [
824
839
  {
825
- "type": "icon",
826
- "name": "book-open"
840
+ "name": "book-open",
841
+ "type": "icon"
827
842
  },
828
843
  {
829
844
  "variant": "h2",
830
- "content": "Lesson: @entity.topic",
831
- "type": "typography"
845
+ "type": "typography",
846
+ "content": "Lesson: @entity.topic"
832
847
  }
833
848
  ],
834
- "type": "stack"
849
+ "align": "center",
850
+ "type": "stack",
851
+ "gap": "sm"
835
852
  },
836
853
  {
837
854
  "type": "badge",
838
855
  "label": "@entity.studentLevel"
839
856
  }
840
857
  ],
841
- "justify": "between",
842
- "type": "stack",
843
858
  "gap": "sm"
844
859
  },
845
860
  {
@@ -849,13 +864,13 @@
849
864
  "type": "card",
850
865
  "children": [
851
866
  {
852
- "gap": "md",
853
- "direction": "vertical",
854
867
  "type": "stack",
868
+ "direction": "vertical",
869
+ "gap": "md",
855
870
  "children": [
856
871
  {
857
- "variant": "body",
858
872
  "type": "typography",
873
+ "variant": "body",
859
874
  "content": "@entity.explanation"
860
875
  }
861
876
  ]
@@ -863,69 +878,54 @@
863
878
  ]
864
879
  },
865
880
  {
866
- "type": "stack",
867
881
  "direction": "horizontal",
882
+ "gap": "sm",
883
+ "type": "stack",
868
884
  "children": [
869
885
  {
870
886
  "variant": "primary",
871
887
  "icon": "help-circle",
872
888
  "type": "button",
873
- "label": "Quiz Me",
874
- "action": "START_QUIZ"
889
+ "action": "START_QUIZ",
890
+ "label": "Quiz Me"
875
891
  },
876
892
  {
893
+ "label": "Explain More",
877
894
  "icon": "book-open",
878
895
  "action": "EXPLAIN_MORE",
879
- "label": "Explain More",
880
- "type": "button",
881
- "variant": "secondary"
896
+ "variant": "secondary",
897
+ "type": "button"
882
898
  },
883
899
  {
884
- "type": "button",
900
+ "icon": "rotate-ccw",
885
901
  "label": "New Topic",
886
- "variant": "ghost",
887
902
  "action": "RESET",
888
- "icon": "rotate-ccw"
903
+ "variant": "ghost",
904
+ "type": "button"
889
905
  }
890
- ],
891
- "gap": "sm"
906
+ ]
892
907
  },
893
908
  {
894
- "type": "stack",
909
+ "gap": "xs",
895
910
  "children": [
896
911
  {
897
- "type": "badge",
898
- "label": "@entity.questionsAsked"
912
+ "label": "@entity.questionsAsked",
913
+ "type": "badge"
899
914
  },
900
915
  {
901
916
  "label": "@entity.correctAnswers",
902
917
  "type": "badge"
903
918
  }
904
919
  ],
905
- "gap": "xs",
920
+ "type": "stack",
906
921
  "direction": "horizontal"
907
922
  }
908
923
  ],
909
- "direction": "vertical"
910
- }
911
- ],
912
- "navItems": [
913
- {
914
- "label": "Teach",
915
- "href": "/teach",
916
- "icon": "book-open"
917
- },
918
- {
919
- "href": "/quiz",
920
- "label": "Quiz",
921
- "icon": "help-circle"
922
- },
923
- {
924
- "label": "Concepts",
925
- "href": "/concepts",
926
- "icon": "brain"
924
+ "direction": "vertical",
925
+ "type": "stack"
927
926
  }
928
927
  ],
928
+ "type": "dashboard-layout",
929
929
  "appName": "AI Tutor"
930
930
  }
931
931
  ]
@@ -965,10 +965,9 @@
965
965
  "render-ui",
966
966
  "main",
967
967
  {
968
+ "type": "dashboard-layout",
968
969
  "children": [
969
970
  {
970
- "direction": "vertical",
971
- "type": "stack",
972
971
  "children": [
973
972
  {
974
973
  "type": "stack",
@@ -981,9 +980,9 @@
981
980
  "name": "graduation-cap"
982
981
  },
983
982
  {
984
- "type": "typography",
983
+ "variant": "h2",
985
984
  "content": "Tutor",
986
- "variant": "h2"
985
+ "type": "typography"
987
986
  }
988
987
  ]
989
988
  },
@@ -991,37 +990,37 @@
991
990
  "type": "divider"
992
991
  },
993
992
  {
994
- "type": "card",
995
993
  "children": [
996
994
  {
997
- "direction": "vertical",
998
- "type": "stack",
999
- "gap": "md",
1000
995
  "children": [
1001
996
  {
1002
- "content": "What topic would you like to learn about? The tutor will assess your level and guide you through it.",
1003
997
  "variant": "body",
1004
- "type": "typography"
998
+ "type": "typography",
999
+ "content": "What topic would you like to learn about? The tutor will assess your level and guide you through it."
1005
1000
  },
1006
1001
  {
1007
- "mode": "edit",
1008
1002
  "entity": "@entity",
1003
+ "mode": "edit",
1004
+ "submitEvent": "START_SESSION",
1009
1005
  "type": "form-section",
1010
1006
  "fields": [
1011
1007
  "topic"
1012
- ],
1013
- "submitEvent": "START_SESSION"
1008
+ ]
1014
1009
  }
1015
- ]
1010
+ ],
1011
+ "direction": "vertical",
1012
+ "gap": "md",
1013
+ "type": "stack"
1016
1014
  }
1017
- ]
1015
+ ],
1016
+ "type": "card"
1018
1017
  }
1019
1018
  ],
1019
+ "direction": "vertical",
1020
+ "type": "stack",
1020
1021
  "gap": "lg"
1021
1022
  }
1022
1023
  ],
1023
- "appName": "AI Tutor",
1024
- "type": "dashboard-layout",
1025
1024
  "navItems": [
1026
1025
  {
1027
1026
  "href": "/teach",
@@ -1029,8 +1028,8 @@
1029
1028
  "label": "Teach"
1030
1029
  },
1031
1030
  {
1032
- "icon": "help-circle",
1033
1031
  "label": "Quiz",
1032
+ "icon": "help-circle",
1034
1033
  "href": "/quiz"
1035
1034
  },
1036
1035
  {
@@ -1038,7 +1037,8 @@
1038
1037
  "icon": "brain",
1039
1038
  "label": "Concepts"
1040
1039
  }
1041
- ]
1040
+ ],
1041
+ "appName": "AI Tutor"
1042
1042
  }
1043
1043
  ]
1044
1044
  ]
@@ -1247,8 +1247,8 @@
1247
1247
  "QuizQuestion",
1248
1248
  {
1249
1249
  "emit": {
1250
- "failure": "QuizQuestionLoadFailed",
1251
- "success": "QuizQuestionLoaded"
1250
+ "success": "QuizQuestionLoaded",
1251
+ "failure": "QuizQuestionLoadFailed"
1252
1252
  }
1253
1253
  }
1254
1254
  ],
@@ -1256,14 +1256,34 @@
1256
1256
  "render-ui",
1257
1257
  "main",
1258
1258
  {
1259
+ "navItems": [
1260
+ {
1261
+ "icon": "book-open",
1262
+ "href": "/teach",
1263
+ "label": "Teach"
1264
+ },
1265
+ {
1266
+ "href": "/quiz",
1267
+ "icon": "help-circle",
1268
+ "label": "Quiz"
1269
+ },
1270
+ {
1271
+ "label": "Concepts",
1272
+ "href": "/concepts",
1273
+ "icon": "brain"
1274
+ }
1275
+ ],
1276
+ "appName": "AI Tutor",
1259
1277
  "type": "dashboard-layout",
1260
1278
  "children": [
1261
1279
  {
1262
1280
  "gap": "lg",
1281
+ "direction": "vertical",
1282
+ "type": "stack",
1263
1283
  "children": [
1264
1284
  {
1265
- "align": "center",
1266
1285
  "type": "stack",
1286
+ "align": "center",
1267
1287
  "direction": "horizontal",
1268
1288
  "gap": "sm",
1269
1289
  "children": [
@@ -1272,9 +1292,9 @@
1272
1292
  "type": "icon"
1273
1293
  },
1274
1294
  {
1295
+ "type": "typography",
1275
1296
  "content": "Quiz",
1276
- "variant": "h2",
1277
- "type": "typography"
1297
+ "variant": "h2"
1278
1298
  }
1279
1299
  ]
1280
1300
  },
@@ -1282,31 +1302,11 @@
1282
1302
  "type": "divider"
1283
1303
  },
1284
1304
  {
1285
- "type": "typography",
1286
1305
  "variant": "body",
1287
- "content": "Waiting for a quiz to start..."
1306
+ "content": "Waiting for a quiz to start...",
1307
+ "type": "typography"
1288
1308
  }
1289
- ],
1290
- "type": "stack",
1291
- "direction": "vertical"
1292
- }
1293
- ],
1294
- "appName": "AI Tutor",
1295
- "navItems": [
1296
- {
1297
- "label": "Teach",
1298
- "href": "/teach",
1299
- "icon": "book-open"
1300
- },
1301
- {
1302
- "icon": "help-circle",
1303
- "label": "Quiz",
1304
- "href": "/quiz"
1305
- },
1306
- {
1307
- "href": "/concepts",
1308
- "icon": "brain",
1309
- "label": "Concepts"
1309
+ ]
1310
1310
  }
1311
1311
  ]
1312
1312
  }
@@ -1331,40 +1331,25 @@
1331
1331
  "render-ui",
1332
1332
  "main",
1333
1333
  {
1334
- "navItems": [
1335
- {
1336
- "href": "/teach",
1337
- "icon": "book-open",
1338
- "label": "Teach"
1339
- },
1340
- {
1341
- "label": "Quiz",
1342
- "icon": "help-circle",
1343
- "href": "/quiz"
1344
- },
1345
- {
1346
- "icon": "brain",
1347
- "label": "Concepts",
1348
- "href": "/concepts"
1349
- }
1350
- ],
1351
1334
  "children": [
1352
1335
  {
1336
+ "type": "stack",
1337
+ "gap": "lg",
1353
1338
  "children": [
1354
1339
  {
1355
- "gap": "sm",
1356
1340
  "type": "stack",
1357
1341
  "direction": "horizontal",
1342
+ "gap": "sm",
1358
1343
  "align": "center",
1359
1344
  "children": [
1360
1345
  {
1361
- "type": "icon",
1362
- "name": "help-circle"
1346
+ "name": "help-circle",
1347
+ "type": "icon"
1363
1348
  },
1364
1349
  {
1365
- "type": "typography",
1366
1350
  "content": "Quiz Question",
1367
- "variant": "h2"
1351
+ "variant": "h2",
1352
+ "type": "typography"
1368
1353
  }
1369
1354
  ]
1370
1355
  },
@@ -1376,40 +1361,55 @@
1376
1361
  "children": [
1377
1362
  {
1378
1363
  "type": "stack",
1364
+ "direction": "vertical",
1379
1365
  "gap": "md",
1380
1366
  "children": [
1381
1367
  {
1382
- "content": "@entity.question",
1368
+ "type": "typography",
1383
1369
  "variant": "h3",
1384
- "type": "typography"
1370
+ "content": "@entity.question"
1385
1371
  },
1386
1372
  {
1387
1373
  "content": "@entity.options",
1388
- "type": "typography",
1389
- "variant": "body"
1374
+ "variant": "body",
1375
+ "type": "typography"
1390
1376
  },
1391
1377
  {
1378
+ "entity": "@entity",
1392
1379
  "fields": [
1393
1380
  "studentAnswer"
1394
1381
  ],
1395
- "entity": "@entity",
1396
- "submitEvent": "SUBMIT_ANSWER",
1397
1382
  "type": "form-section",
1398
- "mode": "edit"
1383
+ "mode": "edit",
1384
+ "submitEvent": "SUBMIT_ANSWER"
1399
1385
  }
1400
- ],
1401
- "direction": "vertical"
1386
+ ]
1402
1387
  }
1403
1388
  ]
1404
1389
  }
1405
1390
  ],
1406
- "gap": "lg",
1407
- "direction": "vertical",
1408
- "type": "stack"
1391
+ "direction": "vertical"
1409
1392
  }
1410
1393
  ],
1394
+ "appName": "AI Tutor",
1411
1395
  "type": "dashboard-layout",
1412
- "appName": "AI Tutor"
1396
+ "navItems": [
1397
+ {
1398
+ "href": "/teach",
1399
+ "label": "Teach",
1400
+ "icon": "book-open"
1401
+ },
1402
+ {
1403
+ "icon": "help-circle",
1404
+ "href": "/quiz",
1405
+ "label": "Quiz"
1406
+ },
1407
+ {
1408
+ "label": "Concepts",
1409
+ "icon": "brain",
1410
+ "href": "/concepts"
1411
+ }
1412
+ ]
1413
1413
  }
1414
1414
  ]
1415
1415
  ]
@@ -1428,83 +1428,83 @@
1428
1428
  "render-ui",
1429
1429
  "main",
1430
1430
  {
1431
- "navItems": [
1432
- {
1433
- "href": "/teach",
1434
- "icon": "book-open",
1435
- "label": "Teach"
1436
- },
1437
- {
1438
- "href": "/quiz",
1439
- "icon": "help-circle",
1440
- "label": "Quiz"
1441
- },
1442
- {
1443
- "icon": "brain",
1444
- "label": "Concepts",
1445
- "href": "/concepts"
1446
- }
1447
- ],
1448
- "type": "dashboard-layout",
1449
- "appName": "AI Tutor",
1450
1431
  "children": [
1451
1432
  {
1452
- "type": "stack",
1453
1433
  "direction": "vertical",
1454
- "gap": "lg",
1434
+ "type": "stack",
1455
1435
  "children": [
1456
1436
  {
1457
- "direction": "horizontal",
1458
- "gap": "sm",
1459
- "align": "center",
1460
1437
  "type": "stack",
1461
1438
  "children": [
1462
1439
  {
1463
- "type": "icon",
1464
- "name": "help-circle"
1440
+ "name": "help-circle",
1441
+ "type": "icon"
1465
1442
  },
1466
1443
  {
1444
+ "variant": "h2",
1467
1445
  "content": "Quiz Question",
1468
- "type": "typography",
1469
- "variant": "h2"
1446
+ "type": "typography"
1470
1447
  }
1471
- ]
1448
+ ],
1449
+ "gap": "sm",
1450
+ "direction": "horizontal",
1451
+ "align": "center"
1472
1452
  },
1473
1453
  {
1474
1454
  "type": "divider"
1475
1455
  },
1476
1456
  {
1477
- "type": "card",
1478
1457
  "children": [
1479
1458
  {
1480
1459
  "type": "stack",
1460
+ "gap": "md",
1461
+ "direction": "vertical",
1481
1462
  "children": [
1482
1463
  {
1483
- "type": "typography",
1464
+ "variant": "h3",
1484
1465
  "content": "@entity.question",
1485
- "variant": "h3"
1466
+ "type": "typography"
1486
1467
  },
1487
1468
  {
1488
- "type": "typography",
1489
1469
  "content": "@entity.options",
1470
+ "type": "typography",
1490
1471
  "variant": "body"
1491
1472
  },
1492
1473
  {
1493
- "submitEvent": "SUBMIT_ANSWER",
1474
+ "entity": "@entity",
1475
+ "mode": "edit",
1476
+ "type": "form-section",
1494
1477
  "fields": [
1495
1478
  "studentAnswer"
1496
1479
  ],
1497
- "mode": "edit",
1498
- "entity": "@entity",
1499
- "type": "form-section"
1480
+ "submitEvent": "SUBMIT_ANSWER"
1500
1481
  }
1501
- ],
1502
- "direction": "vertical",
1503
- "gap": "md"
1482
+ ]
1504
1483
  }
1505
- ]
1484
+ ],
1485
+ "type": "card"
1506
1486
  }
1507
- ]
1487
+ ],
1488
+ "gap": "lg"
1489
+ }
1490
+ ],
1491
+ "type": "dashboard-layout",
1492
+ "appName": "AI Tutor",
1493
+ "navItems": [
1494
+ {
1495
+ "icon": "book-open",
1496
+ "label": "Teach",
1497
+ "href": "/teach"
1498
+ },
1499
+ {
1500
+ "label": "Quiz",
1501
+ "href": "/quiz",
1502
+ "icon": "help-circle"
1503
+ },
1504
+ {
1505
+ "label": "Concepts",
1506
+ "icon": "brain",
1507
+ "href": "/concepts"
1508
1508
  }
1509
1509
  ]
1510
1510
  }
@@ -1551,45 +1551,46 @@
1551
1551
  },
1552
1552
  {
1553
1553
  "href": "/concepts",
1554
- "icon": "brain",
1555
- "label": "Concepts"
1554
+ "label": "Concepts",
1555
+ "icon": "brain"
1556
1556
  }
1557
1557
  ],
1558
- "type": "dashboard-layout",
1559
1558
  "children": [
1560
1559
  {
1561
1560
  "type": "stack",
1561
+ "gap": "lg",
1562
1562
  "direction": "vertical",
1563
1563
  "children": [
1564
1564
  {
1565
- "align": "center",
1566
- "gap": "sm",
1565
+ "direction": "horizontal",
1567
1566
  "type": "stack",
1567
+ "gap": "sm",
1568
+ "align": "center",
1568
1569
  "children": [
1569
1570
  {
1570
- "type": "icon",
1571
- "name": "check-circle"
1571
+ "name": "check-circle",
1572
+ "type": "icon"
1572
1573
  },
1573
1574
  {
1574
1575
  "content": "Answer Review",
1575
1576
  "variant": "h2",
1576
1577
  "type": "typography"
1577
1578
  }
1578
- ],
1579
- "direction": "horizontal"
1579
+ ]
1580
1580
  },
1581
1581
  {
1582
1582
  "type": "divider"
1583
1583
  },
1584
1584
  {
1585
- "type": "card",
1586
1585
  "children": [
1587
1586
  {
1587
+ "type": "stack",
1588
1588
  "direction": "vertical",
1589
+ "gap": "md",
1589
1590
  "children": [
1590
1591
  {
1591
- "type": "stack",
1592
1592
  "gap": "sm",
1593
+ "type": "stack",
1593
1594
  "direction": "horizontal",
1594
1595
  "children": [
1595
1596
  {
@@ -1604,47 +1605,46 @@
1604
1605
  "type": "typography"
1605
1606
  },
1606
1607
  {
1608
+ "content": "Correct answer",
1607
1609
  "variant": "caption",
1608
- "type": "typography",
1609
- "content": "Correct answer"
1610
+ "type": "typography"
1610
1611
  },
1611
1612
  {
1612
- "type": "typography",
1613
+ "content": "@entity.correctAnswer",
1613
1614
  "variant": "body",
1614
- "content": "@entity.correctAnswer"
1615
+ "type": "typography"
1615
1616
  }
1616
- ],
1617
- "type": "stack",
1618
- "gap": "md"
1617
+ ]
1619
1618
  }
1620
- ]
1619
+ ],
1620
+ "type": "card"
1621
1621
  },
1622
1622
  {
1623
+ "direction": "horizontal",
1624
+ "gap": "sm",
1623
1625
  "type": "stack",
1624
1626
  "children": [
1625
1627
  {
1626
- "icon": "arrow-right",
1627
1628
  "type": "button",
1628
1629
  "label": "Next Question",
1629
- "variant": "primary",
1630
- "action": "NEXT_QUESTION"
1630
+ "icon": "arrow-right",
1631
+ "action": "NEXT_QUESTION",
1632
+ "variant": "primary"
1631
1633
  },
1632
1634
  {
1635
+ "type": "button",
1633
1636
  "action": "BACK_TO_LESSON",
1634
- "icon": "book-open",
1635
- "label": "Back to Lesson",
1636
1637
  "variant": "ghost",
1637
- "type": "button"
1638
+ "label": "Back to Lesson",
1639
+ "icon": "book-open"
1638
1640
  }
1639
- ],
1640
- "direction": "horizontal",
1641
- "gap": "sm"
1641
+ ]
1642
1642
  }
1643
- ],
1644
- "gap": "lg"
1643
+ ]
1645
1644
  }
1646
1645
  ],
1647
- "appName": "AI Tutor"
1646
+ "appName": "AI Tutor",
1647
+ "type": "dashboard-layout"
1648
1648
  }
1649
1649
  ]
1650
1650
  ]
@@ -1679,43 +1679,42 @@
1679
1679
  {
1680
1680
  "navItems": [
1681
1681
  {
1682
- "href": "/teach",
1683
1682
  "icon": "book-open",
1683
+ "href": "/teach",
1684
1684
  "label": "Teach"
1685
1685
  },
1686
1686
  {
1687
- "icon": "help-circle",
1687
+ "label": "Quiz",
1688
1688
  "href": "/quiz",
1689
- "label": "Quiz"
1689
+ "icon": "help-circle"
1690
1690
  },
1691
1691
  {
1692
- "href": "/concepts",
1692
+ "label": "Concepts",
1693
1693
  "icon": "brain",
1694
- "label": "Concepts"
1694
+ "href": "/concepts"
1695
1695
  }
1696
1696
  ],
1697
1697
  "type": "dashboard-layout",
1698
1698
  "appName": "AI Tutor",
1699
1699
  "children": [
1700
1700
  {
1701
- "direction": "vertical",
1702
1701
  "children": [
1703
1702
  {
1704
- "gap": "sm",
1705
- "align": "center",
1706
1703
  "type": "stack",
1707
- "direction": "horizontal",
1708
1704
  "children": [
1709
1705
  {
1710
- "type": "icon",
1711
- "name": "help-circle"
1706
+ "name": "help-circle",
1707
+ "type": "icon"
1712
1708
  },
1713
1709
  {
1714
- "content": "Quiz Question",
1710
+ "variant": "h2",
1715
1711
  "type": "typography",
1716
- "variant": "h2"
1712
+ "content": "Quiz Question"
1717
1713
  }
1718
- ]
1714
+ ],
1715
+ "align": "center",
1716
+ "direction": "horizontal",
1717
+ "gap": "sm"
1719
1718
  },
1720
1719
  {
1721
1720
  "type": "divider"
@@ -1727,33 +1726,34 @@
1727
1726
  "direction": "vertical",
1728
1727
  "children": [
1729
1728
  {
1730
- "type": "typography",
1731
1729
  "variant": "h3",
1730
+ "type": "typography",
1732
1731
  "content": "@entity.question"
1733
1732
  },
1734
1733
  {
1735
- "content": "@entity.options",
1734
+ "type": "typography",
1736
1735
  "variant": "body",
1737
- "type": "typography"
1736
+ "content": "@entity.options"
1738
1737
  },
1739
1738
  {
1740
- "entity": "@entity",
1741
- "submitEvent": "SUBMIT_ANSWER",
1742
1739
  "fields": [
1743
1740
  "studentAnswer"
1744
1741
  ],
1745
1742
  "mode": "edit",
1743
+ "entity": "@entity",
1744
+ "submitEvent": "SUBMIT_ANSWER",
1746
1745
  "type": "form-section"
1747
1746
  }
1748
1747
  ],
1749
- "type": "stack",
1750
- "gap": "md"
1748
+ "gap": "md",
1749
+ "type": "stack"
1751
1750
  }
1752
1751
  ]
1753
1752
  }
1754
1753
  ],
1754
+ "gap": "lg",
1755
1755
  "type": "stack",
1756
- "gap": "lg"
1756
+ "direction": "vertical"
1757
1757
  }
1758
1758
  ]
1759
1759
  }
@@ -1774,58 +1774,58 @@
1774
1774
  "render-ui",
1775
1775
  "main",
1776
1776
  {
1777
- "navItems": [
1778
- {
1779
- "href": "/teach",
1780
- "icon": "book-open",
1781
- "label": "Teach"
1782
- },
1783
- {
1784
- "label": "Quiz",
1785
- "href": "/quiz",
1786
- "icon": "help-circle"
1787
- },
1788
- {
1789
- "label": "Concepts",
1790
- "href": "/concepts",
1791
- "icon": "brain"
1792
- }
1793
- ],
1794
1777
  "type": "dashboard-layout",
1795
- "appName": "AI Tutor",
1796
1778
  "children": [
1797
1779
  {
1798
- "direction": "vertical",
1799
- "gap": "lg",
1800
1780
  "type": "stack",
1781
+ "gap": "lg",
1782
+ "direction": "vertical",
1801
1783
  "children": [
1802
1784
  {
1803
- "align": "center",
1804
1785
  "gap": "sm",
1805
- "direction": "horizontal",
1786
+ "align": "center",
1806
1787
  "children": [
1807
1788
  {
1808
- "name": "help-circle",
1809
- "type": "icon"
1789
+ "type": "icon",
1790
+ "name": "help-circle"
1810
1791
  },
1811
1792
  {
1812
- "variant": "h2",
1813
1793
  "content": "Quiz",
1794
+ "variant": "h2",
1814
1795
  "type": "typography"
1815
1796
  }
1816
1797
  ],
1798
+ "direction": "horizontal",
1817
1799
  "type": "stack"
1818
1800
  },
1819
1801
  {
1820
1802
  "type": "divider"
1821
1803
  },
1822
1804
  {
1823
- "type": "typography",
1824
1805
  "variant": "body",
1806
+ "type": "typography",
1825
1807
  "content": "Waiting for a quiz to start..."
1826
1808
  }
1827
1809
  ]
1828
1810
  }
1811
+ ],
1812
+ "appName": "AI Tutor",
1813
+ "navItems": [
1814
+ {
1815
+ "icon": "book-open",
1816
+ "label": "Teach",
1817
+ "href": "/teach"
1818
+ },
1819
+ {
1820
+ "href": "/quiz",
1821
+ "icon": "help-circle",
1822
+ "label": "Quiz"
1823
+ },
1824
+ {
1825
+ "href": "/concepts",
1826
+ "label": "Concepts",
1827
+ "icon": "brain"
1828
+ }
1829
1829
  ]
1830
1830
  }
1831
1831
  ]
@@ -2077,9 +2077,9 @@
2077
2077
  "render-ui",
2078
2078
  "main",
2079
2079
  {
2080
- "direction": "vertical",
2081
- "gap": "md",
2082
2080
  "className": "py-12",
2081
+ "direction": "vertical",
2082
+ "type": "stack",
2083
2083
  "children": [
2084
2084
  {
2085
2085
  "type": "spinner"
@@ -2087,11 +2087,11 @@
2087
2087
  {
2088
2088
  "color": "muted",
2089
2089
  "variant": "caption",
2090
- "type": "typography",
2091
- "content": "Loading…"
2090
+ "content": "Loading…",
2091
+ "type": "typography"
2092
2092
  }
2093
2093
  ],
2094
- "type": "stack",
2094
+ "gap": "md",
2095
2095
  "align": "center"
2096
2096
  }
2097
2097
  ]
@@ -2106,77 +2106,56 @@
2106
2106
  "render-ui",
2107
2107
  "main",
2108
2108
  {
2109
- "appName": "AI Tutor",
2110
- "navItems": [
2111
- {
2112
- "label": "Teach",
2113
- "href": "/teach",
2114
- "icon": "book-open"
2115
- },
2116
- {
2117
- "icon": "help-circle",
2118
- "label": "Quiz",
2119
- "href": "/quiz"
2120
- },
2121
- {
2122
- "icon": "brain",
2123
- "label": "Concepts",
2124
- "href": "/concepts"
2125
- }
2126
- ],
2109
+ "type": "dashboard-layout",
2127
2110
  "children": [
2128
2111
  {
2129
- "type": "stack",
2130
- "direction": "vertical",
2131
2112
  "children": [
2132
2113
  {
2133
- "type": "stack",
2114
+ "direction": "horizontal",
2134
2115
  "children": [
2135
2116
  {
2117
+ "gap": "sm",
2136
2118
  "type": "stack",
2137
- "direction": "horizontal",
2138
2119
  "children": [
2139
2120
  {
2140
- "type": "icon",
2141
- "name": "message-circle"
2121
+ "name": "message-circle",
2122
+ "type": "icon"
2142
2123
  },
2143
2124
  {
2144
- "type": "typography",
2145
2125
  "variant": "h2",
2146
- "content": "TutorChat Thread"
2126
+ "content": "TutorChat Thread",
2127
+ "type": "typography"
2147
2128
  }
2148
2129
  ],
2149
- "gap": "sm",
2150
- "align": "center"
2130
+ "align": "center",
2131
+ "direction": "horizontal"
2151
2132
  },
2152
2133
  {
2153
- "type": "button",
2154
- "label": "New Message",
2155
2134
  "variant": "primary",
2156
- "icon": "plus",
2157
- "action": "COMPOSE"
2135
+ "action": "COMPOSE",
2136
+ "label": "New Message",
2137
+ "type": "button",
2138
+ "icon": "plus"
2158
2139
  }
2159
2140
  ],
2160
- "justify": "between",
2161
- "direction": "horizontal",
2141
+ "type": "stack",
2162
2142
  "align": "center",
2143
+ "justify": "between",
2163
2144
  "gap": "sm"
2164
2145
  },
2165
2146
  {
2166
2147
  "type": "divider"
2167
2148
  },
2168
2149
  {
2169
- "entity": "@payload.data",
2170
- "fields": [],
2171
2150
  "renderItem": [
2172
2151
  "fn",
2173
2152
  "item",
2174
2153
  {
2175
- "type": "stack",
2176
- "gap": "xs",
2177
2154
  "children": [
2178
2155
  {
2179
2156
  "type": "stack",
2157
+ "gap": "sm",
2158
+ "align": "center",
2180
2159
  "children": [
2181
2160
  {
2182
2161
  "type": "badge",
@@ -2184,36 +2163,57 @@
2184
2163
  },
2185
2164
  {
2186
2165
  "label": "@item.status",
2187
- "type": "badge",
2188
- "variant": "outline"
2166
+ "variant": "outline",
2167
+ "type": "badge"
2189
2168
  },
2190
2169
  {
2191
- "type": "typography",
2192
2170
  "color": "muted",
2171
+ "type": "typography",
2193
2172
  "content": "@item.timestamp",
2194
2173
  "variant": "caption"
2195
2174
  }
2196
2175
  ],
2197
- "direction": "horizontal",
2198
- "align": "center",
2199
- "gap": "sm"
2176
+ "direction": "horizontal"
2200
2177
  },
2201
2178
  {
2179
+ "type": "typography",
2202
2180
  "content": "@item.content",
2203
- "variant": "body",
2204
- "type": "typography"
2181
+ "variant": "body"
2205
2182
  }
2206
2183
  ],
2207
- "direction": "vertical"
2184
+ "direction": "vertical",
2185
+ "type": "stack",
2186
+ "gap": "xs"
2208
2187
  }
2209
2188
  ],
2210
- "type": "data-list"
2189
+ "entity": "@payload.data",
2190
+ "type": "data-list",
2191
+ "fields": []
2211
2192
  }
2212
2193
  ],
2213
- "gap": "lg"
2194
+ "gap": "lg",
2195
+ "type": "stack",
2196
+ "direction": "vertical"
2214
2197
  }
2215
2198
  ],
2216
- "type": "dashboard-layout"
2199
+ "appName": "AI Tutor",
2200
+ "navItems": [
2201
+ {
2202
+ "label": "Teach",
2203
+ "icon": "book-open",
2204
+ "href": "/teach"
2205
+ },
2206
+ {
2207
+ "href": "/quiz",
2208
+ "icon": "help-circle",
2209
+ "label": "Quiz"
2210
+ },
2211
+ {
2212
+ "href": "/concepts",
2213
+ "icon": "brain",
2214
+ "label": "Concepts"
2215
+ }
2216
+ ]
2217
2217
  }
2218
2218
  ]
2219
2219
  ]
@@ -2230,32 +2230,32 @@
2230
2230
  "direction": "vertical",
2231
2231
  "gap": "md",
2232
2232
  "align": "center",
2233
- "className": "py-12",
2234
2233
  "children": [
2235
2234
  {
2236
- "name": "alert-triangle",
2237
2235
  "color": "destructive",
2238
- "type": "icon"
2236
+ "type": "icon",
2237
+ "name": "alert-triangle"
2239
2238
  },
2240
2239
  {
2240
+ "type": "typography",
2241
2241
  "variant": "h3",
2242
- "content": "Failed to load tutorchat",
2243
- "type": "typography"
2242
+ "content": "Failed to load tutorchat"
2244
2243
  },
2245
2244
  {
2246
- "content": "@payload.error",
2247
2245
  "color": "muted",
2248
- "type": "typography",
2249
- "variant": "body"
2246
+ "content": "@payload.error",
2247
+ "variant": "body",
2248
+ "type": "typography"
2250
2249
  },
2251
2250
  {
2252
- "variant": "primary",
2253
- "action": "INIT",
2251
+ "icon": "rotate-ccw",
2254
2252
  "type": "button",
2255
2253
  "label": "Retry",
2256
- "icon": "rotate-ccw"
2254
+ "action": "INIT",
2255
+ "variant": "primary"
2257
2256
  }
2258
2257
  ],
2258
+ "className": "py-12",
2259
2259
  "type": "stack"
2260
2260
  }
2261
2261
  ]
@@ -2270,40 +2270,40 @@
2270
2270
  "render-ui",
2271
2271
  "main",
2272
2272
  {
2273
- "gap": "lg",
2273
+ "direction": "vertical",
2274
2274
  "children": [
2275
2275
  {
2276
- "gap": "sm",
2277
2276
  "type": "stack",
2278
- "direction": "horizontal",
2279
- "align": "center",
2280
2277
  "children": [
2281
2278
  {
2282
2279
  "type": "icon",
2283
2280
  "name": "message-circle"
2284
2281
  },
2285
2282
  {
2286
- "content": "TutorChat Thread",
2283
+ "type": "typography",
2287
2284
  "variant": "h2",
2288
- "type": "typography"
2285
+ "content": "TutorChat Thread"
2289
2286
  }
2290
- ]
2287
+ ],
2288
+ "gap": "sm",
2289
+ "align": "center",
2290
+ "direction": "horizontal"
2291
2291
  },
2292
2292
  {
2293
2293
  "type": "divider"
2294
2294
  },
2295
2295
  {
2296
- "submitEvent": "SEND",
2297
- "mode": "create",
2298
2296
  "type": "form-section",
2299
- "cancelEvent": "CANCEL_COMPOSE",
2300
2297
  "fields": [
2301
2298
  "content"
2302
- ]
2299
+ ],
2300
+ "mode": "create",
2301
+ "cancelEvent": "CANCEL_COMPOSE",
2302
+ "submitEvent": "SEND"
2303
2303
  }
2304
2304
  ],
2305
2305
  "type": "stack",
2306
- "direction": "vertical"
2306
+ "gap": "lg"
2307
2307
  }
2308
2308
  ]
2309
2309
  ]
@@ -2329,8 +2329,8 @@
2329
2329
  "TutorChat",
2330
2330
  {
2331
2331
  "emit": {
2332
- "failure": "TutorChatLoadFailed",
2333
- "success": "TutorChatLoaded"
2332
+ "success": "TutorChatLoaded",
2333
+ "failure": "TutorChatLoadFailed"
2334
2334
  }
2335
2335
  }
2336
2336
  ],
@@ -2353,23 +2353,24 @@
2353
2353
  "create",
2354
2354
  "TutorChat",
2355
2355
  {
2356
- "timestamp": "@now",
2357
2356
  "content": "@payload.content",
2358
2357
  "status": "sent",
2358
+ "timestamp": "@now",
2359
2359
  "role": "user"
2360
+ },
2361
+ {
2362
+ "emit": {
2363
+ "success": "SEND_MESSAGE"
2364
+ }
2360
2365
  }
2361
2366
  ],
2362
- [
2363
- "emit",
2364
- "SEND_MESSAGE"
2365
- ],
2366
2367
  [
2367
2368
  "fetch",
2368
2369
  "TutorChat",
2369
2370
  {
2370
2371
  "emit": {
2371
- "success": "TutorChatLoaded",
2372
- "failure": "TutorChatLoadFailed"
2372
+ "failure": "TutorChatLoadFailed",
2373
+ "success": "TutorChatLoaded"
2373
2374
  }
2374
2375
  }
2375
2376
  ],
@@ -2392,8 +2393,8 @@
2392
2393
  "TutorChat",
2393
2394
  {
2394
2395
  "emit": {
2395
- "success": "TutorChatLoaded",
2396
- "failure": "TutorChatLoadFailed"
2396
+ "failure": "TutorChatLoadFailed",
2397
+ "success": "TutorChatLoaded"
2397
2398
  }
2398
2399
  }
2399
2400
  ],
@@ -2567,8 +2568,8 @@
2567
2568
  "TutorChat",
2568
2569
  {
2569
2570
  "emit": {
2570
- "failure": "TutorChatLoadFailed",
2571
- "success": "TutorChatLoaded"
2571
+ "success": "TutorChatLoaded",
2572
+ "failure": "TutorChatLoadFailed"
2572
2573
  }
2573
2574
  }
2574
2575
  ],
@@ -2576,31 +2577,31 @@
2576
2577
  "render-ui",
2577
2578
  "main",
2578
2579
  {
2579
- "type": "dashboard-layout",
2580
2580
  "navItems": [
2581
2581
  {
2582
- "href": "/teach",
2582
+ "icon": "book-open",
2583
2583
  "label": "Teach",
2584
- "icon": "book-open"
2584
+ "href": "/teach"
2585
2585
  },
2586
2586
  {
2587
- "href": "/quiz",
2587
+ "label": "Quiz",
2588
2588
  "icon": "help-circle",
2589
- "label": "Quiz"
2589
+ "href": "/quiz"
2590
2590
  },
2591
2591
  {
2592
- "icon": "brain",
2593
2592
  "href": "/concepts",
2594
- "label": "Concepts"
2593
+ "label": "Concepts",
2594
+ "icon": "brain"
2595
2595
  }
2596
2596
  ],
2597
+ "type": "dashboard-layout",
2597
2598
  "appName": "AI Tutor",
2598
2599
  "children": [
2599
2600
  {
2600
2601
  "icon": "message-circle",
2601
2602
  "description": "Conversation is ready",
2602
- "type": "empty-state",
2603
- "title": "Conversation"
2603
+ "title": "Conversation",
2604
+ "type": "empty-state"
2604
2605
  }
2605
2606
  ]
2606
2607
  }
@@ -2911,8 +2912,8 @@
2911
2912
  "Concept",
2912
2913
  {
2913
2914
  "emit": {
2914
- "failure": "ConceptLoadFailed",
2915
- "success": "ConceptLoaded"
2915
+ "success": "ConceptLoaded",
2916
+ "failure": "ConceptLoadFailed"
2916
2917
  }
2917
2918
  }
2918
2919
  ],
@@ -2920,21 +2921,21 @@
2920
2921
  "render-ui",
2921
2922
  "main",
2922
2923
  {
2923
- "direction": "vertical",
2924
2924
  "gap": "md",
2925
2925
  "children": [
2926
2926
  {
2927
2927
  "type": "spinner"
2928
2928
  },
2929
2929
  {
2930
- "content": "Loading…",
2931
2930
  "variant": "caption",
2932
2931
  "color": "muted",
2932
+ "content": "Loading…",
2933
2933
  "type": "typography"
2934
2934
  }
2935
2935
  ],
2936
- "type": "stack",
2937
2936
  "className": "py-12",
2937
+ "direction": "vertical",
2938
+ "type": "stack",
2938
2939
  "align": "center"
2939
2940
  }
2940
2941
  ]
@@ -2949,19 +2950,18 @@
2949
2950
  "render-ui",
2950
2951
  "main",
2951
2952
  {
2952
- "type": "dashboard-layout",
2953
- "appName": "AI Tutor",
2954
2953
  "children": [
2955
2954
  {
2956
- "type": "stack",
2957
2955
  "children": [
2958
2956
  {
2959
- "gap": "md",
2957
+ "align": "center",
2958
+ "justify": "between",
2960
2959
  "children": [
2961
2960
  {
2961
+ "direction": "horizontal",
2962
+ "type": "stack",
2962
2963
  "gap": "sm",
2963
2964
  "align": "center",
2964
- "type": "stack",
2965
2965
  "children": [
2966
2966
  {
2967
2967
  "name": "brain",
@@ -2972,122 +2972,123 @@
2972
2972
  "content": "Concept Manager",
2973
2973
  "variant": "h2"
2974
2974
  }
2975
- ],
2976
- "direction": "horizontal"
2975
+ ]
2977
2976
  },
2978
2977
  {
2979
2978
  "type": "stack",
2979
+ "gap": "sm",
2980
2980
  "direction": "horizontal",
2981
2981
  "children": [
2982
2982
  {
2983
- "variant": "primary",
2984
- "type": "button",
2985
2983
  "label": "Memorize",
2984
+ "variant": "primary",
2985
+ "icon": "plus",
2986
2986
  "action": "MEMORIZE",
2987
- "icon": "plus"
2987
+ "type": "button"
2988
2988
  },
2989
2989
  {
2990
- "variant": "secondary",
2991
- "icon": "search",
2992
- "label": "Recall",
2993
2990
  "action": "RECALL",
2994
- "type": "button"
2991
+ "type": "button",
2992
+ "icon": "search",
2993
+ "variant": "secondary",
2994
+ "label": "Recall"
2995
2995
  },
2996
2996
  {
2997
- "type": "button",
2998
2997
  "icon": "clock",
2999
- "action": "DECAY",
2998
+ "type": "button",
3000
2999
  "label": "Decay All",
3000
+ "action": "DECAY",
3001
3001
  "variant": "ghost"
3002
3002
  }
3003
- ],
3004
- "gap": "sm"
3003
+ ]
3005
3004
  }
3006
3005
  ],
3007
- "justify": "between",
3008
- "type": "stack",
3006
+ "gap": "md",
3009
3007
  "direction": "horizontal",
3010
- "align": "center"
3008
+ "type": "stack"
3011
3009
  },
3012
3010
  {
3013
3011
  "type": "divider"
3014
3012
  },
3015
3013
  {
3016
- "type": "data-grid",
3017
- "entity": "@payload.data",
3018
- "fields": [],
3019
3014
  "itemActions": [
3020
3015
  {
3016
+ "variant": "ghost",
3021
3017
  "label": "Pin",
3022
- "event": "PIN",
3023
- "variant": "ghost"
3018
+ "event": "PIN"
3024
3019
  },
3025
3020
  {
3026
3021
  "variant": "ghost",
3027
- "event": "REINFORCE",
3028
- "label": "Reinforce"
3022
+ "label": "Reinforce",
3023
+ "event": "REINFORCE"
3029
3024
  },
3030
3025
  {
3026
+ "variant": "danger",
3031
3027
  "label": "Forget",
3032
- "event": "FORGET",
3033
- "variant": "danger"
3028
+ "event": "FORGET"
3034
3029
  }
3035
3030
  ],
3031
+ "entity": "@payload.data",
3032
+ "type": "data-grid",
3033
+ "fields": [],
3036
3034
  "columns": [
3037
3035
  {
3038
3036
  "variant": "h4",
3039
3037
  "name": "content",
3040
- "label": "Content",
3041
- "icon": "brain"
3038
+ "icon": "brain",
3039
+ "label": "Content"
3042
3040
  },
3043
3041
  {
3044
3042
  "name": "category",
3045
3043
  "variant": "badge",
3046
- "label": "Category",
3047
3044
  "colorMap": {
3048
- "failed": "destructive",
3049
- "active": "success",
3050
3045
  "pending": "warning",
3051
- "error": "destructive",
3052
- "done": "success",
3053
- "cancelled": "destructive",
3054
- "scheduled": "warning",
3055
3046
  "completed": "success",
3056
3047
  "archived": "neutral",
3048
+ "cancelled": "destructive",
3049
+ "done": "success",
3057
3050
  "inactive": "neutral",
3058
- "draft": "warning"
3059
- }
3051
+ "scheduled": "warning",
3052
+ "active": "success",
3053
+ "draft": "warning",
3054
+ "error": "destructive",
3055
+ "failed": "destructive"
3056
+ },
3057
+ "label": "Category"
3060
3058
  },
3061
3059
  {
3062
- "name": "strength",
3063
3060
  "label": "Strength",
3064
- "variant": "caption"
3061
+ "variant": "caption",
3062
+ "name": "strength"
3065
3063
  }
3066
3064
  ]
3067
3065
  }
3068
3066
  ],
3069
- "className": "max-w-5xl mx-auto w-full",
3070
3067
  "direction": "vertical",
3071
- "gap": "lg"
3068
+ "type": "stack",
3069
+ "gap": "lg",
3070
+ "className": "max-w-5xl mx-auto w-full"
3072
3071
  }
3073
3072
  ],
3073
+ "appName": "AI Tutor",
3074
3074
  "navItems": [
3075
3075
  {
3076
3076
  "label": "Teach",
3077
- "href": "/teach",
3078
- "icon": "book-open"
3077
+ "icon": "book-open",
3078
+ "href": "/teach"
3079
3079
  },
3080
3080
  {
3081
- "label": "Quiz",
3082
3081
  "icon": "help-circle",
3083
- "href": "/quiz"
3082
+ "href": "/quiz",
3083
+ "label": "Quiz"
3084
3084
  },
3085
3085
  {
3086
- "label": "Concepts",
3087
3086
  "href": "/concepts",
3088
- "icon": "brain"
3087
+ "icon": "brain",
3088
+ "label": "Concepts"
3089
3089
  }
3090
- ]
3090
+ ],
3091
+ "type": "dashboard-layout"
3091
3092
  }
3092
3093
  ]
3093
3094
  ]
@@ -3101,10 +3102,15 @@
3101
3102
  "render-ui",
3102
3103
  "main",
3103
3104
  {
3105
+ "type": "stack",
3106
+ "className": "py-12",
3107
+ "align": "center",
3108
+ "direction": "vertical",
3109
+ "gap": "md",
3104
3110
  "children": [
3105
3111
  {
3106
- "color": "destructive",
3107
3112
  "type": "icon",
3113
+ "color": "destructive",
3108
3114
  "name": "alert-triangle"
3109
3115
  },
3110
3116
  {
@@ -3113,24 +3119,19 @@
3113
3119
  "variant": "h3"
3114
3120
  },
3115
3121
  {
3116
- "type": "typography",
3117
3122
  "variant": "body",
3123
+ "content": "@payload.error",
3118
3124
  "color": "muted",
3119
- "content": "@payload.error"
3125
+ "type": "typography"
3120
3126
  },
3121
3127
  {
3122
3128
  "icon": "rotate-ccw",
3123
- "type": "button",
3124
3129
  "label": "Retry",
3125
3130
  "action": "INIT",
3131
+ "type": "button",
3126
3132
  "variant": "primary"
3127
3133
  }
3128
- ],
3129
- "gap": "md",
3130
- "direction": "vertical",
3131
- "align": "center",
3132
- "className": "py-12",
3133
- "type": "stack"
3134
+ ]
3134
3135
  }
3135
3136
  ]
3136
3137
  ]
@@ -3291,8 +3292,14 @@
3291
3292
  "event": "INIT",
3292
3293
  "effects": [
3293
3294
  [
3294
- "ref",
3295
- "Concept"
3295
+ "fetch",
3296
+ "Concept",
3297
+ {
3298
+ "emit": {
3299
+ "success": "ConceptLoaded",
3300
+ "failure": "ConceptLoadFailed"
3301
+ }
3302
+ }
3296
3303
  ]
3297
3304
  ]
3298
3305
  },
@@ -3305,11 +3312,12 @@
3305
3312
  "render-ui",
3306
3313
  "modal",
3307
3314
  {
3315
+ "direction": "vertical",
3308
3316
  "type": "stack",
3317
+ "gap": "md",
3309
3318
  "children": [
3310
3319
  {
3311
3320
  "direction": "horizontal",
3312
- "type": "stack",
3313
3321
  "gap": "sm",
3314
3322
  "children": [
3315
3323
  {
@@ -3317,29 +3325,28 @@
3317
3325
  "name": "plus-circle"
3318
3326
  },
3319
3327
  {
3328
+ "variant": "h3",
3320
3329
  "type": "typography",
3321
- "content": "Memorize",
3322
- "variant": "h3"
3330
+ "content": "Memorize"
3323
3331
  }
3324
- ]
3332
+ ],
3333
+ "type": "stack"
3325
3334
  },
3326
3335
  {
3327
3336
  "type": "divider"
3328
3337
  },
3329
3338
  {
3330
- "cancelEvent": "CLOSE",
3331
- "mode": "create",
3332
3339
  "fields": [
3333
3340
  "content",
3334
3341
  "category",
3335
3342
  "scope"
3336
3343
  ],
3337
- "submitEvent": "SAVE",
3338
- "type": "form-section"
3344
+ "cancelEvent": "CLOSE",
3345
+ "type": "form-section",
3346
+ "mode": "create",
3347
+ "submitEvent": "SAVE"
3339
3348
  }
3340
- ],
3341
- "gap": "md",
3342
- "direction": "vertical"
3349
+ ]
3343
3350
  }
3344
3351
  ]
3345
3352
  ]
@@ -3670,33 +3677,33 @@
3670
3677
  "render-ui",
3671
3678
  "main",
3672
3679
  {
3673
- "appName": "AI Tutor",
3680
+ "type": "dashboard-layout",
3674
3681
  "children": [
3675
3682
  {
3676
- "type": "empty-state",
3677
- "description": "Memory is ready",
3683
+ "icon": "brain",
3678
3684
  "title": "Memory",
3679
- "icon": "brain"
3685
+ "type": "empty-state",
3686
+ "description": "Memory is ready"
3680
3687
  }
3681
3688
  ],
3682
- "type": "dashboard-layout",
3683
3689
  "navItems": [
3684
3690
  {
3685
- "icon": "book-open",
3686
3691
  "label": "Teach",
3687
- "href": "/teach"
3692
+ "href": "/teach",
3693
+ "icon": "book-open"
3688
3694
  },
3689
3695
  {
3690
- "label": "Quiz",
3691
3696
  "href": "/quiz",
3692
- "icon": "help-circle"
3697
+ "icon": "help-circle",
3698
+ "label": "Quiz"
3693
3699
  },
3694
3700
  {
3701
+ "label": "Concepts",
3695
3702
  "icon": "brain",
3696
- "href": "/concepts",
3697
- "label": "Concepts"
3703
+ "href": "/concepts"
3698
3704
  }
3699
- ]
3705
+ ],
3706
+ "appName": "AI Tutor"
3700
3707
  }
3701
3708
  ]
3702
3709
  ]
@@ -4051,47 +4058,57 @@
4051
4058
  "event": "INIT",
4052
4059
  "effects": [
4053
4060
  [
4054
- "ref",
4055
- "StudentAssessment"
4061
+ "fetch",
4062
+ "StudentAssessment",
4063
+ {
4064
+ "emit": {
4065
+ "failure": "StudentAssessmentLoadFailed",
4066
+ "success": "StudentAssessmentLoaded"
4067
+ }
4068
+ }
4056
4069
  ],
4057
4070
  [
4058
4071
  "render-ui",
4059
4072
  "main",
4060
4073
  {
4074
+ "appName": "AI Tutor",
4075
+ "type": "dashboard-layout",
4061
4076
  "children": [
4062
4077
  {
4078
+ "type": "stack",
4063
4079
  "direction": "vertical",
4080
+ "gap": "lg",
4064
4081
  "children": [
4065
4082
  {
4066
4083
  "children": [
4067
4084
  {
4068
4085
  "type": "stack",
4086
+ "gap": "md",
4069
4087
  "children": [
4070
4088
  {
4071
- "type": "icon",
4072
- "name": "tag"
4089
+ "name": "tag",
4090
+ "type": "icon"
4073
4091
  },
4074
4092
  {
4075
4093
  "variant": "h2",
4076
- "content": "StudentAssessment",
4077
- "type": "typography"
4094
+ "type": "typography",
4095
+ "content": "StudentAssessment"
4078
4096
  }
4079
4097
  ],
4080
- "gap": "md",
4081
4098
  "direction": "horizontal"
4082
4099
  },
4083
4100
  {
4084
- "type": "button",
4101
+ "label": "Open",
4102
+ "action": "CLASSIFY",
4085
4103
  "variant": "primary",
4086
4104
  "icon": "tag",
4087
- "action": "CLASSIFY",
4088
- "label": "Open"
4105
+ "type": "button"
4089
4106
  }
4090
4107
  ],
4091
- "type": "stack",
4092
- "gap": "md",
4093
4108
  "direction": "horizontal",
4094
- "justify": "between"
4109
+ "gap": "md",
4110
+ "justify": "between",
4111
+ "type": "stack"
4095
4112
  },
4096
4113
  {
4097
4114
  "type": "divider"
@@ -4102,15 +4119,13 @@
4102
4119
  "icon": "tag",
4103
4120
  "description": "Click Open to view details in a modal overlay."
4104
4121
  }
4105
- ],
4106
- "gap": "lg",
4107
- "type": "stack"
4122
+ ]
4108
4123
  }
4109
4124
  ],
4110
4125
  "navItems": [
4111
4126
  {
4112
- "label": "Teach",
4113
4127
  "href": "/teach",
4128
+ "label": "Teach",
4114
4129
  "icon": "book-open"
4115
4130
  },
4116
4131
  {
@@ -4119,13 +4134,11 @@
4119
4134
  "icon": "help-circle"
4120
4135
  },
4121
4136
  {
4122
- "label": "Concepts",
4123
4137
  "href": "/concepts",
4138
+ "label": "Concepts",
4124
4139
  "icon": "brain"
4125
4140
  }
4126
- ],
4127
- "appName": "AI Tutor",
4128
- "type": "dashboard-layout"
4141
+ ]
4129
4142
  }
4130
4143
  ]
4131
4144
  ]
@@ -4140,68 +4153,68 @@
4140
4153
  "modal",
4141
4154
  {
4142
4155
  "type": "stack",
4143
- "direction": "vertical",
4144
4156
  "gap": "md",
4157
+ "direction": "vertical",
4145
4158
  "children": [
4146
4159
  {
4147
4160
  "gap": "sm",
4148
4161
  "type": "stack",
4149
- "direction": "horizontal",
4150
4162
  "children": [
4151
4163
  {
4152
- "type": "icon",
4153
- "name": "tag"
4164
+ "name": "tag",
4165
+ "type": "icon"
4154
4166
  },
4155
4167
  {
4156
4168
  "variant": "h3",
4157
4169
  "type": "typography",
4158
4170
  "content": "StudentAssessment"
4159
4171
  }
4160
- ]
4172
+ ],
4173
+ "direction": "horizontal"
4161
4174
  },
4162
4175
  {
4163
4176
  "type": "divider"
4164
4177
  },
4165
4178
  {
4166
- "gap": "sm",
4167
4179
  "children": [
4168
4180
  {
4169
4181
  "variant": "caption",
4170
- "type": "typography",
4171
- "content": "Categories:"
4182
+ "content": "Categories:",
4183
+ "type": "typography"
4172
4184
  },
4173
4185
  {
4174
- "variant": "secondary",
4175
4186
  "type": "badge",
4187
+ "variant": "secondary",
4176
4188
  "label": "beginner"
4177
4189
  },
4178
4190
  {
4179
4191
  "type": "badge",
4180
- "label": "intermediate",
4181
- "variant": "secondary"
4192
+ "variant": "secondary",
4193
+ "label": "intermediate"
4182
4194
  },
4183
4195
  {
4184
- "label": "advanced",
4196
+ "type": "badge",
4185
4197
  "variant": "secondary",
4186
- "type": "badge"
4198
+ "label": "advanced"
4187
4199
  },
4188
4200
  {
4189
- "label": "expert",
4190
4201
  "variant": "secondary",
4191
- "type": "badge"
4202
+ "type": "badge",
4203
+ "label": "expert"
4192
4204
  }
4193
4205
  ],
4194
- "type": "stack",
4195
- "direction": "horizontal"
4206
+ "direction": "horizontal",
4207
+ "gap": "sm",
4208
+ "type": "stack"
4196
4209
  },
4197
4210
  {
4198
4211
  "type": "form-section",
4199
- "cancelEvent": "CLOSE",
4200
4212
  "mode": "create",
4201
- "submitEvent": "SAVE",
4213
+ "cancelEvent": "CLOSE",
4202
4214
  "fields": [
4203
4215
  "input"
4204
- ]
4216
+ ],
4217
+ "submitEvent": "SAVE"
4205
4218
  }
4206
4219
  ]
4207
4220
  }
@@ -4224,13 +4237,21 @@
4224
4237
  "info"
4225
4238
  ],
4226
4239
  [
4227
- "ref",
4228
- "StudentAssessment"
4240
+ "fetch",
4241
+ "StudentAssessment",
4242
+ {
4243
+ "emit": {
4244
+ "success": "StudentAssessmentLoaded",
4245
+ "failure": "StudentAssessmentLoadFailed"
4246
+ }
4247
+ }
4229
4248
  ],
4230
4249
  [
4231
4250
  "render-ui",
4232
4251
  "main",
4233
4252
  {
4253
+ "appName": "AI Tutor",
4254
+ "type": "dashboard-layout",
4234
4255
  "navItems": [
4235
4256
  {
4236
4257
  "label": "Teach",
@@ -4238,67 +4259,65 @@
4238
4259
  "icon": "book-open"
4239
4260
  },
4240
4261
  {
4241
- "icon": "help-circle",
4262
+ "href": "/quiz",
4242
4263
  "label": "Quiz",
4243
- "href": "/quiz"
4264
+ "icon": "help-circle"
4244
4265
  },
4245
4266
  {
4246
- "icon": "brain",
4247
4267
  "href": "/concepts",
4268
+ "icon": "brain",
4248
4269
  "label": "Concepts"
4249
4270
  }
4250
4271
  ],
4251
- "type": "dashboard-layout",
4252
4272
  "children": [
4253
4273
  {
4274
+ "type": "stack",
4275
+ "direction": "vertical",
4276
+ "gap": "lg",
4254
4277
  "children": [
4255
4278
  {
4256
- "justify": "between",
4257
4279
  "type": "stack",
4258
4280
  "gap": "md",
4259
4281
  "children": [
4260
4282
  {
4261
- "gap": "md",
4262
- "direction": "horizontal",
4263
- "type": "stack",
4264
4283
  "children": [
4265
4284
  {
4266
- "name": "tag",
4267
- "type": "icon"
4285
+ "type": "icon",
4286
+ "name": "tag"
4268
4287
  },
4269
4288
  {
4289
+ "content": "StudentAssessment",
4270
4290
  "variant": "h2",
4271
- "type": "typography",
4272
- "content": "StudentAssessment"
4291
+ "type": "typography"
4273
4292
  }
4274
- ]
4293
+ ],
4294
+ "type": "stack",
4295
+ "direction": "horizontal",
4296
+ "gap": "md"
4275
4297
  },
4276
4298
  {
4277
- "label": "Open",
4299
+ "variant": "primary",
4278
4300
  "icon": "tag",
4279
4301
  "type": "button",
4280
4302
  "action": "CLASSIFY",
4281
- "variant": "primary"
4303
+ "label": "Open"
4282
4304
  }
4283
4305
  ],
4284
- "direction": "horizontal"
4306
+ "direction": "horizontal",
4307
+ "justify": "between"
4285
4308
  },
4286
4309
  {
4287
4310
  "type": "divider"
4288
4311
  },
4289
4312
  {
4290
- "type": "empty-state",
4291
- "icon": "tag",
4292
4313
  "description": "Click Open to view details in a modal overlay.",
4293
- "title": "Nothing open"
4314
+ "title": "Nothing open",
4315
+ "type": "empty-state",
4316
+ "icon": "tag"
4294
4317
  }
4295
- ],
4296
- "type": "stack",
4297
- "direction": "vertical",
4298
- "gap": "lg"
4318
+ ]
4299
4319
  }
4300
- ],
4301
- "appName": "AI Tutor"
4320
+ ]
4302
4321
  }
4303
4322
  ]
4304
4323
  ]
@@ -4315,8 +4334,8 @@
4315
4334
  "@payload.data",
4316
4335
  {
4317
4336
  "emit": {
4318
- "success": "StudentAssessmentSaved",
4319
- "failure": "StudentAssessmentSaveFailed"
4337
+ "failure": "StudentAssessmentSaveFailed",
4338
+ "success": "StudentAssessmentSaved"
4320
4339
  }
4321
4340
  }
4322
4341
  ],
@@ -4330,25 +4349,44 @@
4330
4349
  "CLASSIFIED"
4331
4350
  ],
4332
4351
  [
4333
- "ref",
4334
- "StudentAssessment"
4352
+ "fetch",
4353
+ "StudentAssessment",
4354
+ {
4355
+ "emit": {
4356
+ "success": "StudentAssessmentLoaded",
4357
+ "failure": "StudentAssessmentLoadFailed"
4358
+ }
4359
+ }
4335
4360
  ],
4336
4361
  [
4337
4362
  "render-ui",
4338
4363
  "main",
4339
4364
  {
4365
+ "appName": "AI Tutor",
4366
+ "navItems": [
4367
+ {
4368
+ "icon": "book-open",
4369
+ "label": "Teach",
4370
+ "href": "/teach"
4371
+ },
4372
+ {
4373
+ "href": "/quiz",
4374
+ "label": "Quiz",
4375
+ "icon": "help-circle"
4376
+ },
4377
+ {
4378
+ "icon": "brain",
4379
+ "label": "Concepts",
4380
+ "href": "/concepts"
4381
+ }
4382
+ ],
4340
4383
  "type": "dashboard-layout",
4341
4384
  "children": [
4342
4385
  {
4343
- "direction": "vertical",
4344
- "type": "stack",
4345
4386
  "gap": "lg",
4387
+ "type": "stack",
4346
4388
  "children": [
4347
4389
  {
4348
- "type": "stack",
4349
- "gap": "md",
4350
- "justify": "between",
4351
- "direction": "horizontal",
4352
4390
  "children": [
4353
4391
  {
4354
4392
  "children": [
@@ -4362,47 +4400,34 @@
4362
4400
  "content": "StudentAssessment"
4363
4401
  }
4364
4402
  ],
4365
- "gap": "md",
4403
+ "direction": "horizontal",
4366
4404
  "type": "stack",
4367
- "direction": "horizontal"
4405
+ "gap": "md"
4368
4406
  },
4369
4407
  {
4370
- "type": "button",
4371
- "action": "CLASSIFY",
4372
- "variant": "primary",
4373
4408
  "label": "Open",
4374
- "icon": "tag"
4409
+ "variant": "primary",
4410
+ "action": "CLASSIFY",
4411
+ "icon": "tag",
4412
+ "type": "button"
4375
4413
  }
4376
- ]
4414
+ ],
4415
+ "type": "stack",
4416
+ "direction": "horizontal",
4417
+ "justify": "between",
4418
+ "gap": "md"
4377
4419
  },
4378
4420
  {
4379
4421
  "type": "divider"
4380
4422
  },
4381
4423
  {
4382
- "type": "empty-state",
4383
4424
  "title": "Nothing open",
4425
+ "icon": "tag",
4384
4426
  "description": "Click Open to view details in a modal overlay.",
4385
- "icon": "tag"
4427
+ "type": "empty-state"
4386
4428
  }
4387
- ]
4388
- }
4389
- ],
4390
- "appName": "AI Tutor",
4391
- "navItems": [
4392
- {
4393
- "icon": "book-open",
4394
- "label": "Teach",
4395
- "href": "/teach"
4396
- },
4397
- {
4398
- "label": "Quiz",
4399
- "href": "/quiz",
4400
- "icon": "help-circle"
4401
- },
4402
- {
4403
- "href": "/concepts",
4404
- "icon": "brain",
4405
- "label": "Concepts"
4429
+ ],
4430
+ "direction": "vertical"
4406
4431
  }
4407
4432
  ]
4408
4433
  }
@@ -4514,8 +4539,8 @@
4514
4539
  "StudentAssessment",
4515
4540
  {
4516
4541
  "emit": {
4517
- "failure": "StudentAssessmentLoadFailed",
4518
- "success": "StudentAssessmentLoaded"
4542
+ "success": "StudentAssessmentLoaded",
4543
+ "failure": "StudentAssessmentLoadFailed"
4519
4544
  }
4520
4545
  }
4521
4546
  ]
@@ -4540,20 +4565,25 @@
4540
4565
  "render-ui",
4541
4566
  "main",
4542
4567
  {
4568
+ "type": "dashboard-layout",
4569
+ "appName": "AI Tutor",
4543
4570
  "children": [
4544
4571
  {
4545
- "direction": "vertical",
4546
4572
  "type": "stack",
4547
4573
  "children": [
4548
4574
  {
4549
- "type": "stack",
4550
4575
  "justify": "between",
4576
+ "gap": "md",
4577
+ "direction": "horizontal",
4578
+ "align": "center",
4551
4579
  "children": [
4552
4580
  {
4581
+ "type": "stack",
4582
+ "gap": "md",
4553
4583
  "children": [
4554
4584
  {
4555
- "name": "tag",
4556
- "type": "icon"
4585
+ "type": "icon",
4586
+ "name": "tag"
4557
4587
  },
4558
4588
  {
4559
4589
  "type": "typography",
@@ -4562,29 +4592,25 @@
4562
4592
  }
4563
4593
  ],
4564
4594
  "align": "center",
4565
- "direction": "horizontal",
4566
- "type": "stack",
4567
- "gap": "md"
4595
+ "direction": "horizontal"
4568
4596
  },
4569
4597
  {
4570
- "type": "button",
4571
4598
  "label": "Dismiss",
4572
- "action": "HIDE",
4573
4599
  "variant": "ghost",
4574
- "icon": "x"
4600
+ "action": "HIDE",
4601
+ "icon": "x",
4602
+ "type": "button"
4575
4603
  }
4576
4604
  ],
4577
- "gap": "md",
4578
- "align": "center",
4579
- "direction": "horizontal"
4605
+ "type": "stack"
4580
4606
  },
4581
4607
  {
4582
4608
  "type": "divider"
4583
4609
  },
4584
4610
  {
4585
- "variant": "@entity.notificationType",
4586
4611
  "message": "@entity.message",
4587
- "type": "alert"
4612
+ "type": "alert",
4613
+ "variant": "@entity.notificationType"
4588
4614
  },
4589
4615
  {
4590
4616
  "type": "toast-slot"
@@ -4595,16 +4621,15 @@
4595
4621
  "type": "alert"
4596
4622
  }
4597
4623
  ],
4624
+ "direction": "vertical",
4598
4625
  "gap": "lg"
4599
4626
  }
4600
4627
  ],
4601
- "appName": "AI Tutor",
4602
- "type": "dashboard-layout",
4603
4628
  "navItems": [
4604
4629
  {
4605
4630
  "icon": "book-open",
4606
- "href": "/teach",
4607
- "label": "Teach"
4631
+ "label": "Teach",
4632
+ "href": "/teach"
4608
4633
  },
4609
4634
  {
4610
4635
  "label": "Quiz",
@@ -4612,9 +4637,9 @@
4612
4637
  "icon": "help-circle"
4613
4638
  },
4614
4639
  {
4615
- "label": "Concepts",
4640
+ "icon": "brain",
4616
4641
  "href": "/concepts",
4617
- "icon": "brain"
4642
+ "label": "Concepts"
4618
4643
  }
4619
4644
  ]
4620
4645
  }
@@ -4640,69 +4665,53 @@
4640
4665
  "render-ui",
4641
4666
  "main",
4642
4667
  {
4643
- "appName": "AI Tutor",
4644
- "navItems": [
4645
- {
4646
- "icon": "book-open",
4647
- "href": "/teach",
4648
- "label": "Teach"
4649
- },
4650
- {
4651
- "label": "Quiz",
4652
- "icon": "help-circle",
4653
- "href": "/quiz"
4654
- },
4655
- {
4656
- "href": "/concepts",
4657
- "icon": "brain",
4658
- "label": "Concepts"
4659
- }
4660
- ],
4668
+ "type": "dashboard-layout",
4661
4669
  "children": [
4662
4670
  {
4663
4671
  "type": "stack",
4664
4672
  "gap": "lg",
4673
+ "direction": "vertical",
4665
4674
  "children": [
4666
4675
  {
4667
- "justify": "between",
4668
- "type": "stack",
4676
+ "align": "center",
4677
+ "gap": "md",
4669
4678
  "children": [
4670
4679
  {
4680
+ "align": "center",
4671
4681
  "children": [
4672
4682
  {
4673
4683
  "name": "tag",
4674
4684
  "type": "icon"
4675
4685
  },
4676
4686
  {
4687
+ "variant": "h2",
4677
4688
  "type": "typography",
4678
- "content": "StudentAssessment Result",
4679
- "variant": "h2"
4689
+ "content": "StudentAssessment Result"
4680
4690
  }
4681
4691
  ],
4682
- "gap": "md",
4692
+ "direction": "horizontal",
4683
4693
  "type": "stack",
4684
- "align": "center",
4685
- "direction": "horizontal"
4694
+ "gap": "md"
4686
4695
  },
4687
4696
  {
4688
- "type": "button",
4689
- "action": "HIDE",
4690
4697
  "label": "Dismiss",
4698
+ "type": "button",
4691
4699
  "variant": "ghost",
4700
+ "action": "HIDE",
4692
4701
  "icon": "x"
4693
4702
  }
4694
4703
  ],
4695
- "gap": "md",
4696
4704
  "direction": "horizontal",
4697
- "align": "center"
4705
+ "type": "stack",
4706
+ "justify": "between"
4698
4707
  },
4699
4708
  {
4700
4709
  "type": "divider"
4701
4710
  },
4702
4711
  {
4703
- "variant": "@entity.notificationType",
4712
+ "message": "@entity.message",
4704
4713
  "type": "alert",
4705
- "message": "@entity.message"
4714
+ "variant": "@entity.notificationType"
4706
4715
  },
4707
4716
  {
4708
4717
  "type": "toast-slot"
@@ -4712,11 +4721,27 @@
4712
4721
  "variant": "warning",
4713
4722
  "type": "alert"
4714
4723
  }
4715
- ],
4716
- "direction": "vertical"
4724
+ ]
4717
4725
  }
4718
4726
  ],
4719
- "type": "dashboard-layout"
4727
+ "navItems": [
4728
+ {
4729
+ "label": "Teach",
4730
+ "href": "/teach",
4731
+ "icon": "book-open"
4732
+ },
4733
+ {
4734
+ "href": "/quiz",
4735
+ "icon": "help-circle",
4736
+ "label": "Quiz"
4737
+ },
4738
+ {
4739
+ "href": "/concepts",
4740
+ "label": "Concepts",
4741
+ "icon": "brain"
4742
+ }
4743
+ ],
4744
+ "appName": "AI Tutor"
4720
4745
  }
4721
4746
  ]
4722
4747
  ]
@@ -4878,33 +4903,33 @@
4878
4903
  "render-ui",
4879
4904
  "main",
4880
4905
  {
4881
- "appName": "AI Tutor",
4882
- "children": [
4883
- {
4884
- "description": "Classifier is ready",
4885
- "type": "empty-state",
4886
- "icon": "tag",
4887
- "title": "Classifier"
4888
- }
4889
- ],
4890
- "type": "dashboard-layout",
4891
4906
  "navItems": [
4892
4907
  {
4908
+ "href": "/teach",
4893
4909
  "icon": "book-open",
4894
- "label": "Teach",
4895
- "href": "/teach"
4910
+ "label": "Teach"
4896
4911
  },
4897
4912
  {
4913
+ "href": "/quiz",
4898
4914
  "label": "Quiz",
4899
- "icon": "help-circle",
4900
- "href": "/quiz"
4915
+ "icon": "help-circle"
4901
4916
  },
4902
4917
  {
4903
- "label": "Concepts",
4904
4918
  "icon": "brain",
4919
+ "label": "Concepts",
4905
4920
  "href": "/concepts"
4906
4921
  }
4907
- ]
4922
+ ],
4923
+ "type": "dashboard-layout",
4924
+ "children": [
4925
+ {
4926
+ "type": "empty-state",
4927
+ "icon": "tag",
4928
+ "title": "Classifier",
4929
+ "description": "Classifier is ready"
4930
+ }
4931
+ ],
4932
+ "appName": "AI Tutor"
4908
4933
  }
4909
4934
  ]
4910
4935
  ]