Details
Details
flow, this will be further tested in a subsequent diff, and no regressions found when tested with plain message liking
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
Would we be able to pass all the arguments directly to the hook except the reactionInput? Personally feel like that would be a cleaner API
web/chat/reaction-message-utils.js | ||
---|---|---|
40 | Is it okay to remove the preventDefault() here? Doesn't look like it's being used elsewhere. |
Comment Actions
address atul's comments
web/chat/reaction-message-utils.js | ||
---|---|---|
40 | Yea, it's not being used elsewhere, and it will be irrelevant in the next diff in this stack |
Comment Actions
Would we be able to pass all the arguments directly to the hook except the reactionInput?
Was able to pass all the arguments directly except for action. This is because action uses reactionInput to figure out whether to add_reaction or remove_reaction so they need to be together