Page MenuHomePhabricator

[lib] Create Redux store for blob holders
ClosedPublic

Authored by bartek on Sep 20 2024, 3:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 10:35 AM
Unknown Object (File)
Wed, Nov 20, 10:35 AM
Unknown Object (File)
Fri, Nov 8, 1:06 PM
Unknown Object (File)
Fri, Nov 1, 5:34 AM
Unknown Object (File)
Oct 22 2024, 10:40 AM
Unknown Object (File)
Oct 22 2024, 10:22 AM
Unknown Object (File)
Oct 22 2024, 10:22 AM
Unknown Object (File)
Oct 20 2024, 7:14 PM
Subscribers

Details

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.Sep 20 2024, 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.Sep 20 2024, 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.

This revision was automatically updated to reflect the committed changes.