Commit Graph

4 Commits

Author SHA1 Message Date
Anton Nikolaev
5c8ab0790b Add watchman installation check
Summary: Doctor to show warning if Watchman is not available

Reviewed By: mweststrate

Differential Revision: D19298730

fbshipit-source-id: 68f915c63c5f78aad91f549aabda8d4d972f4e39
2020-01-08 01:59:57 -08:00
Anton Nikolaev
2bee021966 Do not show Doctor warning on startup for already seen problems
Summary: Doctor sometimes can show false-positives and in such case there is no way to suppress showing warning message on each startup. To reduce annoyance I've added an option to save the problems already seen by user and show the Doctor warning only for new problems.

Reviewed By: mweststrate

Differential Revision: D19187095

fbshipit-source-id: 14c1fcc9674f47fbe0b5b0f2d5d1bceb47f7b45d
2020-01-02 08:55:15 -08:00
Anton Nikolaev
d32774f439 Skip Android health-checks when the "Android Developer" option is disabled in Flipper settings
Summary:
Skip Android health-checks when the "Android Developer" option is disabled in Flipper settings.

Also made some refactoring to use immer for healthcheck reducer.

Reviewed By: mweststrate

Differential Revision: D19088322

fbshipit-source-id: 801d874b6e7e5af80802b4bf4313d98f1cee13f6
2019-12-16 16:40:08 -08:00
Pascal Hartig
008a003a4d Add tests for healthchecks reducer
Summary:
Quite a bit of complex slicing going on there, so I think
this is quite useful to guard against future breakages.

Reviewed By: jknoxville

Differential Revision: D18853033

fbshipit-source-id: 36b17b8ce208cb320a193bceed86c89e010107e4
2019-12-06 08:00:53 -08:00