Mailspring/internal_packages/thread-list/lib
Ben Gotow 552b66fbaf 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
..
category-removal-target-rulesets.es6 fix(remove-from-view): Fix logic for delete/remove-from-view behavior: 2016-03-07 18:16:37 -08:00
draft-buttons.cjsx feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
draft-list-columns.cjsx fix(draft-list): Display , separated participants list 2016-02-18 12:14:18 -08:00
draft-list-send-status.jsx fix(syncback): Bidirectional transforms, ready-to-send saved state 2016-03-16 19:27:12 -07:00
draft-list-store.coffee fix(syncback): Bidirectional transforms, ready-to-send saved state 2016-03-16 19:27:12 -07:00
draft-list.cjsx fix(remove-from-view): Fix logic for delete/remove-from-view behavior: 2016-03-07 18:16:37 -08:00
draft-selection-bar.cjsx fix(linter): Switching between Coffee + ES6 is hard... 2016-01-28 14:59:17 -08:00
empty-state.cjsx fix(inbox-zero): don't show inbox zero when syncing 2016-02-23 14:17:11 -08:00
focus-container.cjsx Clean up the MultiselectList implementation a bit 2016-01-15 14:26:07 -08:00
formatting-utils.cjsx feat(sidebar): add timestamps to related messages 2016-03-09 16:17:20 -05:00
main.cjsx fix(next/prev): Move buttons to correct column #1721 2016-03-15 09:16:28 -07:00
sending-cancel-button.cjsx feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
sending-progress-bar.cjsx feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
thread-buttons.cjsx fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
thread-list-columns.cjsx fix(sent): Sort sent view by most recent sent message, not received 2016-03-09 11:40:56 -08:00
thread-list-context-menu.es6 fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
thread-list-data-source.coffee feat(outbox): Sending status now appears beside drafts 2016-02-04 14:14:24 -08:00
thread-list-icon.cjsx feat(tooltip): use native tooltip style 2015-10-21 11:27:57 -07:00
thread-list-participants.cjsx fix(contact): Converge on displayName(), don't show account label in ThreadList. Fixes #1157 2016-02-01 19:12:06 -08:00
thread-list-quick-actions.cjsx fix(gmail-labels): Constraint so threads always belong to all,spam or trash 2016-03-10 14:13:31 -08:00
thread-list-scroll-tooltip.cjsx More renaming of view => data source 2016-01-14 15:04:17 -08:00
thread-list-store.coffee fix(focus): Don't clear when item is scrolled out of retained range 2016-01-29 12:34:58 -08:00
thread-list.cjsx fix(remove-from-view): Missing invocation for non-Gmail 2016-03-10 14:25:28 -08:00
thread-selection-bar.cjsx fix(linter): Switching between Coffee + ES6 is hard... 2016-01-28 14:59:17 -08:00