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

feat: Update course resume logic, navigate learner to last viewed component #210

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

saeedbashir
Copy link
Contributor

This PR improves the course resume logic and navigates the learner to the last visited component screen. The last visited component is being returned from the server for API /api/mobile/v1/users/\(userName)/course_status_info/\(courseID)

Task Link: Remove Sequence units level from Resume action

Screen.Recording.2023-12-15.at.11.52.38.AM.mov

rnr
rnr previously approved these changes Dec 15, 2023
@@ -33,7 +33,7 @@
"COURSEWARE.IS_FINISHED" = "“ is finished.";
"COURSEWARE.CONTINUE" = "Continue";
"COURSEWARE.RESUME" = "Resume";
"COURSEWARE.CONTINUE_WITH" = "Continue with:";
"COURSEWARE.RESUME_WITH" = "Resume with:";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saeedbashir maybe we need to add this to uk.lproj too (even in English) to don't forget to localise this later. What do you think? Thank you

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rnr Yes, it should be changed in all the relevant files. I've changed it where needed.

@@ -28,7 +28,7 @@
"COURSEWARE.SECTION" = "Section “";
"COURSEWARE.IS_FINISHED" = "“ is finished.";
"COURSEWARE.CONTINUE" = "Continue";
"COURSEWARE.CONTINUE_WITH" = "Continue with:";
"COURSEWARE.RESUME_WITH" = "Resume with:";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saeedbashir saeedbashir merged commit f17aa5b into openedx:develop Dec 22, 2023
3 checks passed
@saeedbashir saeedbashir deleted the saeed/resume_course branch December 22, 2023 07:14
@moiz994 moiz994 linked an issue Dec 22, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iOS] Start / Resume course
3 participants