mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 10:11:25 +08:00
4d1628b914
Summary: This prevents the app from entering a restart loop when there's no identity. Specifically, when a user logs out of their identity, or when she resets the email cache, or any other scenario that leaves the app without an identity but with accounts added, the sync loop (and deltas) will start without an Identity. This will cause NylasAPIRequest to throw an error that forces the user to close the app. When the app restarts, sync will start again without an identity, and the user will be forced to close the app again, and so on and so forth for the rest of eternity Relevant error: https://github.com/nylas/nylas-mail-all/blob/master/packages/client-app/src/flux/nylas-api-request.es6#L165-L174 Additionaly, this makes sure that after resetting the email cache, the sync process starts when the identity becomes available This solves T7989 Test Plan: manual Reviewers: evan, spang, halla Reviewed By: halla Differential Revision: https://phab.nylas.com/D4212 |
||
---|---|---|
.. | ||
client-app | ||
client-sync | ||
isomorphic-core | ||
README.md |
Monorepo Packages
Each folder here is designed to act as its own repository. For development convenience, they are all included here in one monorepo. This allows us to grep across multiple codebases, not use submodules, and keep a unified commit history.
We use Lerna to manage the monorepo and tie
them all together with the main nylas-mail-all/scripts/postinstall.es6
script,
which in turn, calls lerna bootstrap