mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 10:11:25 +08:00
f157ddb867
Summary: This commit makes it so `resetEmailCache` works as expected, i.e. it removes all databases, without forcing the user to re sign-in to their accounts or NylasID Previously, this method removed the database without removing the accounts, left users in an un-authed state that was hard to recover from. This was fixed in D4212 which makes sure that when we get a new identity, sync and deltas are restarted However, resetEmailCache would still force you to log in to yoru NylasID because it was deleted from the database. However, if we reuse the command `application:relaunch-to-initial-windows` instead of manually deleting the database, we can relaunc the app while preserving the users NylasID session, so they don't have to sign back in manually. Test Plan: manual Reviewers: evan, spang, halla Reviewed By: halla Differential Revision: https://phab.nylas.com/D4215 |
||
---|---|---|
.. | ||
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