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

Remove 'evaluated_by' and 'discarded' fields from TrainingProgress #2416

Conversation

elichad
Copy link
Contributor

@elichad elichad commented May 10, 2023

Fixes #2409
Fixes #2407

Discussed with instructor training team and agreed that the very few existing TrainingProgress records which are currently marked as discarded will be otherwise unchanged (so some will become valid passes). Manually confirmed in AMY that this will not make anyone eligible for an instructor badge who wasn't eligible before.

@elichad elichad self-assigned this May 10, 2023
@elichad elichad added this to In Progress in Instructor Training - New Checkout Process via automation May 10, 2023
@pbanaszkiewicz pbanaszkiewicz added this to the v4.2 milestone May 15, 2023
Copy link
Contributor

@pbanaszkiewicz pbanaszkiewicz left a comment

Choose a reason for hiding this comment

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

Looks good to me, I left only 1 small comment.

@@ -134,31 +124,16 @@ def all_trainees(request):
if request.method == "POST" and "discard" in request.POST:
# Bulk discard progress of selected trainees
form = BulkAddTrainingProgressForm()
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these 3 lines remain? We could probably leave the "elif" from L149 as "if" and skip the check for "discard" in POST since that form was removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I'll make this change.

@elichad elichad merged commit e993651 into feature/instructor-checkout-changes May 16, 2023
Instructor Training - New Checkout Process automation moved this from In Progress to Done May 16, 2023
@elichad elichad deleted the feature/trainingprogress-model-changes branch May 16, 2023 11:32
@pbanaszkiewicz
Copy link
Contributor

Hey @elichad I was looking over git log history and I noticed that this PR was merged into a feature branch. Do you want to merge these changes into development branch, too?

@elichad
Copy link
Contributor Author

elichad commented May 30, 2023

@pbanaszkiewicz my plan is to merge the checkout work into this feature/instructor-checkout-changes branch, and then merge that branch into develop when it's complete enough for user testing.
So to answer your question, not right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants