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
F3380078: D12833.id42693.diff
Wed, Nov 27, 8:54 PM
F3380000: D12833.id42672.diff
Wed, Nov 27, 8:26 PM
Unknown Object (File)
Sun, Nov 24, 3:48 AM
Unknown Object (File)
Sun, Nov 24, 1:38 AM
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
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