Mailspring/internal_packages/preferences
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
..
lib 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
spec feat(babel6): 1,774 linter errors 2016-05-06 11:55:46 -07:00
stylesheets 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
package.json fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00