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
F3253542: D12153.id42677.diff
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
Unknown Object (File)
Fri, Nov 8, 11:46 PM
Unknown Object (File)
Sat, Nov 2, 1:17 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