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)
Mon, Nov 18, 4:41 PM
Unknown Object (File)
Mon, Nov 18, 2:45 PM
Unknown Object (File)
Fri, Nov 15, 7:10 PM
Unknown Object (File)
Sun, Nov 10, 3:45 PM
Unknown Object (File)
Sun, Nov 10, 9:55 AM
Unknown Object (File)
Sun, Nov 10, 9:33 AM
Unknown Object (File)
Sun, Nov 10, 4:58 AM
Unknown Object (File)
Sun, Nov 10, 1:38 AM
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