Details
Please watch the demo video below to see how messages with reactions look like
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
native/chat/composed-message.react.js | ||
---|---|---|
149 ↗ | (On Diff #19156) | At some point we should rename this to InlineEngagement to better reflect that it includes reactions |
native/chat/composed-message.react.js | ||
---|---|---|
149 ↗ | (On Diff #19156) | It seems like we had a component named like that e.g. D4115 but the diffs were abandoned for some reason. |
native/chat/inline-sidebar.react.js | ||
45 ↗ | (On Diff #19156) | If additions and removals of reaction sum up to zero we shouldn't show them. |
50 ↗ | (On Diff #19156) | I don't think we can simply take a length when we allow removing a reaction. |
Could you share a screenshot with a case where multiple people liked a message?
native/chat/inline-sidebar.react.js | ||
---|---|---|
29 ↗ | (On Diff #19299) | $ReadOnlyMap |
51 ↗ | (On Diff #19299) | For multiple reactions we would probably need to sort it in a way that is consistent between different messages. But we can worry about it later. |
55–57 ↗ | (On Diff #19299) | It looks ok for one reaction, but we don't separate multiple reactions with spaces. |
Let's pull out the logic in reactionList to a helper function (probably in lib since I think this logic will also be needed on web?)
native/chat/inline-sidebar.react.js | ||
---|---|---|
50–64 ↗ | (On Diff #19336) | Can we pull this logic out into a helper function? Presumably we're going to need the same function on web, can we move this to lib. |