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

Track when a user starts/continues typing for hour reporting #4069

Closed
benwbrum opened this issue Apr 30, 2024 · 0 comments · Fixed by #4081
Closed

Track when a user starts/continues typing for hour reporting #4069

benwbrum opened this issue Apr 30, 2024 · 0 comments · Fixed by #4081
Labels
transcriber issues affecting transcriber happiness

Comments

@benwbrum
Copy link
Owner

An increasing number of volunteers use FromThePage to gain "service hours" -- hours of volunteer effort for a charity which are required for awards, civic organizations, schools, and court-ordered community service. We calculate volunteer hours nightly by looking at the Ahoy logs, which track requests our webserver sees. Every night, a task looks at the requests for different pages/works/collections, for each user, and calculates the total time the user spent working.

The problem with this approach is that it can miss time spent by volunteers in typing. For most projects, that is not a big issue, since only a minute or two may elapse between when a user loads a page and when they press "Save" and we see the request. However, some transcribers work on pages that may take an hour or more to transcribe, during which time we do not see any requests and do not count their time. Worst of all, some transcribers navigate to a page which they want to work on tomorrow, leave that open in a tab, then on the next day start editing a page, so we only see their first request when they press "Save".

We'd like to add some functionality that calls a route like collection_id/work_id/page_id/active_editing when a user starts typing on a transcription input for the first time, and perhaps every 5 or so minutes after that. (Note that a still_editing action does exist, but this fires regardless of whether the user has made any changes, and is also ignored by the hour calculation).

@benwbrum benwbrum added the transcriber issues affecting transcriber happiness label Apr 30, 2024
benwbrum added a commit that referenced this issue May 9, 2024
Track active editing for volunteer hours #4069
benwbrum added a commit that referenced this issue May 9, 2024
Fixes JS error on translation page introduced by #4069
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transcriber issues affecting transcriber happiness
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant