RunestoneInteractive / rs

A New Monorepo structure for Runestone
Other
42 stars 69 forks source link

Add: Review page for Peer Instruction assignments #510

Closed ibrahimmoazzam closed 3 months ago

ibrahimmoazzam commented 3 months ago

This PR contains a Review page for Peer Instruction assignments, meant to help instructors with the following features:

bnmnetp commented 3 months ago

Could you maybe git restore all the the poetry.lock files except those for the assignment server? I know this is because of my build.py script which updated them for you. I've since changed that behavior.

I've been dealing with a lot of dependency issues lately and don't want to cause problems.

ibrahimmoazzam commented 3 months ago

Done! I was able to revert all the poetry.lock files except those for the assignment server.

bnmnetp commented 3 months ago

I have your code on my development machine. I just tried to bring up a report on a peer assignment I've used many times for testing with a couple of fake students.

Nothing on the report and in the console I get:

TypeError: Cannot read properties of null (reading 'length')
    at instructor.js:126:78
    at Array.forEach (<anonymous>)
    at HTMLDocument.<anonymous> (instructor.js:124:19)
ibrahimmoazzam commented 3 months ago

I've just added a new commit that deals with a few edge cases and TypeErrors; could you please confirm if you're still getting the same error? Everything seems to be working perfectly fine on my machine with no errors in the console. Thank you!