mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
7e3aab2256
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 |
||
---|---|---|
.. | ||
base-draft-task-spec.es6 | ||
change-folder-task-spec.coffee | ||
change-labels-task-spec.coffee | ||
change-mail-task-spec.coffee | ||
change-starred-task-spec.coffee | ||
change-unread-task-spec.coffee | ||
destroy-category-task-spec.coffee | ||
destroy-model-task-spec.es6 | ||
event-rsvp-task-spec.coffee | ||
send-draft-task-spec.es6 | ||
syncback-category-task-spec.coffee | ||
syncback-draft-files-task-spec.es6 | ||
syncback-draft-task-spec.es6 | ||
syncback-model-task-spec.es6 | ||
task-spec.coffee |