Skip to content

Preserve the Validation Results When Revisiting a Lesson #151

@AQIB-NAWAB

Description

@AQIB-NAWAB

Right now, when users revisit a lesson, they have to validate their work again. To improve the experience, the system should remember their last submission result and display it automatically.

Flow

When a user reloads a lesson, the system will:

  • Fetch the last submitted code from local storage.
  • Automatically run the validate function to render the previous result.
  • If no submission exists in codeData, the lesson will appear as it does currently.

Video for better Understanding:
https://github.com/user-attachments/assets/6f4d7433-1227-422c-b36d-70cc40625aff

Metadata

Metadata

Assignees

Labels

Status: AvailableNo one has claimed responsibility for resolving this issue.✨ EnhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions