directorlive / oppia

Automatically exported from code.google.com/p/oppia
Apache License 2.0
0 stars 0 forks source link

Make feedback stats update instantly #724

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In as much detail as possible, please describe what you would like to see.

Feedback stats in the dashboard currently update on a batch basis, which means 
that the updates don't happen in real time. It should be fairly straightforward 
to add a realtime layer.

A rough implementation outline:
  * fire an event when a feedback message is created, or changes status; the event should carry exploration id, feedback thread/message id, old status, new status.
  * update the realtime model based on the old/new status, to form an adjustment to the 'open feedback thread' count.
  * when a dashboard query is made, apply this adjustment to the batch model before returning the result.

Original issue reported on code.google.com by s...@google.com on 23 Apr 2015 at 11:20

GoogleCodeExporter commented 9 years ago
Assigning to myself.

Original comment by sbhow...@google.com on 24 Apr 2015 at 3:21

GoogleCodeExporter commented 9 years ago
Fixed in 
https://code.google.com/p/oppia/source/detailr=3de245c9685e48e2c6161b49b2bb55356
fef039a&name=develop

Original comment by sbhow...@google.com on 7 May 2015 at 4:07