Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Course Progress URL points to the old progress page #34323

Open
FatemeKhodayari opened this issue Mar 2, 2024 · 0 comments · May be fixed by #34344
Open

Course Progress URL points to the old progress page #34323

FatemeKhodayari opened this issue Mar 2, 2024 · 0 comments · May be fixed by #34344

Comments

@FatemeKhodayari
Copy link

Hi everyone. Recently I found that the course progress URL which is sent in the response of /api/learner_home/init API call, always points to the old progress page and doesn't consider whether the learning MFE is enabled or not.

In the response of the said API call, there's home URL as well which points to the learning MFE all the time and doesn't check whether the user has learning MFE enabled or not. Maybe this is intentional?

A sample response for /api/learner_home/init is as follows:

{
.....
        "courses": [
        {
            "courseRun": {
                "isStarted": true,
                "isArchived": true,
                "courseId": "course-my-sample-course",
                "minPassingGrade": "0.50",
                "startDate": "2023-10-10T12:30:00+03:30",
                "endDate": "2024-01-01T03:00:00+03:30",
                "homeUrl": "https://apps.mylms.com/learning/course/course-my-sample-course/home",
                "marketingUrl": null,
                "progressUrl": "/courses/course-my-sample-course/progress",
                "unenrollUrl": "/course_run/course-my-sample-course/refund_status",
                "upgradeUrl": null,
                "resumeUrl": "/courses/course-my-sample-course/jump_to/block-v1-block-id"
            },
.....

This issue was first raised in this forum topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant