[Enhancement] Playground: show historical graded output when revisiting completed lessons #21

Open
opened 2026-04-28 22:41:46 +00:00 by spikerj · 0 comments
Owner

Summary

Related to clearing the output pane on lesson change ([Bug] behavior). For lessons already completed, users should be able to review the graded output (e.g. test run that certified a pass) when they navigate back to that lesson.

Scenario

If the user has completed lessons 100, 101, and 102 and uses Back (or lesson picker) to open lesson 100 again, the output pane should show the results of the test run that ran when they passed (or their last successful graded submission), not empty UI and not another lesson’s output.

Relationship to bug fix

  • Default / in-progress lesson: hide or clear the pane until the next submit for the current lesson (no cross-lesson leakage).
  • Revisit completed lesson: populate the pane from stored historical submission/grade data for that lesson id, if available.

Possible implementation notes

  • Persist last graded result (or pass certification run) per lesson + user; load when route targets a completed lesson.
  • UX: optional “Submitted answer / Grading history” affordance if full automation is deferred.
## Summary Related to clearing the output pane on lesson change ([Bug] behavior). For **lessons already completed**, users should be able to **review the graded output** (e.g. test run that certified a pass) when they **navigate back** to that lesson. ## Scenario If the user has completed lessons **100, 101, and 102** and uses **Back** (or lesson picker) to open **lesson 100** again, the output pane should show the **results of the test run that ran when they passed** (or their last successful graded submission), not empty UI and not another lesson’s output. ## Relationship to bug fix - **Default / in-progress lesson:** hide or clear the pane until the next **submit** for the **current** lesson (no cross-lesson leakage). - **Revisit completed lesson:** populate the pane from **stored historical submission/grade data** for that lesson id, if available. ## Possible implementation notes - Persist last graded result (or pass certification run) per lesson + user; load when route targets a completed lesson. - UX: optional “Submitted answer / Grading history” affordance if full automation is deferred.
Sign in to join this conversation.