Mailspring/docs
Ben Gotow 466bca813b fix(syncback): Bidirectional transforms, ready-to-send saved state
Summary:
This diff replaces "finalizeSessionBeforeSending" with a
plugin hook that is bidirectional and allows us to put the draft in
the "ready to send" state every time we save it, and restore it to
the "ready to edit" state every time a draft session is created to
edit it.

This diff also significantly restructures the draft tasks:

1. SyncbackDraftUploadsTask:
   - ensures that `uploads` are converted to `files` and that any
     existing files on the draft are part of the correct account.

1. SyncbackDraftTask:
   - saves the draft, nothing else.

3. SendDraftTask
   - sends the draft, nothing else.
   - deletes the entire uploads directory for the draft

Test Plan: WIP

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2753
2016-03-16 19:27:12 -07:00
..
images fix(docs): Moving to use jekyll on gh-pages 2015-10-02 10:55:18 -07:00
templates fix(docs): Push examples to the correct /examples URL 2015-10-02 16:09:49 -07:00
Architecture.md fix assorted problems in docs 2015-10-04 15:24:08 -07:00
ComposerExtensions.md fix(syncback): Bidirectional transforms, ready-to-send saved state 2016-03-16 19:27:12 -07:00
Database.md fix assorted problems in docs 2015-10-04 15:24:08 -07:00
Debugging.md fix(activity): "Long Polling" => "Delta Streaming" because we don't really poll. 2016-01-29 16:06:33 -08:00
FAQ.md rename(Nylas Mail): Replace Nylas Mail > N1 2015-09-29 09:44:30 -07:00
IntegrationTesting.md docs(tests): add docs about integration testing 2015-12-11 16:25:25 -05:00
InterfaceConcepts.md fix(copy): Call split / list modes "Single Panel / Two Panel" 2015-11-23 17:34:56 -08:00
Overview.md fix(*): Packages => Plugins in a few more places 2015-10-22 14:55:30 -07:00
package.json fix(docs): Updating docs (round 1 of many) 2015-10-01 13:19:34 -07:00
PackageOverview.md fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
React.md rm(Nilas-contact-elements): Remove unused package 2016-02-01 19:12:06 -08:00
README.md actually no more gh-pages 2015-10-05 05:08:53 -07:00
Windows.md fix(docs): fix docs so they compile properly. 2015-11-17 15:48:59 -08:00
WritingSpecs.md refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00

N1 Documentation

For the full documentation (which includes these guides), go to: https://nylas.com/N1/docs/

To see annotated package examples, go to: https://nylas.com/N1/examples/