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

improve outbox memory handling #93

Merged
merged 4 commits into from Jan 18, 2018
Merged

improve outbox memory handling #93

merged 4 commits into from Jan 18, 2018

Conversation

sheppard
Copy link
Member

@sheppard sheppard commented Sep 26, 2017

  • don't store form data if wq-background-sync is false (fixes Failed "login" requests are stored in outbox #90)
  • store form data containing files/blobs under separate localForage keys
  • don't load blobs for outbox items unless explicitly requested (with new outbox.loadItem() method)
  • fall back to in-memory storage if localForage cannot save form contents
  • don't attempt to store wq/photo.js blobs until form submission
  • enable context & run plugins for outbox view

 - don't store form data if wq-background-sync is false (fixes #90)
 - store form data containing files/blobs under separate localForage keys
 - don't load blobs for outbox items unless explicitly requested (with new outbox.loadItem() method)
 - fall back to in-memory storage if localForage cannot save form contents
 - don't attempt to store wq/photo.js blobs until form submission
@sheppard sheppard merged commit f3a3a48 into master Jan 18, 2018
@sheppard sheppard deleted the outbox branch January 18, 2018 01:43
@sheppard sheppard added this to the 1.1 milestone Apr 23, 2018
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

Successfully merging this pull request may close these issues.

Failed "login" requests are stored in outbox
1 participant