Page MenuHomePhabricator

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

Authored by atul on Mar 14 2023, 2:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 23, 8:18 AM
Unknown Object (File)
Fri, Feb 23, 8:12 AM
Unknown Object (File)
Fri, Feb 23, 7:28 AM
Unknown Object (File)
Fri, Feb 23, 6:18 AM
Unknown Object (File)
Fri, Feb 23, 6:08 AM
Unknown Object (File)
Fri, Feb 23, 2:17 AM
Unknown Object (File)
Wed, Feb 7, 9:44 PM
Unknown Object (File)
Wed, Feb 7, 9:44 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.Mar 14 2023, 2:43 PM
This revision is now accepted and ready to land.Mar 14 2023, 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.Mar 15 2023, 4:20 PM
This revision was automatically updated to reflect the committed changes.