Mailspring/spec/tasks
Annie ea60c69fa6 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 feat(babel6): fix es6 describe function syntax 2016-05-06 11:55:20 -07:00
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 fix(tasks): Call super.isDependent, wrap model lookup in transaction 2016-05-31 16:31:24 -07:00
change-starred-task-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
change-unread-task-spec.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
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 feat(babel6): 1,774 linter errors 2016-05-06 11:55:46 -07:00
event-rsvp-task-spec.coffee rename(specs): A few more task renames 2016-03-01 17:34:36 -08:00
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 Merge branch 'master' into unified-inbox 2016-01-25 17:28:29 -08:00
syncback-draft-files-task-spec.es6 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
syncback-draft-task-spec.es6 feat(babel6): fix es6 describe function syntax 2016-05-06 11:55:20 -07:00
syncback-model-task-spec.es6 feat(babel6): fix es6 describe function syntax 2016-05-06 11:55:20 -07:00
task-spec.coffee feat(babel6): Fix errors in es6 compilation and extending from coffeescript 2016-05-06 11:55:31 -07:00