Skip to content

Conversation

@jansenk
Copy link
Contributor

@jansenk jansenk commented Apr 12, 2023

Adds a message warning when the number of counted assignment types within a course don't match with the number defined in the grading config. I also added a corresponding message when the number of assignments matches the defined number.

Example Flow #1: An assignment type has one assignment and is defined as having one assignment. It has the corresponding success message (image one). We edit the total number from 1 to 3 (image two). After clicking save, the message is updated to reflect that the number of assignments no longer matches (image three)

change_num_before
change_num_during
change_num_after

Example Flow #2: An assignment type has a mismatch of numbers and has the message informing the course author that the numbers do not match. (image 1) we edit the name to "homeworkedited". A non-blocking error message informs us that we will need to change the assignment types of all "homework" assignments in order for grading to work correctly. (image 2) after saving, the warning now states that there are no "homeworkedited" assignments defined in the course

change_name_before
change_name_during
change_name_after

Example flow #3: A user creates a new assignment type. No message, success or otherwise, is displayed when the type is first created (image 1) We put in the assignment type info (image 2) and then after we save we recieve the message that there are no corresponding assignments (image 3)

add_new_assn_type
add_assn_during
add_assn_after

Copy link
Contributor

@schenedx schenedx left a comment

Choose a reason for hiding this comment

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

👍 LGTM

Copy link
Contributor

@mattcarter mattcarter left a comment

Choose a reason for hiding this comment

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

LGTM

@jansenk jansenk merged commit de047cd into master Apr 14, 2023
@jansenk jansenk deleted the jkantor/assignment_count branch April 14, 2023 16:26
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

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.

5 participants