Mailspring/internal_packages
Drew Regitsky f1d3959591 fix(send): make send/syncback draft tasks cooperate, fix task ordering tracking
Summary:
Fixes an issue with sending where certain conditions could result in a
duplicated message.

Fixes task dependency logic for draft syncback and send. Changes `createdAt`
on tasks to instead be `sequentialId`, assigned when the task is queued, to
track order of enqueueing. Renames `isDependentTask` => `isDependentOnTask`
and adds comments for clarity.

Test Plan:
Specs updated. Might be good to add some later to test this particular
edge case.

Reviewers: juan, evan, bengotow

Reviewed By: evan, bengotow

Differential Revision: https://phab.nylas.com/D2681
2016-03-07 20:14:58 -08:00
..
account-sidebar fix(remove-from-view): Fix logic for delete/remove-from-view behavior: 2016-03-07 18:16:37 -08:00
attachments
category-picker fix(snooze): Hide N1-Snoozed from the category picker 2016-02-25 13:32:58 -08:00
composer fix(composer): fix minor spacing issue on popout composer 2016-03-02 16:06:40 -08:00
composer-emojis Bump version for node-emoji 2016-03-02 18:58:07 -08:00
composer-signature es6(*): convert 20+ source files used in example packages to ES2016 2016-02-29 18:47:22 -08:00
composer-spellcheck lint(*): correct eslint errors, warnings still exist 2016-03-01 10:58:29 -05:00
composer-templates es6(*): convert 20+ source files used in example packages to ES2016 2016-02-29 18:47:22 -08:00
composer-translate es6(*): convert 20+ source files used in example packages to ES2016 2016-02-29 18:47:22 -08:00
events
github-contact-card es6(*): convert 20+ source files used in example packages to ES2016 2016-02-29 18:47:22 -08:00
link-tracking fix(send): make send/syncback draft tasks cooperate, fix task ordering tracking 2016-03-07 20:14:58 -08:00
message-autoload-images fix(autoload-images): Bar disappears when you choose to load images 2016-03-07 18:19:17 -08:00
message-list fix(msg-ctrls): reorder hidden options to reduce accidental error reports 2016-03-07 18:24:31 -08:00
message-view-on-github es6(*): convert 20+ source files used in example packages to ES2016 2016-02-29 18:47:22 -08:00
mode-switch
notification-mailto
notification-update-available
notifications
onboarding feat(onboarding): update account-choose page 2016-03-04 16:53:26 -05:00
open-tracking fix(send): make send/syncback draft tasks cooperate, fix task ordering tracking 2016-03-07 20:14:58 -08:00
personal-level-indicators es6(*): convert 20+ source files used in example packages to ES2016 2016-02-29 18:47:22 -08:00
phishing-detection fix(phishing): Tie to MessageStore so it works when msgs aren't ready 2016-03-03 14:39:15 -08:00
plugins fix(plugin): better errors if plugins are malformed 2016-02-25 11:55:11 -08:00
preferences fix(remove-from-view): Fix logic for delete/remove-from-view behavior: 2016-03-07 18:16:37 -08:00
print 💄(print): Fix #1425 2016-02-26 14:40:16 -08:00
quick-schedule fix(error-handling): handle offline for link tracking & read-receipts 2016-02-24 16:06:08 -08:00
screenshot-mode
search-bar 💄(search): Show focus around search input 2016-03-07 18:19:17 -08:00
send-and-archive
send-later fix(date-utils): Add localization to date formats 2016-03-07 16:44:54 -08:00
sidebar-fullcontact
system-tray lint(system-tray): code style consistent with rest of file 2016-02-26 11:37:20 -05:00
theme-picker spec(theme-picker): Remove filter for theme picker spec 2016-03-06 16:37:36 -08:00
thread-list fix(remove-from-view): Fix logic for delete/remove-from-view behavior: 2016-03-07 18:16:37 -08:00
thread-snooze fix(remove-from-view): Fix logic for delete/remove-from-view behavior: 2016-03-07 18:16:37 -08:00
ui-dark
ui-light
undo-redo
unread-notifications
worker-sync fix(config): Store cursors with sync state, avoid constant config.cson writes 2016-02-26 13:52:19 -08:00
worker-ui fix(feedback): Remove feedback btn, update "N1 Help" in menu bar 2016-02-24 13:49:15 -08:00