Skip to content

idle detection #37

Description

@regular

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions