openedx / openedx/openedx-app-ios

[fix] Completion Logic for Assignments

Open
#650 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.