Mailspring/internal_packages/preferences/stylesheets
Annie b061bf079f build(preferences): Add two buttons to the bottom of the general preferences page that clear email and clear all .nylas
Summary:
Wanted a way to reset configuration settings. I added button in N1 general preferences to remove `.nylas` folder and reboot titled 'Reset Accounts and Settings' as well as one to exclusively remove `.nylas/edgehill.db` titled 'Reset Email Cache'.

Not sure about the wording of the button descriptions.

Test Plan: Tested with different file paths on my machine. Was going to write tests, but the two buttons just call previously tested functions onClick -- rimraf and fs.unlink. Testing might be excessive?

Reviewers: bengotow, juan

Reviewed By: juan

Subscribers: juan

Differential Revision: https://phab.nylas.com/D3127
2016-07-26 16:53:45 -07:00
..
preferences-accounts.less fix(css): Fix CSS regression, remove unused assets 2016-06-03 17:01:48 -07:00
preferences-identity.less fix(pro): Add manual refresh to identity page 2016-06-13 12:06:53 -07:00
preferences-mail-rules.less 🎨(preferences): Update styling 2016-04-06 13:08:44 -07:00
preferences.less build(preferences): Add two buttons to the bottom of the general preferences page that clear email and clear all .nylas 2016-07-26 16:53:45 -07:00