notify the user when the analysis is ready

pull/83/head
Thibault Duplessis 2012-08-05 21:19:07 +02:00
parent dafd947e37
commit aa0928b903
3 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import play.api.templates.Html
trait AssetHelper {
val assetVersion = 68
val assetVersion = 69
def cssTag(name: String) = css("stylesheets/" + name)

View File

@ -27,6 +27,8 @@ var lichess = {
analysisAvailable: function() {
$("div.game_analysis.status").remove();
$("div.game_analysis").show();
$.playSound();
document.title = "/!\\ ANALYSIS READY! " + document.title;
}
},
options: {

1
todo
View File

@ -35,3 +35,4 @@ elo range must contain player elo
complete analysis movetimes with tsinnema - requires ms movetimes and db migration
complete search engine using https://github.com/bsadeh/scalastic
localize elo chart dates
recognize tor IPs http://en.lichess.org/forum/staff/cheater-101#9