Page MenuHomePhabricator

[web] Add `CryptoStore` to `persistConfig.whitelist`
ClosedPublic

Authored by atul on Tue, Mar 14, 2:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 18, 9:37 AM
Unknown Object (File)
Thu, Mar 16, 7:04 PM
Unknown Object (File)
Thu, Mar 16, 2:27 AM
Unknown Object (File)
Wed, Mar 15, 8:42 PM
Unknown Object (File)
Wed, Mar 15, 8:41 PM
Unknown Object (File)
Wed, Mar 15, 4:06 PM
Subscribers

Details

Summary

We were previously excluding CryptoStore from redux-persist as we were working to avoid having to create a ton of migrations.

But now that we have primaryAccount/notificationAccount and primaryIdentityKeys/notificationIdentityKeys I think things are stable in the short term and we can start persisting.


Depends on D7081

Test Plan

Reload page and see that cryptoStore is included in REHYDRATE action:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Tue, Mar 14, 2:43 PM
This revision is now accepted and ready to land.Tue, Mar 14, 6:36 PM
ashoat added a subscriber: kamil.

FYI @kamil, another thing we'll need to move to SQLite

This revision was landed with ongoing or failed builds.Wed, Mar 15, 4:20 PM
This revision was automatically updated to reflect the committed changes.