Page MenuHomePhabricator

[native] Change EditState to store messageInfo instead of only id
ClosedPublic

Authored by kuba on Apr 13 2023, 4:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 21, 4:19 PM
Unknown Object (File)
Mon, Apr 21, 6:43 AM
Unknown Object (File)
Mon, Apr 21, 12:02 AM
Unknown Object (File)
Sun, Apr 20, 2:40 AM
Unknown Object (File)
Thu, Apr 3, 3:59 PM
Unknown Object (File)
Tue, Apr 1, 8:31 AM
Unknown Object (File)
Mar 17 2025, 5:47 PM
Unknown Object (File)
Mar 17 2025, 2:45 PM
Subscribers

Details

Summary

Updated to provide messageInfo for next diff.
We need not only the id of the message but also its content. Now, we store the full messageInfo of the edited message.

Test Plan

Checked if the app still works as expected after the changes.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kuba edited the summary of this revision. (Show Details)
tomek added inline comments.
native/input/input-state.js
61

Do we use this callback?

This revision is now accepted and ready to land.Apr 14 2023, 3:23 AM
native/input/input-state.js
61

Yes, i.g. in this diff: https://phab.comm.dev/D7347 in the file native/chat/chat-input-bar.react.js line 798.