SMILEConsortium / node-smile-server

3 stars 4 forks source link

IQ Session data should show % likes #113

Closed truedat101 closed 10 years ago

truedat101 commented 10 years ago

We currently don't show this accurately. Each question should be checked for # of likes, and present this information in the Session data.

truedat101 commented 10 years ago

In the iqset data, we have:

truedat101 commented 10 years ago

"students": { "10.0.0.104": { "name": "tiffjj", "ip": "10.0.0.104", "status": { "made": false, "solved": true }, "answers": [ "2", "1", "3", "3", "4", "3", "1", "2" ], "ratings": [ "5", "5", "5", "5", "5", "5", "5", "5" ], "score": 4 },

truedat101 commented 10 years ago

I think I can fix this on the client.

truedat101 commented 10 years ago

Got this working. Had to add likes observable array to the sessionSummary.results. It's not ideal. We should do this on the server. But we will do it on the the client to uncomplicate the process of wrapping up the work here.