add localID field to reaction message type. We are going to need this to create local reaction messages which we will display optimistically
Linear Task: ENG-2519
Paths
| Differential D6117 Authored by ginsu on Dec 30 2022, 3:38 PM.
Details Summary add localID field to reaction message type. We are going to need this to create local reaction messages which we will display optimistically Linear Task: ENG-2519 Test Plan flow and will be testing more in subsequent diffs
Diff Detail
Event TimelineHerald added subscribers: atul, tomek, ashoat. · View Herald TranscriptDec 30 2022, 3:38 PM2022-12-30 15:38:12 (UTC-8) ginsu edited the summary of this revision. (Show Details)Dec 30 2022, 3:42 PM2022-12-30 15:42:28 (UTC-8) Harbormaster completed remote builds in B14986: Diff 20455.Dec 30 2022, 3:51 PM2022-12-30 15:51:39 (UTC-8) Comment Actions I wonder if this should be LocallyComposedMessageInfo. Looks like it's only use for CREATE_LOCAL_MESSAGE. Should we use that for reactions at all? Comment Actions It sounds a little strange to say that reaction message is composable, but it shares a lot of properties with other composable message types, so I think it makes sense to include it in this set. This revision now requires changes to proceed.Jan 3 2023, 9:14 AM2023-01-03 09:14:53 (UTC-8) Harbormaster completed remote builds in B15044: Diff 20524.Jan 3 2023, 9:29 AM2023-01-03 09:29:42 (UTC-8) Comment Actions Are we gonna use CREATE_LOCAL_MESSAGE for reactions? Guessing no, but I guess it didn't hurt to update LocallyComposedMessageInfo anyways This revision is now accepted and ready to land.Jan 3 2023, 10:48 AM2023-01-03 10:48:07 (UTC-8) Comment Actions
That is correct, we won't but since they share many similar properties, I figured adding it made sense Harbormaster completed remote builds in B15197: Diff 20712.Jan 9 2023, 9:53 AM2023-01-09 09:53:17 (UTC-8) Closed by commit rCOMM3de73d0da05a: [lib] add localID field to reaction message type (authored by ginsu). · Explain WhyJan 9 2023, 10:04 AM2023-01-09 10:04:58 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 20712 lib/shared/message-utils.js
lib/types/message-types.js
lib/types/messages/reaction.js
|