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

Improved performances for assignment listing #129

Merged
merged 1 commit into from
Sep 4, 2015

Conversation

giocalitri
Copy link

  • Modified "staff_grading_data" function to be able to pull infos for
    many students or a specific one
  • Fixed bug with multiple identical incremental ajax requests:
  • Now the cancel button of the "Enter Grade" modal does not trigger an
    Ajax get request

- Modified "staff_grading_data" function to be able to pull infos for
many students or a specific one
- Fixed bug with multiple identical incremental ajax requests:
- Now the cancel button of the "Enter Grade" modal does not trigger an
Ajax get request
@pdpinch
Copy link
Member

pdpinch commented Sep 4, 2015

This works and looks good to me. It needs JavaScript tests, but I suppose that will have to come after #127 is merged and #113 is worked on.

assignments = data.get('assignments')
self.assertIsNotNone(assignments)
self.assertEqual(len(assignments), 2)
# 50b287502d8dbf83bec2dcfb78fc4d8e

Choose a reason for hiding this comment

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

What's this for?

Copy link
Author

Choose a reason for hiding this comment

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

I left that behind: it's the anonymous student ID for that test

pdpinch added a commit that referenced this pull request Sep 4, 2015
Improved performances for assignment listing

fixes #111 
[delivers #101927046]
@pdpinch pdpinch merged commit 2a37338 into master Sep 4, 2015
@pdpinch pdpinch deleted the bug/gdm/111_performance branch September 4, 2015 20:11
@pdpinch
Copy link
Member

pdpinch commented Sep 4, 2015

Oy. I forgot I need to run tests by hand, and they're not passing...

@giocalitri
Copy link
Author

Yes, I suggest to revert this merge and reopen the PR: we need to figure out if they fail also on master (like it looked to me) or only after my changes.

@pdpinch
Copy link
Member

pdpinch commented Sep 4, 2015

Right, right. You told me about that. I forgot. I'll revert it.

@giocalitri
Copy link
Author

If you restore the branch, I'll remove that useless comment @noisecapella found

pdpinch added a commit that referenced this pull request Sep 4, 2015
@pdpinch pdpinch restored the bug/gdm/111_performance branch September 4, 2015 20:59
@pdpinch
Copy link
Member

pdpinch commented Sep 4, 2015

branch is restored.

And I have a PR with the revert.

pdpinch added a commit that referenced this pull request Sep 4, 2015
Revert "Merge pull request #129 from mitodl/bug/gdm/111_performance"

unfixes #111 
[starts #101927046]
This was referenced Nov 16, 2016
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