Mailspring/internal_packages/link-tracking/lib
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
..
link-tracking-button.jsx fix(link/open tracking): Remove intermediate metadata states, extra db lookup, dead code 2016-02-25 12:54:18 -08:00
link-tracking-composer-extension.es6 fix(send): make send/syncback draft tasks cooperate, fix task ordering tracking 2016-03-07 20:14:58 -08:00
link-tracking-constants.es6 fix(plugins): Change server URLs for open/link tracking to final values 2016-02-24 16:29:12 -08:00
link-tracking-message-extension.es6 Match only valid URLs for link tracking 2016-03-03 13:46:41 -08:00
main.es6 fix(link/open tracking): Update error messages 2016-02-25 13:32:59 -08:00