Page MenuHomePhabricator

[lib] Create Redux store for blob holders
AcceptedPublic

Authored by bartek on Fri, Sep 20, 3:47 AM.
Tags
None
Referenced Files
F2779265: D13402.id44360.diff
Fri, Sep 20, 10:07 AM
F2779245: D13402.id.diff
Fri, Sep 20, 10:07 AM
F2779242: D13402.diff
Fri, Sep 20, 10:07 AM
F2777687: D13402.id44360.diff
Fri, Sep 20, 6:52 AM
F2777067: D13402.id.diff
Fri, Sep 20, 6:36 AM
F2776426: D13402.diff
Fri, Sep 20, 6:04 AM
Subscribers

Details

Reviewers
kamil
tomek
Summary

Address ENG-9280.
Created a store for blob holders

Created initial version of the holder store. Inspired by D12936

Test Plan

Native and web:

  • Logged out and in before applying this diff. Stayed logged in.
  • Applied this diff
  • Restarted app to make sure the migration was successful

Native log:

LOG  redux-persist: migrationKeys [83]
LOG  redux-persist: running migration for versionKey 83
LOG  redux-persist/stateReconciler: rehydrated keys 'navInfo, currentUserInfo, entryStore, messageStore, calendarFilters, dataLoaded, customServer, alertStore, watchedThreadIDs, enabledApps, reportStore, globalThemeInfo, deviceCameraInfo, userPolicies, keyserverStore, localSettings, threadActivityStore, communityStore, tunnelbrokerDeviceToken, queuedDMOperations, _persist, holderStore'

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Fri, Sep 20, 4:20 AM

Can you link the task for adding this store to SQLite? We should absolutely not be adding new O(n) to redux-persist, so this work needs to be sequenced pretty much immediately (eg. this month, or early next month). cc @kamil

This revision is now accepted and ready to land.Fri, Sep 20, 5:55 AM

Can you link the task for adding this store to SQLite? We should absolutely not be adding new O(n) to redux-persist, so this work needs to be sequenced pretty much immediately (eg. this month, or early next month). cc @kamil

Agree - looks like it's mentioned here.