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: show assignment information to students v2 #23

Closed
wants to merge 4 commits into from

Conversation

BryanttV
Copy link
Contributor

Description

This PR seeks to implement the same functionality of this PR but using the submission API

Limitations

Using the submissions API a submission must be created for each status change in the assignment. The problem is in the state changes from:

  • submitted to completed (enter_grade)
  • completed to submitted (remove_grade)

As these changes are made by the instructor it would not be possible to access the self.mindmap_student_body field, which does not allow to create the new submission.

@@ -234,6 +259,7 @@ def student_view(self, _context=None) -> Fragment:
Returns:
Fragment: The fragment to render
"""
self.set_submission_status()
Copy link
Contributor

Choose a reason for hiding this comment

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

Reformat this function call to a get_submission_status

}
student_item_dict = self.get_student_item_dict()
create_submission(student_item_dict, answer)

self.submitted = True
self.submission_status = SubmissionStatus.SUBMITTED.value
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this code

@mariajgrimaldi
Copy link
Contributor

Closing this since it's not going to be pursued

@mariajgrimaldi mariajgrimaldi deleted the bav/show-submission-info-v2 branch November 24, 2023 22:29
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.

3 participants