Page MenuHomePhabricator

[lib][web][native] Create message search store ops
ClosedPublic

Authored by inka on Jul 22 2024, 2:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 12:50 PM
Unknown Object (File)
Fri, Dec 6, 7:39 PM
Unknown Object (File)
Fri, Nov 29, 1:06 AM
Unknown Object (File)
Wed, Nov 27, 8:54 PM
Unknown Object (File)
Wed, Nov 27, 8:26 PM
Unknown Object (File)
Nov 24 2024, 3:48 AM
Unknown Object (File)
Nov 24 2024, 1:38 AM
Unknown Object (File)
Nov 16 2024, 12:20 PM
Subscribers

Details

Summary

issue: ENG-8647

Test Plan

Tested by removnig the extractKeyserverIDFromIDOptional(messageInfo.threadID) condition from getMessageSearchStoreOps. Tested that on web and native if replace message ops are present, update ops are created for the search table, and updateMessageSearchIndex is called

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.Jul 22 2024, 2:12 AM
Harbormaster failed remote builds in B30557: Diff 42604!
inka requested review of this revision.Jul 22 2024, 3:12 AM
tomek added inline comments.
lib/handlers/db-ops-handler.react.js
89–96 ↗(On Diff #42604)

I'm not sure where's the best place to put this logic. DBOpsHandler wasn't supposed to understand the content of the ops. db-ops-reducer.js could be a better place, because reducers handle business logic. What do you think?

This revision is now accepted and ready to land.Jul 22 2024, 5:01 AM

Move code to db-ops-reducer.js