Introduce hooks return tooltip actions for robotext and composed message.
Details
Details
Flow; Tested with the rest of diffs stack.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
web/chat/tooltip-utils.js | ||
---|---|---|
384–402 | Do we have a way, based on ChatMessageInfoItem, to tell whether message is composed or robotext? If that's the case, we can simplify this a lot by modifying useMessageTooltipSidebarAction to return null for robotext. But... is this logic correct? Why do we skip sidebar action for robotext but have reply action for it? Shouldn't this be the other way around? |
web/chat/tooltip-utils.js | ||
---|---|---|
384–402 | Yes, I noticed I made a mistake here - of course sidebarAction should be the one available for robotext message |