We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The call to action on the course card should change if the learner has already started the course.
In the legacy dashboard, the button changes from "View course" to "Resume Course" and to "View Archived Course"
The call to action displays "Start now" even when the learner has started the courses.
The text was updated successfully, but these errors were encountered:
Ah! OK. Will have to look into how the system knows this. Hopefully it's in the API results.
Sorry, something went wrong.
There is this API, per course, which contains some data on "Progress". I'm guessing that we can use this. /course_home/v1/progress/{course_key_string}
It returns back a whole ton of data - we only need to know that there is progress!
I think if you look at the section
"completion_summary": { "complete_count": 2, "incomplete_count": 37, "locked_count": 0 },
This can be used I think to work out that the student has started the cours.
Will be a good test to use some functions to drop the correct text in.
What's interesting is that if you click on "view archived course" then screen than shows "start course" in the top right.
This is not as high on the priority list, I'm happy to make the dashboard live without it.
BbrSofiane
No branches or pull requests
Expected Behavior
The call to action on the course card should change if the learner has already started the course.
In the legacy dashboard, the button changes from "View course" to "Resume Course" and to "View Archived Course"
Current Behavior
The call to action displays "Start now" even when the learner has started the courses.
Possible Solutions
The text was updated successfully, but these errors were encountered: