Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idle detection #37

Open
regular opened this issue Jun 17, 2015 · 0 comments
Open

idle detection #37

regular opened this issue Jun 17, 2015 · 0 comments

Comments

@regular
Copy link
Contributor

regular commented Jun 17, 2015

setTimeout() of say 20 seconds on scroll and mousemove. If the timer hits, the user is considered idle and we display a little idle icon in the top bar.

idle start and idle end events are written to the logdb.

needs #36 to be implemented first, otherwise a user consuming media will be considered idle.

Motivation

This allows us to calculate the average time it takes to read an episode or to reach a goal. We can give this information to new students when they set their goal.

For example:

"Become a web developer! (takes an average of 45 hours)

This does not take into account time spent on external sites like Codecademy, but if they provide such numbers, we can sum them up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant