Closed jcomeauictx closed 7 years ago
app/controller/Discussion.js has routine this.doUpdateTimeRemaining(data):
doUpdateTimeRemaining: function (data) {
var formattedTime = testing.util.TimeUtils.getFormattedTime(data.timeLeft);
this.getTimeRemainingLabel().setHtml(formattedTime);
},
api/RulesEngine.js, server side, has this.messageDispatcher.sendMessageToRoom() function that communicates to client side somehow (websockets?)
David says time should only update on a change of speaker. so it's already updating too much.
the current message flow shows that MyTurn requests are processed every
doesn't countdown at all when I don't press the button
only counts down by speaker time if I do press the button, i.e., if time to speak was set to 3, it counts down 3 second intervals.
always ends with a number between 0 and "speak time" remaining, with "Current speaker" set to my name, if I let it count down to "zero" with button pressed. remains ticking.