Page MenuHomePhabricator

[lib] change the Send Reaction Message Success Payload and also change its reducer success case
ClosedPublic

Authored by ginsu on Jan 3 2023, 12:30 PM.
Tags
None
Referenced Files
F3384912: D6153.id20531.diff
Thu, Nov 28, 10:37 PM
Unknown Object (File)
Thu, Nov 28, 11:25 AM
Unknown Object (File)
Thu, Nov 28, 11:25 AM
Unknown Object (File)
Thu, Nov 28, 1:43 AM
Unknown Object (File)
Tue, Nov 26, 5:24 PM
Unknown Object (File)
Tue, Nov 26, 10:32 AM
Unknown Object (File)
Thu, Nov 7, 3:12 AM
Unknown Object (File)
Mon, Nov 4, 5:30 AM
Subscribers

Details

Summary

change the Send Reaction Message Success Payload and also change its reducer success case. The big change here is that we no longer want to use the same success case as restoreEntryActionTypes, changeThreadSettingsActionTypes, etc. With localID we can use the same success case as sendTextMessageActionTypes and sendMultimediaMessageActionTypes since we are grabbing the message info from the local message.

Also got rid of SendReactionMessagePayload since we are just using SendMessagePayload for reaction messages


Depends on D6151
Linear Task: ENG-2599

Test Plan

Please watch the demo videos to see how the redux state changes when a reaction message is successful:

Native:

Web:

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu requested review of this revision.Jan 3 2023, 12:45 PM
ginsu retitled this revision from [lib] change the Send Reaction Message Success Payload and also change its reducer case to [lib] change the Send Reaction Message Success Payload and also change its reducer success case.Jan 3 2023, 12:50 PM
ginsu edited the summary of this revision. (Show Details)
ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, tomek.
This revision is now accepted and ready to land.Jan 5 2023, 8:14 AM