Mailspring/spec/stores
Ben Gotow 4fefec0b52 patch(save): Only save drafts when necessary, avoid sync-engine issues
Summary:
Previously, we have saved drafts back to the user's provider through the sync engine. There are a handful of very serious edge case issues we're working to solve that are creating a bad user experience. (#933, #1175, #1504, #1237)

For now, we're going to change the behavior of N1 to mitagate these issues.

- If you create a draft in N1, we will not sync it to other mail clients while you're working on it.
- If you enable send later, we'll start syncing the draft to the server as before.
- If you created the draft in another client, we'll sync the draft to the server as before.

Fix specs

Test Plan: Run specs

Reviewers: evan, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D2706
2016-03-10 11:03:38 -08:00
..
account-store-spec.coffee fix(account-store): Correctly check alias email inside accountForAlias 2016-02-07 00:39:11 -08:00
contact-store-spec.coffee fix(contact-search): Keep only ranked contacts, query for others. Massive perf boost. 2016-01-28 14:56:15 -08:00
database-setup-query-builder-spec.coffee DatabaseTransaction / QueryBuilder spec fixes 2016-01-25 11:11:57 -08:00
database-store-spec.coffee feat(tasks): add Create, Update, Destroy tasks plus spec & lint fixes 2016-01-15 15:16:21 -05:00
database-transaction-spec.coffee DatabaseTransaction / QueryBuilder spec fixes 2016-01-25 11:11:57 -08:00
draft-store-proxy-spec.coffee patch(save): Only save drafts when necessary, avoid sync-engine issues 2016-03-10 11:03:38 -08:00
draft-store-spec.coffee feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
file-download-store-spec.coffee fix(downloads): Properly handle network errors, retries of downloads 2016-03-08 18:32:47 -08:00
file-upload-store-spec.coffee fix(uploads): Consolidate logic, use Promisify, path.join 2016-01-29 14:45:53 -08:00
focused-contacts-store-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
focused-content-store-spec.coffee Merge branch 'master' into unified-inbox 2016-01-25 17:28:29 -08:00
focused-perspective-store-spec.coffee fix(focused-persepective): Init saved perspective correctly 2016-02-09 20:10:33 -08:00
message-store-spec.coffee fix(bodies): Move loading into component, add retry, loading spinner 2016-03-09 19:14:54 -08:00
task-queue-spec.coffee fix(send): make send/syncback draft tasks cooperate, fix task ordering tracking 2016-03-07 20:14:58 -08:00
thread-counts-store-spec.coffee Merge branch 'master' into unified-inbox 2016-01-25 17:28:29 -08:00
unread-badge-store-spec.coffee fix(badge): Badge respects option in prefs 2015-11-30 19:17:35 -08:00