Page MenuHomePhabricator

Update db ops reducer to process notiications creation data
ClosedPublic

Authored by marcin on Aug 7 2024, 9:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 7:20 AM
Unknown Object (File)
Sat, Nov 9, 9:14 PM
Unknown Object (File)
Fri, Nov 8, 11:06 PM
Unknown Object (File)
Fri, Nov 8, 12:22 PM
Unknown Object (File)
Sun, Nov 3, 5:04 PM
Unknown Object (File)
Mon, Oct 28, 1:32 PM
Unknown Object (File)
Oct 18 2024, 5:17 PM
Unknown Object (File)
Oct 18 2024, 5:17 PM
Subscribers

Details

Summary

This differential implements the logic described in the Linear issue description: https://linear.app/comm/issue/ENG-8284/send-encrypted-notification-from-the-client-to-the-tb. This code lies foundation to automatically send e2ee notifs if relevant DMOperationSpec implements notificationsCreationData method

Test Plan

tested with the child diff

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.Aug 7 2024, 9:48 AM
Harbormaster failed remote builds in B30982: Diff 43222!
marcin requested review of this revision.Aug 7 2024, 9:51 AM

Add db ops store action to schedule notifications creation and sending. Make db ops reducer aware of this new action

Update queueDBOps to queue notificationsCreationData

lib/types/db-ops-types.js
15–16 ↗(On Diff #43675)

this is not needed, dmOpID is part of DispatchMetadata

native/redux/redux-setup.js
317–328 ↗(On Diff #43675)

see me comment below how to simplify this

web/redux/redux-setup.js
543–563 ↗(On Diff #43675)

I think this can be simplified?

This revision is now accepted and ready to land.Aug 27 2024, 10:35 AM