Introduced the emoji keyboard and make it render whenever renderEmojiKeyboard in the tooltip context is set to true. Also modified useMessageReactAction to return a react button instead of a like button. Will be working on improving the positioning of the emoji keyboard in a subsequent diff
Details
Details
Please watch the video below to see a demo of how the new react button works
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
Looks good, left a couple of notes inline
web/chat/message-tooltip.react.js | ||
---|---|---|
116–117 ↗ | (On Diff #21386) | Looks like this pattern is used a couple times in the codebase. Wonder if it would make sense to factor out? Outside the scope of this diff though. |
119 ↗ | (On Diff #21386) | The naming here is kind of confusing because it doesn't get trigged "onClick" anymore? Do you think there's a more descriptive name we can use here? |
147–150 ↗ | (On Diff #21386) | Personally prefer this sort of thing to keep things symmetric, but up to you. |
152–159 ↗ | (On Diff #21386) |
web/chat/message-tooltip.react.js | ||
---|---|---|
116–117 ↗ | (On Diff #21386) |