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, Apr 6, 8:31 AM
Unknown Object (File)
Thu, Mar 20, 8:24 PM
Unknown Object (File)
Mon, Mar 17, 5:33 AM
Unknown Object (File)
Mar 11 2025, 2:41 PM
Unknown Object (File)
Mar 5 2025, 4:52 PM
Unknown Object (File)
Mar 2 2025, 3:27 PM
Unknown Object (File)
Feb 25 2025, 6:19 PM
Unknown Object (File)
Feb 17 2025, 10:44 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
Branch
marcin/eng-8237
Lint
No Lint Coverage
Unit
No Test Coverage

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