m14t/sots — Issue #277: Abstract action logic into an AJAX request
Author: jjkaye
Created: 2011-12-01 02:37:37+00:00
State: open

In order to prevent users from 'completing' actions on page load, I think it's necessary to create some kind of delay.

We can do this by creating a JS timer on pages that have read/view actions and set it to 3-5 seconds. After that time, an AJAX request is submitted 'completing' the action. At which point a notification is trigger to let the user know they've received points.

Can you begin architecting this?

We might want to also make this a little more generic than read/view as it might be helpful to trigger actions via AJAX in other circumstances as well.

@m14t and @gabehayes, @aaronhall is going to begin on this tonight, do you have any insights for him?