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, Apr 12, 4:04 AM
Unknown Object (File)
Fri, Apr 12, 4:04 AM
Unknown Object (File)
Fri, Apr 12, 4:04 AM
Unknown Object (File)
Fri, Apr 12, 4:04 AM
Unknown Object (File)
Fri, Apr 12, 4:03 AM
Unknown Object (File)
Fri, Apr 12, 3:59 AM
Unknown Object (File)
Fri, Apr 5, 10:30 PM
Unknown Object (File)
Sun, Mar 24, 2:33 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
Branch
arcpatch-D7070_1 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

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.