openedx / openedx/openedx-app-ios
[fix] Completion Logic for Assignments
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 31
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
Current Behavior
Currently, assignments are only marked as complete on the Content tab Assignment view if the subsection containing assignments is complete. For a graded subsection contains a unit with setup text, video, and two graded problem blocks, even if the learner completes the problem blocks, if the learner does not watch the video, the assignment card on the assignment page will remain flagged as incomplete.
Desired behavior
Assignments should be marked as complete as soon as all graded content contained in the subsection have at least one attempt.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the assignment completion logic used by the Content tab Assignment view, focusing on how subsection completion currently determines the assignment card state. Verify the behavior with a graded subsection containing setup text, a video, and two graded problem blocks; done means the card is complete after every graded item has at least one attempt, without requiring the video.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100