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
Unknown Object (File)
Thu, Nov 7, 3:12 AM
Unknown Object (File)
Mon, Nov 4, 5:30 AM
Unknown Object (File)
Mon, Nov 4, 5:30 AM
Unknown Object (File)
Mon, Nov 4, 5:30 AM
Unknown Object (File)
Mon, Nov 4, 5:07 AM
Unknown Object (File)
Mon, Oct 28, 8:21 AM
Unknown Object (File)
Oct 12 2024, 10:07 PM
Unknown Object (File)
Oct 12 2024, 8:47 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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