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)
Mon, Dec 16, 5:37 PM
Unknown Object (File)
Mon, Dec 16, 5:37 PM
Unknown Object (File)
Mon, Dec 16, 5:37 PM
Unknown Object (File)
Mon, Dec 16, 5:37 PM
Unknown Object (File)
Mon, Dec 16, 5:37 PM
Unknown Object (File)
Mon, Dec 16, 5:36 PM
Unknown Object (File)
Mon, Dec 16, 5:36 PM
Unknown Object (File)
Mon, Dec 16, 5:36 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
Branch
entries
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, 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