-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Fixed progress page update on save ccx and grade book crash issue #13019
Fixed progress page update on save ccx and grade book crash issue #13019
Conversation
Thanks for the pull request, @amir-qayyum-khan! I've created OSPR-1346 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams. Feel free to add as much of the following information to the ticket:
All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here. |
@@ -131,6 +134,16 @@ def setup_students_and_grades(context): | |||
) | |||
|
|||
|
|||
def unhide(unit): | |||
""" | |||
Recursively unhide a unit and all of its children in the CCX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this was a pre-existing function, but why recursion? A simple loop would do! :)
@cahrens @doctoryes CCX stuff often goes to platform, but this seems to affect touch UI, I wonder if TNL should take it? |
I can take it-- I've reviewed #11647. |
Though note that there are only Python files in this PR... So if @doctoryes WANTS to take the PR, I'm fine with that. |
And furthermore, @nasthagiri may wish to review since she opened the bug initially. |
@cahrens I will review it. |
Great! |
bcdf670
to
71b0174
Compare
LGTM. One question: |
That's a good question. @amir-qayyum-khan can you confirm that adding this signal to save_ccx catches all potential changes, i.e., changes to the schedule or the grading policy? The CCX isn't very interested at the point of create_ccx, but it seems like we should add the signal there as well for completeness. I can't think of any other places whether the coach can modify the ccx overrides. |
yes i verified changes for schedule save but need to double check policy No need to add signal on ccx create api, because when ccx create after On Jul 26, 2016 9:12 PM, "Peter Pinch" [email protected] wrote:
|
13ca30a
to
5a32672
Compare
5a32672
to
d5fcb60
Compare
@doctoryes made some changes, i am sorry I squashed commits. here are the changes listed below:
cc @pdpinch |
jenkins run bokchoy |
) | ||
for rec, response in responses: | ||
log.info('Signal fired when course is published. Receiver: %s. Response: %s', rec, response) | ||
|
||
url = reverse( | ||
'ccx_coach_dashboard', | ||
kwargs={'course_id': CCXLocator.from_course_locator(course.id, ccx.id)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does the signal line above need a unicode(ccx.id)
but this course_id
construction does not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be, but CCXLocator with non unicode also works, it only give issues when we compare same CCXLocator one with ccx.id unicode and one with not.
let me fix through out views
While this change seems good enough to merge (after tests pass), I'd like to see some follow-on work:
@pdpinch Thoughts? P.S. Ah - I see @amir-qayyum-khan has already submitted a commit partially addressing my first point (while I was typing this list). |
a4d3e7d
to
34034aa
Compare
jenkins run bokchoy |
@doctoryes all test are complete, can u give thumbs up on this? |
👍 |
@doctoryes done with verification on stage. |
@amir-qayyum-khan Thanks! I'll mark testing as complete on the release page. |
thank you @doctoryes |
Background
fixes mitocw#252 https://openedx.atlassian.net/browse/TNL-4892
What is done in this PR
Studio Updates: None.
LMS Updates:
@pdpinch @giocalitri
To test: