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 form submissions/changes when users are offline and send them when they come back online #3556

Open
rowasc opened this issue Jun 9, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@rowasc
Copy link
Contributor

commented Jun 9, 2019

When a user is offline we should ask them if they'd like to queue the requests for when they are back online and send them then.

  • User goes offline
  • Show a warning #389
  • If they try to submit a form (or they execute other POST/PUT actions), show a popup that asks them if they'd like to queue it for later
  • When users come back online, send the requests
    • When resources are all created show a popup or something else that lets them know the successful completion of this actions.
    • If we fail to create or edit resources, let them know so they can act on this informaion

I think this should wait until we make the API more friendly, especially submitting posts and creating surveys. Once these actions don't depend on many requests it'll be much simpler to "explain" to users what exactly failed in a request ("the form could not be created" instead of potentially "this attribute of your form wasn't submitted correctly" which is not something a user would understand or be able to act on )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.