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

Cache User Data #71

Open
heathharrelson opened this issue Aug 14, 2018 · 1 comment
Open

Cache User Data #71

heathharrelson opened this issue Aug 14, 2018 · 1 comment

Comments

@heathharrelson
Copy link
Contributor

Description

It's possible that users might take some time to enter all of their conditions. To prevent data loss if the browser or tab is closed, cache their data (@jmcmurry suggested localStorage).

User Story

As a user I want my progress to be saved.

So that I don't have to start over using the tool if I am interrupted.

Acceptance Criteria

  • Application state survives a restart:
    • Session ID
    • Terms selected
    • Feedback flag
  • Application state is cleared on the results page

Open Questions

  • How do we deal with public computers?
  • Is there a reasonable amount of time after which data should be discarded?
@jmcmurry
Copy link
Member

I would say that given the survey should take no more than 5-20 minutes, we should cap at 30 minutes. The intro should include "This survey should take you 5-20 minutes; for security purposes, your session will time out after 30 minutes of inactivity." cc: @mellybelly

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

2 participants