Mailspring/internal_packages/preferences/lib
Juan Tejada b29f46fdae fix(auth): Fix authentication notifications
Summary:
Depends on D3544 (K2 diff)

This commit ensures that auth notifications are showed when the
underlying sync worker fails and are cleared when an account is
successfully reconnected

To achieve this, we manually keep track and update syncStates where
appropriate via `Actions.updateAccount`, given that we have access to
N1's version of the account directly from local-sync.
Initially I was considering account delta stream to the cloud-api and the local-api, but that
just complicated things more than it helped.

This commit also fixes a bug with refreshing the gmail token in which we
we were only attempting a token refresh upon restarting the app

This addresses: T7346, T7305, T7335

Test Plan: Manual

Reviewers: halla, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D3545
2016-12-21 07:23:09 -05:00
..
tabs fix(auth): Fix authentication notifications 2016-12-21 07:23:09 -05:00
main.jsx
preferences-root.jsx fix(prefs): Only scroll to top when switching tabs 2016-11-04 11:32:14 -07:00
preferences-tabs-bar.jsx feat(undo-send): Add undo send 2016-10-26 20:40:10 -07:00