HomePhabricator
Diffusion Comm bb0f4743a386

[native] Persist only lastUserInteractionCalendar from the entry store

Description

[native] Persist only lastUserInteractionCalendar from the entry store

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.

Reviewers: kamil, marcin

Reviewed By: marcin

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D12153

Details

Provenance
tomekAuthored on May 21 2024, 8:27 AM
Reviewer
marcin
Differential Revision
D12153: [native] Persist only lastUserInteractionCalendar from the entry store
Parents
rCOMM83db0123852e: [Tunnelbroker] implement creating Web Push client
Branches
Unknown
Tags
Unknown