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)
Sat, Nov 16, 6:06 AM
Unknown Object (File)
Sun, Nov 10, 4:00 PM
Unknown Object (File)
Sun, Nov 10, 1:53 PM
Unknown Object (File)
Sun, Nov 10, 11:57 AM
Unknown Object (File)
Sun, Nov 10, 11:02 AM
Unknown Object (File)
Sun, Nov 10, 7:20 AM
Unknown Object (File)
Sun, Nov 10, 7:02 AM
Unknown Object (File)
Sun, Nov 10, 1:38 AM
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