Mailspring/internal_packages/account-sidebar/lib
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
..
components fix(sidebar): Correctly update sidebar when focusing perspective 2016-06-03 15:10:08 -07:00
account-commands.coffee fix(sidebar): Correctly update sidebar when focusing perspective 2016-06-03 15:10:08 -07:00
main.coffee fix(sidebar): Handle edge cases for sidebar shortcuts 2016-02-05 14:25:07 -08:00
sidebar-actions.coffee feat(perspective): Restore through NylasEnv.savedState 2016-02-05 18:36:48 -08:00
sidebar-item.coffee refactor(folders): Make folders disappear when deleted rather than graying out until confirmed 2016-07-28 12:10:54 -07:00
sidebar-section.coffee fix(label-nesting): maintain nested labels when renaming a label 2016-06-15 16:48:26 -07:00
sidebar-store.coffee fix(sidebar): Properly update sidebarAcctIds when all accts removed 2016-06-06 15:08:10 -07:00