Page MenuHomePhabricator

[lib] Handle setClientDBStoreActionType for entries
ClosedPublic

Authored by tomek on May 21 2024, 7:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 21, 5:29 AM
Unknown Object (File)
Thu, Jun 20, 7:25 PM
Unknown Object (File)
Thu, Jun 20, 5:29 PM
Unknown Object (File)
Thu, Jun 20, 5:29 PM
Unknown Object (File)
Thu, Jun 20, 5:29 PM
Unknown Object (File)
Thu, Jun 20, 5:29 PM
Unknown Object (File)
Thu, Jun 20, 5:26 PM
Unknown Object (File)
Thu, Jun 20, 4:57 PM
Subscribers

Details

Summary

Handle the action and check if the expected and processed store match

Depends on D12143

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

Test Plan

Created some entries, closed the app, killed the keyserver, opened the app, and checked if an alert with store difference wasn't shown.

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, 8:39 AM
Harbormaster failed remote builds in B29110: Diff 40477!
marcin added inline comments.
lib/reducers/entry-reducer.js
724 ↗(On Diff #40501)

If we want to proceed with this we need to postpone landing D12153

This revision is now accepted and ready to land.May 22 2024, 2:48 AM
lib/reducers/entry-reducer.js
724 ↗(On Diff #40501)

I moved it to the top of the stack

Return state from the store