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)
Tue, Nov 26, 2:35 PM
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
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
No Lint Coverage
Unit
No Test Coverage

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