Regenerating a Course Shows “infinity% Completes” Instead of Actual or Reset Progress
What is the URL where the issue is happening
https://roadmap.sh/ai/advanced-reactjs-application-development-for-crud-applications
What browsers are you seeing the problem on?
No response
Describe the Bug
When I regenerate an existing AI Tutor course (either with some progress already recorded or even without any lesson marked as completed), the course shows infinity% progress instead of displaying 0% or the actual progress made earlier.
This seems like a visual/UI bug that occurs right after regeneration. I’ll attach a screenshot to help illustrate the issue.
Steps to Reproduce:
Create a course using AI Tutor.
Optionally, complete a few lessons (or even leave all unmarked).
Regenerate/modify the course.
Observe the progress percentage shown on the course card or course page.
Output from browser console (if any)
Participation
- [ ] I am willing to submit a pull request for this issue.
@arikchakma can you please check