Page MenuHomePhabricator

[native] Persist only lastUserInteractionCalendar from the entry store
ClosedPublic

Authored by tomek on May 21 2024, 8:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 27, 11:56 AM
Unknown Object (File)
Mon, Dec 16, 5:10 PM
Unknown Object (File)
Mon, Dec 16, 5:10 PM
Unknown Object (File)
Mon, Dec 16, 5:10 PM
Unknown Object (File)
Mon, Dec 16, 5:10 PM
Unknown Object (File)
Mon, Dec 16, 5:09 PM
Unknown Object (File)
Mon, Dec 16, 5:09 PM
Unknown Object (File)
Thu, Dec 12, 1:10 PM
Subscribers

Details

Summary

We keep this field in redux-persist. EntryInfos are stored in SQLite, and daysToEntries are computed based on the entries.

Depends on D12169

https://linear.app/comm/issue/ENG-3486/move-entrystore-to-sqlite

Note: this diff should be landed when we are sure that the migration to SQLite was successful

Test Plan

Added some console logs and checked if lastUserInteractionCalendar is persisted and rehydrated.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 21 2024, 9:11 AM
Harbormaster failed remote builds in B29116: Diff 40483!
tomek requested review of this revision.May 21 2024, 1:02 PM

Accepting but for now we have to hold this diff.

This revision is now accepted and ready to land.May 22 2024, 3:01 AM