Mailspring/internal_packages/account-sidebar
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
..
assets fix(sidebar): Swap out + image, tweak CSS for unread 2015-11-23 20:08:10 -08:00
lib refactor(folders): Make folders disappear when deleted rather than graying out until confirmed 2016-07-28 12:10:54 -07:00
spec fix(label-nesting): maintain nested labels when renaming a label 2016-06-15 16:48:26 -07:00
stylesheets fix(sidebar): fix account name styles 2016-04-28 11:45:44 -07:00
.gitignore fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00
package.json fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
README.md fix(drafts): Various improvements and fixes to drafts, draft state management 2015-02-03 16:24:31 -08:00

React version of thread list