Mailspring/spec/tasks
Annie 7e3aab2256 refactor(folders): Make folders disappear when deleted rather than graying out until confirmed
Summary:
When testing we thought that Deleting a folder turns it grey but keeps it in the folder list; trying again throws this error.
It turns out, that the folder was actually going to be deleted if left alone long enough, however, since it sat there grey for a while
we would attempt to delete it again which would throw an error. To get around this, we removed the isDeleted grey state and
unpersisted the folder right when delete is clicked then persisted the folder if there was an API error.

fix(folders): Add new and extend destroy category task specs

Test Plan: I tested locally, tweaked destroy category task specs and added minor new specs

Reviewers: bengotow, juan

Reviewed By: juan

Subscribers: bengotow, juan

Differential Revision: https://phab.nylas.com/D3131
2016-07-28 12:10:54 -07:00
..
base-draft-task-spec.es6
change-folder-task-spec.coffee fix(undo): Improve messaging around label changes, modernize undo-redo-store 2016-06-01 14:36:57 -07:00
change-labels-task-spec.coffee fix(undo): Improve messaging around label changes, modernize undo-redo-store 2016-06-01 14:36:57 -07:00
change-mail-task-spec.coffee
change-starred-task-spec.coffee
change-unread-task-spec.coffee
destroy-category-task-spec.coffee refactor(folders): Make folders disappear when deleted rather than graying out until confirmed 2016-07-28 12:10:54 -07:00
destroy-model-task-spec.es6
event-rsvp-task-spec.coffee
send-draft-task-spec.es6 Implement a participant cap for multi-send, add multi-send unit tests 2016-07-21 11:36:45 -07:00
syncback-category-task-spec.coffee
syncback-draft-files-task-spec.es6
syncback-draft-task-spec.es6
syncback-model-task-spec.es6
task-spec.coffee