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)
Sat, Nov 16, 12:20 PM
Unknown Object (File)
Sat, Nov 16, 10:54 AM
Unknown Object (File)
Fri, Nov 15, 7:05 AM
Unknown Object (File)
Fri, Nov 8, 6:10 AM
Unknown Object (File)
Fri, Nov 8, 5:11 AM
Unknown Object (File)
Fri, Nov 1, 11:26 AM
Unknown Object (File)
Oct 24 2024, 1:40 AM
Unknown Object (File)
Oct 18 2024, 3:34 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