Update: a bit of ajax

For those of you who have several games on the go and get tired off switching between games I've added a little shortcut.

When you've got games to move in, you can hover over the number shown to get an ajax-style drop-down list of all games it's your turn in. So if you've got a few moves to make you can move between games without having to always go back to your main games page.

Hopefully this will work in a fairly unobtrusive manner - it shouldn't affect anything else and if you've got javascript turned off it'll still work as before.

This also represents the start of a simple API for Chrss. The javascript for this makes a background call to a URL that looks like:

http://chrss.co.uk/user/USERNAME/active.json

Which returns some JSON representing the list of all active games for that user. The exact details of the JSON I'll leave for now, as it may change before the API is ready. However it will largely be the same, so feel free to have a poke around.

It should make a good basis for widgets in the future. With more information available (beyond just a number) the widgets can hopefully be a bit more interactive too.

also in this update

I've also got the "remember me" feature working when you login/signup via OpenID.

updated: 2008-07-29 14:30:28


lilspikey: 2008-08-13 13:46:58

just made another update so that the drop-down only appears when clicking on the number - which should be a bit more usable.


rarmai: 2008-10-13 14:34:57

I really like using this feature to check for what has changed. Its a quick way to check without reloading the page. I would like it even more if it showed '0' when I had no moves so I could use it to check and see if one has come in, as it is faster than dashboard, or reloading the page.


comments support markdown syntax (html will be removed).


made in littlespikeyland, using turbogears.