Mailspring/internal_packages/message-list
Ben Gotow db669fd9a9 feature(attachments): Inline attachments, download store does not use tasks
Summary:
This diff updates the FileDownloadStore to use it's own internal Download class instead of leveraging the TaskStore (since downloads shouldn't be resumable / serialized to disk anyway). This means things can be tighter and less dependent on Actions. Downloads are now promise-based, so actions like "open file after downloading" can be chained to the end of the Download promise.

The MessageStore now queues downloads for inline attachments when you view the thread, and the MessageItem.cjsx substitutes in local file paths for cid:<CID>.

Test Plan: I made some pretty big changes and did not break any tests. This is a bad sign... Tests forthcoming, but will probably ship this to users tomorrow first.

Reviewers: evan

Reviewed By: evan

Differential Revision: https://review.inboxapp.com/D1149
2015-02-06 13:13:31 -08:00
..
lib feature(attachments): Inline attachments, download store does not use tasks 2015-02-06 13:13:31 -08:00
spec feature(attachments): Inline attachments, download store does not use tasks 2015-02-06 13:13:31 -08:00
stylesheets feature(attachments): Inline attachments, download store does not use tasks 2015-02-06 13:13:31 -08:00
.gitignore
LICENSE.md
package.json
README.md

Tree View package Build Status

Explore and open files in the current project.

Press cmd-\ to open/close the Tree view and ctrl-0 to focus it.

When the Tree view has focus you can press a, m, or delete to add, move or delete files and folders.