mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-06 08:08:10 +08:00
db669fd9a9
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 |
||
---|---|---|
.. | ||
lib | ||
spec | ||
stylesheets | ||
.gitignore | ||
LICENSE.md | ||
package.json | ||
README.md |