Mailspring/spec/stores
Annie 4c452aaf47 fix(downloads): Add a check to see if last download directory is different, only show item in folder if true
Summary:
Each file downloaded would open finder and show the path to the file. Users were reporting that this felt excessive when downloading multiple files all to the same location #1044. I added a check to see if the path was the same as the previous file path, and only showed the item in the folder if these differed.

Also added tests for this in file download store.

test(downloads): Add tests for showing item in folder only if lastDownloadDirectory differs

Test Plan: Added tests to file-download-store-spec

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3121
2016-07-26 15:02:09 -07:00
..
account-store-spec.coffee fix(spec): remove obsolete account store spec 2016-05-19 11:59:02 -07:00
badge-store-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
category-store-spec.es6 feat(babel6): 1,774 linter errors 2016-05-06 11:55:46 -07:00
contact-store-spec.coffee fix(mail-merge): Refactor mass sending procedure 2016-05-24 17:22:09 -07:00
database-setup-query-builder-spec.coffee perf(db): Use subselect to improve thread list query perf (53%!) 2016-04-11 13:29:05 -07:00
database-store-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
database-transaction-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
draft-editing-session-spec.coffee fix(specs): Fix merge conflicts and some specs 2016-05-24 19:04:20 -07:00
draft-factory-spec.es6 fix(lint): Fix linter issues 2016-07-21 22:53:19 -07:00
draft-helpers-spec.es6 Re-enable all tests by unfocusing the test suite (#2667) 2016-07-23 06:32:12 -07:00
draft-store-spec.es6 fix(specs): Fix DraftStore and SendManyDraftsTask specs 2016-06-10 11:32:38 -07:00
file-download-store-spec.coffee fix(downloads): Add a check to see if last download directory is different, only show item in folder if true 2016-07-26 15:02:09 -07:00
file-upload-store-spec.coffee feat(dock-icon): Drop files to attach them to new msg 2016-03-17 13:14:55 -07:00
focused-contacts-store-spec.coffee
focused-content-store-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
focused-perspective-store-spec.coffee fix(specs) 2016-05-04 11:50:54 -07:00
message-store-spec.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
nylas-sync-status-store-spec.es6 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
task-queue-spec.coffee fix(spec): fix failing draft specs 2016-06-10 11:54:47 -07:00
task-subclass.es6 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
undo-redo-store-spec.es6 fix(undo): can redo more than one undo item 2016-05-18 16:43:48 -07:00